WO1997025672A2 - A method and system for synchronizing concurrent sequential processes by means of intra-process update operations and inter-process adapt operations - Google Patents

A method and system for synchronizing concurrent sequential processes by means of intra-process update operations and inter-process adapt operations Download PDF

Info

Publication number
WO1997025672A2
WO1997025672A2 PCT/IB1996/001411 IB9601411W WO9725672A2 WO 1997025672 A2 WO1997025672 A2 WO 1997025672A2 IB 9601411 W IB9601411 W IB 9601411W WO 9725672 A2 WO9725672 A2 WO 9725672A2
Authority
WO
WIPO (PCT)
Prior art keywords
adapt
operations
channel
update
subset
Prior art date
Application number
PCT/IB1996/001411
Other languages
French (fr)
Other versions
WO1997025672A3 (en
Inventor
Henricus Bernardus Maria Jonkers
Original Assignee
Philips Electronics N.V.
Philips Norden Ab
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Philips Electronics N.V., Philips Norden Ab filed Critical Philips Electronics N.V.
Priority to DE69614671T priority Critical patent/DE69614671T2/en
Priority to JP9525022A priority patent/JPH11502350A/en
Priority to EP96939281A priority patent/EP0813710B1/en
Publication of WO1997025672A2 publication Critical patent/WO1997025672A2/en
Publication of WO1997025672A3 publication Critical patent/WO1997025672A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores

Definitions

  • the invention relates to a method for synchronizing concurrent sequential processes by means of assigning intra-process update operations and assigning inter-process adapt operations.
  • Each process can execute a sequence of steps, wherein each step may lead to amending internal state variables, and also to actions on the communication structures between the process in question and one or more other processes.
  • Each such step or action should appear to another process as being atomic: any intermediate state between the initial and the final state of the step should be invisible to all other processes.
  • the invention is characterized by forming at least one subset having an associated plurality from the interactive processes, assigning to the subset an associated I/O channel and to each process of the subset a part of that channel, in that each inter-process operation comprises a first collection of access operations for exchanging information between an associated process of the subset and its in-channel part, and a second collection of adapt operations for in-channel moving of information between the respective parts assigned to the processes of the subset, which adapt operations are each synchronous with a respective receiving process.
  • each inter-process operation comprises a first collection of access operations for exchanging information between an associated process of the subset and its in-channel part, and a second collection of adapt operations for in-channel moving of information between the respective parts assigned to the processes of the subset, which adapt operations are each synchronous with a respective receiving process.
  • any change effected by a first process to a channel state of its in-channel part causes an update operation signalling, to render a subsequent adapt operation pending.
  • This renders the steps of a process atomic by definition.
  • the signalling process maintains a table of all update operations signalled by it; the process that receives the adapt signalling, likewise maintains a table of all signallings so received.
  • the purpose of an update operation is to make the local changes to an I/O channel visible to adapt operations, and signal the adapt operations to other processes connected to the relevant channel(s) such that they can adapt to the changed channel state for so effecting synchronization.
  • the adapt- and-update mechanism is built into the I/O channels that connect the various processes. Thereby, these processes can be rendered invisible to a process designer.
  • a process terminates its action sequence atomicity by executing any of three synchronizing operators: commit, sync, or wait.
  • three synchronizing operators discussed hereinafter.
  • the inventor has found that these three operators allow an extremely elementary organization for implementing synchronization primitives, which express the conditions in terms of local variables only.
  • the method has a compound operator next that executes all pending update operations in a single atomic action, followed by executing all pending adapt operations of a current process.
  • This scheme provides full condition synchronization for arbitrary conditions that are formulated in terms of local variables and communication structures, which represents a fine operational feature.
  • the invention also relates to a system for effecting synchronization according to the method recited supra. Further advantageous aspects of the invention are recited in dependent Claims.
  • Figure 1 is a block diagram of a complex multiprocess system
  • Figure 2 symbolizes separating of access and synchronization
  • Figure 3 symbolizes inter-process adapt operations
  • Figure 4 shows a conceptually elementary remote eye component
  • Figure 5 shows a component counter
  • Figure 5a is a variation on Figure 5;
  • Figure 6 symbolizes adapt and update operations in time
  • Figure 7 gives a spatial image of adapt operations
  • FIG. 8 illustrates disabling of adapt operations
  • Figure 9 shows the adapt/update scheme.
  • Figure 1 is an exemplary block diagram of a complex multiprocessor multiprocessing system as disclosed in US Patent 4,769,771. Reducing the amount of facilities shown is feasible for therein implementing an embodiment of the present invention.
  • the system as shown has three stations 22, 24, 26, of which only the last one has been shown in detail. They are interconnected by bus 20.
  • Station 26 has two processors 34, 36, local storage in blocks 38, 40, 42, bus interface 30 with external attachment 28, and internal bus 32.
  • Memory block 38 is assigned to superprocess 74 that comprises processes 80, 82.
  • the on-memory mapping of any process or superprocess can be conventional, and for clarity the processes have been shown by interrupted lines.
  • Memory block 38 has bus interface 44.
  • Present-day computer-oriented hardware is rendered functional for a particular purpose only through specifying the workings thereof by an ever-increasing amount of appropriate software, that fits both to the hardware and to the intended application functionality.
  • software is of the multiprocessing type, inasmuch as this allows reusability of the various software modules, mutual interfacing between the modules on a manageable level of complexity, sharing of programming effort over multiple persons, and easier checking for errors. It has been found necessary to specify the various modules according to a straightforward methodology, in order to guarantee reliability, consistency, and maintainability. Relevant art is disclosed in H.B.M. Jonkers, Overview of the SPRINT Method, Proceedings of the Formal Methods Europe Conference 1993 and published in Lecture Notes on Computer Science, No.
  • Figure 2 symbolizes separating of access and synchronization by means of an I/O channel between processes 102 and 108 that are symbolized as blocks.
  • Shaded regions 100, 106 indicate the respective processes and their direct environments. Such environment contains all variables that are directly accessible by the process in question, without the necessity for undertaking a communication operation.
  • Arrows 110, 112 indicate self- generated process state transitions or steps. Generally, any transition is synchronized with the receiving process that has the small half circle drawn therein.
  • the process pair has an I/O channel 104 assigned thereto. Now, the access to and synchronization inside the I/O channel are strictly separated.
  • Each I/O channel provides a collection of access operations, allowing the associated process to read from or to write into the channel in a way that is non-blocking and non-interfering with respect to one or more other processes.
  • the channel may be a structure that interconnects more than two processes, while a pair or other subset of processes may be connected by a plurality of channels in parallel.
  • each I/O channel provides a collection of synchronizing adapt operations, that move information from one process connected to the channel to another process also connected to the channel, whilst restricting to the channel.
  • a step of a process therewith comprises a sequence of two types of actions: first internal process state transitions, including operations on I/O channels, are executed.
  • the signalled update operations are executed with respect to the I/O channels, and adapts are signalled to the other process in question.
  • the other process subsequently executes the adapt operations so signalled.
  • a process can explicitly terminate the atomicity of a sequence of actions which will generally lead to executing one or more adapt operations.
  • the Figure shows the three types of transitions: state transitions 104, access operations 114, and adapt operations 116.
  • Adapt operations are the atomic synchronizing actions.
  • An adapt operation moves information from a sender process connected to a particular I/O channel to the other receiver process connected to the same I/O channel.
  • the execution of the adapt operation is synchronized with the receiver, and non-interfering with the sender.
  • An adapt operation is signalled by the sender process for execution to the receiver process, to wake up the latter.
  • This feature makes an adapt operation pending at the receiver process: the receiver process keeps a table of all adapt operations signalled to it.
  • a second signalling mechanism is provided, as discussed earlier.
  • an update operation is signalled, which makes the updat operation pending at the process P.
  • the signalling process keeps a table of all update operations signalled by it.
  • the purpose of the update operation is to render the local changes to an I/O channel visible to adapt operations, and signal the adapt operations to the processes connected to the channel such that they may adapt or synchronize to the changed state of the channel.
  • a process can control the atomicity of a sequence of its actions by executing one of three synchronization operators: COMMIT, SYNC, and WAIT.
  • the operators are as follows, being defined as Macros in C.
  • COMMIT is used for terminating atomicity, it executes all pending update operations of the current process in a single atomic action. This makes the internal state transition performed by the process visible to the external world as an atomic action, i.e. it 'commits' the internal state transition.
  • SYNC lets the process synchronize to the outer world, it executes all pending adapt operations of the current process as individual atomic actions. This renders state transitions in the external world visible to the process, i.e. the process 'synchronizes' with the external world.
  • WAIT lets the process wait for the reception of an adapt signalling, it blocks the current process until there is at least one pending adapt. If there are already pending adapts, the process simply continues.
  • NEXT operates like
  • AWAIT(X) executes the above operator NEXT, and subsequently evaluates X.
  • the process continues. Otherwise, the process remains blocked until a next adapt signal is received.
  • first X is re-evaluated, etc.
  • X is an expression formulated as arbitrary conditions in terms of local variables and communication structures, and which returns a boolean result, the latter operator provides full condition synchronization.
  • Figure 3 generally symbolizes inter-process adapt operations.
  • process communication herein is as follows. If process PI wants to send data to process P2, PI may signal that a communication action, called an adapt operation, should be performed with respect to P2.
  • Process PI is called the sender and P2 the receiver of the adapt operation.
  • the purpose of an adapt operation is to move information from the domain of the sender to the domain of the receiver.
  • processes show as darker ellipses, that may contain various tasks or subprocesses to be executed shown as smaller ellipses, and may interact by means of adapt operations shown as arrows. Processes do not execute adapt operations themselves, because untimely execution may cause undesired interference with other processes.
  • FIG. 4 shows a conceptually elementary remote eye component.
  • the component is accessed by an internal process 'control' and by an external process.
  • the external process puts keys or codes in a local buffer in its own domain through the rem_press operation.
  • This operation can be seen as an interrupt service routine that is called whenever a key is received.
  • the operation will signal to the run-time system that the adapt operation rem adapt should be executed.
  • the adapt operation will be executed by the run ⁇ time system 'as soon as possible', making sure that no interference exists between the internal and external processes. Executing the adapt operation will have the effect of moving the key from the domain of the external process to the domain of the control process.
  • the run-time system will activate the (task of) the control process, which handles the event using the rem_event operation.
  • the latter will typically read the key from the buffer in the domain of the control process.
  • the rem init transformer is meant for one-time use at system initialisation time. It initialises variables in both domains, which is the reason that it does not belong to any of the two process domains shown.
  • Figure 5 shows a component counter, as an exemplary embodiment for synchronizing two processes. Synchronizing among more than two processes differs therefrom to a limited extent only: the update signals are sent from the originating process to all other processes that should synchronize. The adapt operations are however fully independent from each other.
  • the example serves to illustrate the use of the signalling and synchronization mechanisms.
  • the example consists of a counter that can be accessed asynchronously by two processes, processl and process2. Processl can increment the counter by means of the operation 'up', and process2 can observe the value of the counter using the operation 'count'.
  • the counter is initialized at zero.
  • Process2 does not directly observe the value of the counter as changed by processl, but rather observes a private copy that is kept up to date by the adapt operation 'adapt'.
  • the adapt operation is signalled as soon as the value of the counter is changed by processl (using an 'up' operation).
  • the adapt operation should be executed before the next step of process2, so that process2 is kept up to date with respect to the value of the counter.
  • the operation 'up' is an atomic action that can be used as building block for its steps.
  • the *steps* of processl are the atomic operations and not such operations such as 'up' (which are internal to processl). This implies that process2 may only observe the value of the counter at the end of a complete step of processl; it should not be able to observe any intermediate value due to internal action of processl. for example, if processl would consist of the following code:
  • variable countO in the domain of processl that contains the internal value of the counter as observed by processl
  • variable countl that contains the value of the counter at the end of the last complete step of processl
  • the latter variable acts as the 'adapt variable' that is used by 'adapt' to update process2's perception of the counter value, which is represented by a third variable count2.
  • the latter is 'updated' by processl at the end of its step when performing a COMMIT (see above).
  • the counter contains three state variables:
  • 'Count' is the operation used by process2 to read the value of the counter. Its value is identical to that of the state variable 'count2', as implemented by:
  • the 'up' operation increments the counter in the domain of processl.
  • the effect of 'up' should not be directly visible to process2, which is achieved by making processl increment countO (instead of countl), and signalling that an operation 'update' should be executed at the end of the step of processl.
  • processl should update countl and signal 'adapt' to process2. This leads to the following implementation of 'up':
  • 'u_signal( update )' makes 'update' pending at the process executing the 'up' operation, i.e. processl.
  • the purpose of the 'update' operation is to make the changed value of the internal variable countO in the domain of processl visible to process2 by copyin it to countl and signalling to process2 that it should execute the 'adapt' operation to become aware of the changed value of the counter, giving rise to the following implementation of th 'update' operation:
  • a signaK adapt, process2 makes 'adapt' pending at process2.
  • the operation 'adapt' when executed by process2 immediately before its next step, should take care that process2 synchronizes with the modified value of the counter by copying the value of countl to count2:
  • the execution of all pending update operations should be a single atomic action, and the execution of each individual adapt operation (by SYNC) should be an atomic action as well, which can be achieved in several ways. Interrupts or preemption can be switched off temporarily, or a special semaphore, called the 'adapt semaphore' can b introduced in each process, which can be used to protect access to the adapt variables of the process.
  • 'sema(p)' denotes the adapt semaphore of process p
  • WAIT(s) and SIGNAL(s) are the wait and signal operations, respectively, on semaphore s.
  • WAIT block until there is a pending adapt operation in the current process
  • processl executes an infinite loop in which it performs some local actions indicated by the ellipses defined, and increments the counter twice, after which it performs a NEXT operation.
  • the NEXT operation makes the new value of the counter visible to the external world and makes processl synchronize with any observable changes in the external world, assuming that the process is connected to other I/O channels as well.
  • Process2 executes an infinite loop as well, in which it reads the value of the counter and waits until the counter has been incremented by at least a value 10, after which it performs some local actions, indicated by the ellipses defined.
  • the counter values read by process2 are always even, so the assertion in the 'assert' statement will always be true.
  • Figure 5a is a variation on Figure 5, wherein the associated expressions are as follows:
  • Figure 6 symbolizes adapt and update operations in time according to the invention.
  • line PI comprises the internal actions inside process PI; line P2 the same for process P2.
  • the adapt operation in process P2 is always effected immediately after execution of a step in process P2.
  • send-adapt operations are synchronized with the receiver rather than with the sender.
  • the above solves half of the problem. The other half is to avoid interference between the adapt operation and the sender process PI.
  • the organization as depicted looses synchronization between the adapt operation and the steps of process PI.
  • the following three requirements should be met by the application, and are sufficient for avoiding interference between the adapt operation and the steps in process PI:
  • the variables in the domain of PI that are read by the adapt operation always have values that are consistent with the state of process PI immediately after its latest completed step. 2.
  • the variables in the domain of process PI that are written by the adapt operation are not read by process PI .
  • the variables in PI, that are accessed (either read or write) by the adapt operation are called the adapt variables of A.
  • A has exclusive access to the adapt variables of A, which may be effected with semaphores.
  • the first requirement makes sure that the effects of internal variations within PI are invisible to the outer world.
  • the second requirement makes sure that the effects of actions by the outer world (such as adapt) are invisible to the internal actions in PI .
  • the third requirement avoids that a state transition in PI would be 'committed' in the middle of executing an adapt. A consequence is that adapt operations should be kept as brief as possible.
  • the simplest way to satisfy the second requirement is not to let the adapt operation modify variables in the domain of PI, but to have it copy information from the domain of PI to P2 only. This is overly restrictive as explained with reference to the discussion of Figures 5, 6. See especially the adapt operation rem adapt, that writes to the variable keyO, which variable is not read by the (external) sender process of rem_adapt. Whether the second requirement is indeed fulfilled, can usually be determined from the specification of the shared component in which the adapt operation occurs, as exemplified by rem adapt.
  • the first and third requirements relate purely to implementation and can in principle always be satisfied.
  • Figure 7 gives a spatial image of adapt operations.
  • Requirement #1 supra implies that when PI executes a step S during execution of A, then the adapt variables in the domain of PI should be consistent with the state of PI immediately before the execution of S. After step S has been completed, the adapt variables must be 'updated', if necessary, to reflect the state immediately after the execution of S. In other words, the moment of executing the 'update', coincides with the commitment time of the state transition represented by the step, as shown in Figure 7.
  • Figure 8 illustrates disabling of adapt operations.
  • an adapt operation is specified as a normal state transformer that may succeed or fail, dependent on the value of its precondition when it is executed.
  • failure means the absence of any effect of the adapt. Since an adapt operation is signalled at the moment its precondition becomes true, in principle it is possible to implement only the success behaviour of the operation, in that the precondition is not tested.
  • an unsafe situation occurs, in that the adapt operation is signalled at the end of stepl , but in process P2 delayed until such time when the next stepl has already been executed completely, which may make the precondition false. Execution of the adapt should have no effect now, otherwise the implementation would be inconsistent with the specification which indicates that the adapt fails. Such unsafe situations are avoided by implementing the precondition of an adapt operation as an explicit test. If the precondition is false, the adapt operation should have no effect.
  • Figure 9 shows a generalized adapt update scheme.
  • the general scheme to make processes communicate and synchronized can be characterized as follows:
  • a process P may signal that an update operation should be performed immediately after its step has been completed
  • a process P may signal to another process Q, that before the next step of Q an adapt operation should be performed;
  • the executing of adapt and update operations is taken care of by the synchronization primitives.
  • An example is shown in Figure 9, wherein two adapt operations adapt 1 and adapt2 are signalled by the steps of two respective processes PI and P2 to a receiver process P3 and are executed immediately before the next step3 of P3.
  • two update operations update 1 and update2 are signalled during the execution of step 3 of process P3, and executed immediately after the end of step3.
  • the executing of the update operations is part of the step3 in question, since the update operations 'commit' the state transition made by the step. This is the reason that the thick line representing their execution is immediately joined to the thick line representing the execution of the step itself.
  • update and adapt operations should be extremely short. The reason is that they must have exclusive access to the adapt variables of the process, which may for example be achieved by using semaphores, or less favourably, by disabling interrupts. In either case, running processes may have to be suspended. So, update and adapt operations should not copy large blocks of data. Rather than copying data, they should execute data moves exclusively by changing associated pointers.

Abstract

Concurrent sequential processes synchronize by intra-process amend operations and inter-process operations. To each interactive subset of processes a part of an associated I/O channel is assigned. Each inter-process operation includes one or more update operations for exchanging information between an associated process of the pair and its in-channel part, and also one or more adapt operations for in-channel moving of information between the respective parts assigned to the processes of the pair.

Description

A method and system for synchronizing concurrent sequential processes by means of intra- process update operations and inter-process adapt operations.
BACKGROUND TO THE INVENTION
The invention relates to a method for synchronizing concurrent sequential processes by means of assigning intra-process update operations and assigning inter-process adapt operations. Each process can execute a sequence of steps, wherein each step may lead to amending internal state variables, and also to actions on the communication structures between the process in question and one or more other processes. Each such step or action should appear to another process as being atomic: any intermediate state between the initial and the final state of the step should be invisible to all other processes.
In particular, it should be possible to define steps that access local state variables and/or I/O channels, whilst maintaining atomicity of these steps. It should also be possible to achieve condition synchronization by putting constraints on the mutual order between executing steps of different processes, based on arbitrary conditions formulated in terms of the local state variables and I/O channel contents of a particular process.
SUMMARY TO THE INVENTION
Therefore, amongst other things it is an object of the present invention to maintain such atomicity and also to retain such mutual order when required. Now, according to one of its aspects, the invention is characterized by forming at least one subset having an associated plurality from the interactive processes, assigning to the subset an associated I/O channel and to each process of the subset a part of that channel, in that each inter-process operation comprises a first collection of access operations for exchanging information between an associated process of the subset and its in-channel part, and a second collection of adapt operations for in-channel moving of information between the respective parts assigned to the processes of the subset, which adapt operations are each synchronous with a respective receiving process. The conceptual separation so presented can be maintained in a straightforward manner.
Relevant art on the use of low-level semaphoring has been described in US Patent 3,997,875 to the present assignee. This art preserves the above atomicity only for a very particular purpose. Another earlier solution for maintaining condition synchronization is by means of so-called condition variables, that must become true to bring a particular synchronizing operation into action. A known manner to combine the two above features is through communication structures such as mailboxes between concurrent processes, that have been disclosed in US Patent 4,769,771 assigned to the present assignee. Such mailbox encapsulates a set of variables that are shared by two of the processes. The present invention however provides adequate and generally applicable solutions for problems that could not be solved by the prior art.
Advantageously, any change effected by a first process to a channel state of its in-channel part causes an update operation signalling, to render a subsequent adapt operation pending. This renders the steps of a process atomic by definition. In particular, the signalling process maintains a table of all update operations signalled by it; the process that receives the adapt signalling, likewise maintains a table of all signallings so received. The purpose of an update operation is to make the local changes to an I/O channel visible to adapt operations, and signal the adapt operations to other processes connected to the relevant channel(s) such that they can adapt to the changed channel state for so effecting synchronization. The adapt- and-update mechanism is built into the I/O channels that connect the various processes. Thereby, these processes can be rendered invisible to a process designer.
Advantageously, a process terminates its action sequence atomicity by executing any of three synchronizing operators: commit, sync, or wait. Thus, the only way for a process to control the executing of adapt operations is through the synchronization operators discussed hereinafter. The inventor has found that these three operators allow an extremely elementary organization for implementing synchronization primitives, which express the conditions in terms of local variables only.
Advantageously, the method has a compound operator next that executes all pending update operations in a single atomic action, followed by executing all pending adapt operations of a current process. This scheme provides full condition synchronization for arbitrary conditions that are formulated in terms of local variables and communication structures, which represents a fine operational feature.
The invention also relates to a system for effecting synchronization according to the method recited supra. Further advantageous aspects of the invention are recited in dependent Claims.
BRIEF DESCRIPTION OF THE DRAWING
These and other aspects and advantages of the invention will be discussed in detail with reference to preferred embodiments disclosed hereinafter, and in particular with reference to the appended Figures wherein:
Figure 1 is a block diagram of a complex multiprocess system;
Figure 2 symbolizes separating of access and synchronization; Figure 3 symbolizes inter-process adapt operations;
Figure 4 shows a conceptually elementary remote eye component;
Figure 5 shows a component counter;
Figure 5a is a variation on Figure 5;
Figure 6 symbolizes adapt and update operations in time; Figure 7 gives a spatial image of adapt operations;
Figure 8 illustrates disabling of adapt operations;
Figure 9 shows the adapt/update scheme.
CONCEPTUAL DISCLOSURE For background, Figure 1 is an exemplary block diagram of a complex multiprocessor multiprocessing system as disclosed in US Patent 4,769,771. Reducing the amount of facilities shown is feasible for therein implementing an embodiment of the present invention. The system as shown has three stations 22, 24, 26, of which only the last one has been shown in detail. They are interconnected by bus 20. Station 26 has two processors 34, 36, local storage in blocks 38, 40, 42, bus interface 30 with external attachment 28, and internal bus 32. Memory block 38 is assigned to superprocess 74 that comprises processes 80, 82. The on-memory mapping of any process or superprocess can be conventional, and for clarity the processes have been shown by interrupted lines. Memory block 38 has bus interface 44. It contains code assigned to process 80 in block 62, code assigned to process 8 in block 64, shared data in block 56, and mailbox facility 50 for superprocess 74. The set-up for superprocesses 76, 78, and associated hardware and processes compare to that of superprocess 74. According to the reference, inter-process communication is organized by means of the mailboxes. No further detailing is deemed necessary here.
Present-day computer-oriented hardware is rendered functional for a particular purpose only through specifying the workings thereof by an ever-increasing amount of appropriate software, that fits both to the hardware and to the intended application functionality. Generally, such software is of the multiprocessing type, inasmuch as this allows reusability of the various software modules, mutual interfacing between the modules on a manageable level of complexity, sharing of programming effort over multiple persons, and easier checking for errors. It has been found necessary to specify the various modules according to a straightforward methodology, in order to guarantee reliability, consistency, and maintainability. Relevant art is disclosed in H.B.M. Jonkers, Overview of the SPRINT Method, Proceedings of the Formal Methods Europe Conference 1993 and published in Lecture Notes on Computer Science, No. 670, pp 403-427, Springer 1993. A basic language COLD is used therein for describing systems in an abstract manner without necessitating the specifying of an implementation. The SPRINT methodology allows for an easy way to subsequently implement such systems. A specific solution based on SPRINT has been disclosed in EP 95202615.1, corresponding US Patent Application Serial No. 08/...,... (PHN 15469, P. Thijssen) to the present assignee.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
Figure 2 symbolizes separating of access and synchronization by means of an I/O channel between processes 102 and 108 that are symbolized as blocks. Shaded regions 100, 106 indicate the respective processes and their direct environments. Such environment contains all variables that are directly accessible by the process in question, without the necessity for undertaking a communication operation. Arrows 110, 112 indicate self- generated process state transitions or steps. Generally, any transition is synchronized with the receiving process that has the small half circle drawn therein. The process pair has an I/O channel 104 assigned thereto. Now, the access to and synchronization inside the I/O channel are strictly separated. Each I/O channel provides a collection of access operations, allowing the associated process to read from or to write into the channel in a way that is non-blocking and non-interfering with respect to one or more other processes. In principle, the channel may be a structure that interconnects more than two processes, while a pair or other subset of processes may be connected by a plurality of channels in parallel. Also, each I/O channel provides a collection of synchronizing adapt operations, that move information from one process connected to the channel to another process also connected to the channel, whilst restricting to the channel. A step of a process therewith comprises a sequence of two types of actions: first internal process state transitions, including operations on I/O channels, are executed. Next, the signalled update operations are executed with respect to the I/O channels, and adapts are signalled to the other process in question. This makes the first transitions by definition atomic. The other process subsequently executes the adapt operations so signalled. Using the synchronizing operators recited below, a process can explicitly terminate the atomicity of a sequence of actions which will generally lead to executing one or more adapt operations. The Figure shows the three types of transitions: state transitions 104, access operations 114, and adapt operations 116.
Adapt operations are the atomic synchronizing actions. An adapt operation moves information from a sender process connected to a particular I/O channel to the other receiver process connected to the same I/O channel. The execution of the adapt operation is synchronized with the receiver, and non-interfering with the sender. An adapt operation is signalled by the sender process for execution to the receiver process, to wake up the latter.
This feature makes an adapt operation pending at the receiver process: the receiver process keeps a table of all adapt operations signalled to it. In order to guarantee that the net effect of the changes made to the states of the various I/O channels becomes visible to other processes only at the end of an atomic action, a second signalling mechanism is provided, as discussed earlier. Whenever a process P changes the state of an I/O channel, an update operation is signalled, which makes the updat operation pending at the process P. The signalling process keeps a table of all update operations signalled by it. The purpose of the update operation is to render the local changes to an I/O channel visible to adapt operations, and signal the adapt operations to the processes connected to the channel such that they may adapt or synchronize to the changed state of the channel.
A process can control the atomicity of a sequence of its actions by executing one of three synchronization operators: COMMIT, SYNC, and WAIT. The operators are as follows, being defined as Macros in C.
COMMIT; is used for terminating atomicity, it executes all pending update operations of the current process in a single atomic action. This makes the internal state transition performed by the process visible to the external world as an atomic action, i.e. it 'commits' the internal state transition.
SYNC; lets the process synchronize to the outer world, it executes all pending adapt operations of the current process as individual atomic actions. This renders state transitions in the external world visible to the process, i.e. the process 'synchronizes' with the external world. WAIT; lets the process wait for the reception of an adapt signalling, it blocks the current process until there is at least one pending adapt. If there are already pending adapts, the process simply continues.
Also, the following compound primitives are defined. NEXT operates like
COMMIT, but subsequently executes also all pending adapt operations of the current process. This renders the states of the I/O channels that have been changed by other processes visible to the current process.
AWAIT(X) executes the above operator NEXT, and subsequently evaluates X. When the boolean return value of the evaluation is true, the process continues. Otherwise, the process remains blocked until a next adapt signal is received. After reception and execution thereof, first X is re-evaluated, etc. Herein, if X is an expression formulated as arbitrary conditions in terms of local variables and communication structures, and which returns a boolean result, the latter operator provides full condition synchronization.
Figure 3 generally symbolizes inter-process adapt operations. The basic idea of process communication herein is as follows. If process PI wants to send data to process P2, PI may signal that a communication action, called an adapt operation, should be performed with respect to P2. Process PI is called the sender and P2 the receiver of the adapt operation. The purpose of an adapt operation is to move information from the domain of the sender to the domain of the receiver. In Figure 4, processes show as darker ellipses, that may contain various tasks or subprocesses to be executed shown as smaller ellipses, and may interact by means of adapt operations shown as arrows. Processes do not execute adapt operations themselves, because untimely execution may cause undesired interference with other processes. The execution of adapt operations is controlled by the run-time system, which besides the execution of adapt operations also controls the execution of steps or tasks. Figure 4 shows a conceptually elementary remote eye component. The component is accessed by an internal process 'control' and by an external process. The external process puts keys or codes in a local buffer in its own domain through the rem_press operation. This operation can be seen as an interrupt service routine that is called whenever a key is received. The operation will signal to the run-time system that the adapt operation rem adapt should be executed. The adapt operation will be executed by the run¬ time system 'as soon as possible', making sure that no interference exists between the internal and external processes. Executing the adapt operation will have the effect of moving the key from the domain of the external process to the domain of the control process. Moreover, the run-time system will activate the (task of) the control process, which handles the event using the rem_event operation. The latter will typically read the key from the buffer in the domain of the control process. The rem init transformer is meant for one-time use at system initialisation time. It initialises variables in both domains, which is the reason that it does not belong to any of the two process domains shown.
Figure 5 shows a component counter, as an exemplary embodiment for synchronizing two processes. Synchronizing among more than two processes differs therefrom to a limited extent only: the update signals are sent from the originating process to all other processes that should synchronize. The adapt operations are however fully independent from each other. Now, the example serves to illustrate the use of the signalling and synchronization mechanisms. The example consists of a counter that can be accessed asynchronously by two processes, processl and process2. Processl can increment the counter by means of the operation 'up', and process2 can observe the value of the counter using the operation 'count'. The counter is initialized at zero. Process2 does not directly observe the value of the counter as changed by processl, but rather observes a private copy that is kept up to date by the adapt operation 'adapt'. The adapt operation is signalled as soon as the value of the counter is changed by processl (using an 'up' operation). The adapt operation should be executed before the next step of process2, so that process2 is kept up to date with respect to the value of the counter. Hereinafter, we describe the implementation problem and the implementation of the counter.
From the point of view of processl, the operation 'up' is an atomic action that can be used as building block for its steps. From the point of view of process2, the *steps* of processl are the atomic operations and not such operations such as 'up' (which are internal to processl). This implies that process2 may only observe the value of the counter at the end of a complete step of processl; it should not be able to observe any intermediate value due to internal action of processl. for example, if processl would consist of the following code:
while( true ) { up; up; COMMIT;
}
then all counter values observed by process2 should be even values, although internally in processl the counter may temporarily have an odd value. We shall show below how the process control primitives can be used to achieve this in a manner that is independent of the usage of the component.
At the implementation level we need a variable countO in the domain of processl that contains the internal value of the counter as observed by processl , and a variable countl that contains the value of the counter at the end of the last complete step of processl . The latter variable acts as the 'adapt variable' that is used by 'adapt' to update process2's perception of the counter value, which is represented by a third variable count2. The latter is 'updated' by processl at the end of its step when performing a COMMIT (see above). Hence, the counter contains three state variables:
static int countO, countl, count2;
Initialisation of these state variables amounts to:
countO = countl = count2 = 0;
'Count' is the operation used by process2 to read the value of the counter. Its value is identical to that of the state variable 'count2', as implemented by:
int count ( void )
{ return count2; }
The 'up' operation increments the counter in the domain of processl. The effect of 'up' should not be directly visible to process2, which is achieved by making processl increment countO (instead of countl), and signalling that an operation 'update' should be executed at the end of the step of processl. At the end of its step, processl should update countl and signal 'adapt' to process2. This leads to the following implementation of 'up':
void up( void )
{ count0+ + ; u_signal( update );
Here, 'u_signal( update )' makes 'update' pending at the process executing the 'up' operation, i.e. processl. The purpose of the 'update' operation is to make the changed value of the internal variable countO in the domain of processl visible to process2 by copyin it to countl and signalling to process2 that it should execute the 'adapt' operation to become aware of the changed value of the counter, giving rise to the following implementation of th 'update' operation:
void update( void )
{ countl = countO; a_signal( adapt, process2 );
}
Here, a signaK adapt, process2 )' makes 'adapt' pending at process2. The operation 'adapt', when executed by process2 immediately before its next step, should take care that process2 synchronizes with the modified value of the counter by copying the value of countl to count2:
void adapt( void )
{ count2 = countl;
}
The execution of all pending update operations (i.e. COMMIT) should be a single atomic action, and the execution of each individual adapt operation (by SYNC) should be an atomic action as well, which can be achieved in several ways. Interrupts or preemption can be switched off temporarily, or a special semaphore, called the 'adapt semaphore' can b introduced in each process, which can be used to protect access to the adapt variables of the process. We describe a possible realization in pseudo C of the synchronization operators in terms of the latter solution, where 'sema(p)' denotes the adapt semaphore of process p and WAIT(s) and SIGNAL(s) are the wait and signal operations, respectively, on semaphore s.
COMMIT: let p be the current process; WAIT( sema( p ) ); while( there is a pending update operation in the current process ) 10
{ execute the update operation; } SIGNAL( sema( p ) );
SYNC: while( there is a pending adapt operation in the current process )
{ let p be the process that signalled the adapt operation;
WAIT( sema( p ); execute the adapt operation;
LEAVE( sema( p ):
}
WAIT: block until there is a pending adapt operation in the current process;
Here, execution of a pending update or adapt operation implies that the operation is no longer pending. The compound synchronization operators NEXT and AWAIT are described by the following C macro definitions:
#define NEXT { COMMIT; SYNC; }
define AWAIT( X ) { NEXT; while( !( X ) ) { WAIT; SYNC; } }
The use of the NEXT and AWAIT operators is demonstrated below by the code of processl and process2, connected by a counter as discussed supra:
processl: while( true ) {
up; up; NEXT; process2: while( true )
{ int c = count(); assert( c % 2 = = 0 ); AWAIT( countQ - c > = 10 );
Herein, processl executes an infinite loop in which it performs some local actions indicated by the ellipses (...), and increments the counter twice, after which it performs a NEXT operation. The NEXT operation makes the new value of the counter visible to the external world and makes processl synchronize with any observable changes in the external world, assuming that the process is connected to other I/O channels as well.
Process2 executes an infinite loop as well, in which it reads the value of the counter and waits until the counter has been incremented by at least a value 10, after which it performs some local actions, indicated by the ellipses (...). The counter values read by process2 are always even, so the assertion in the 'assert' statement will always be true.
Figure 5a is a variation on Figure 5, wherein the associated expressions are as follows:
static Nat countO, countl, count2; static Adapt c_adapt; static Update c_update;
void init ( Process pi , p2 ) { countO = countl = count2 = 0; c adapt = a_create( adapt, pi, p2 ); c_update = u_create( update ); }
void count( void ) { return count2; }
void up( void )
{ count0+ + ; u_signal( c_update ); } void adapt( void ) { count2 = countl; }
void update( void ) { countl = countO; a_signal( c_adapt ); }.
Figure 6 symbolizes adapt and update operations in time according to the invention. Here, line PI comprises the internal actions inside process PI; line P2 the same for process P2. The adapt operation in process P2 is always effected immediately after execution of a step in process P2. In this manner, send-adapt operations are synchronized with the receiver rather than with the sender. The above solves half of the problem. The other half is to avoid interference between the adapt operation and the sender process PI. In fact, the organization as depicted looses synchronization between the adapt operation and the steps of process PI. The following three requirements should be met by the application, and are sufficient for avoiding interference between the adapt operation and the steps in process PI:
1. The variables in the domain of PI that are read by the adapt operation always have values that are consistent with the state of process PI immediately after its latest completed step. 2. The variables in the domain of process PI that are written by the adapt operation are not read by process PI . The variables in PI, that are accessed (either read or write) by the adapt operation are called the adapt variables of A.
3. During its execution, A has exclusive access to the adapt variables of A, which may be effected with semaphores. The first requirement makes sure that the effects of internal variations within PI are invisible to the outer world. The second requirement makes sure that the effects of actions by the outer world (such as adapt) are invisible to the internal actions in PI . The third requirement avoids that a state transition in PI would be 'committed' in the middle of executing an adapt. A consequence is that adapt operations should be kept as brief as possible.
The simplest way to satisfy the second requirement is not to let the adapt operation modify variables in the domain of PI, but to have it copy information from the domain of PI to P2 only. This is overly restrictive as explained with reference to the discussion of Figures 5, 6. See especially the adapt operation rem adapt, that writes to the variable keyO, which variable is not read by the (external) sender process of rem_adapt. Whether the second requirement is indeed fulfilled, can usually be determined from the specification of the shared component in which the adapt operation occurs, as exemplified by rem adapt. The first and third requirements relate purely to implementation and can in principle always be satisfied.
Figure 7 gives a spatial image of adapt operations. Requirement #1 supra implies that when PI executes a step S during execution of A, then the adapt variables in the domain of PI should be consistent with the state of PI immediately before the execution of S. After step S has been completed, the adapt variables must be 'updated', if necessary, to reflect the state immediately after the execution of S. In other words, the moment of executing the 'update', coincides with the commitment time of the state transition represented by the step, as shown in Figure 7.
The above leads to a scheme wherein a process PI is able to signal that after completing its step, an 'update' operation must be executed, and to signal to another process P2 that before the next step of P2 an 'adapt' operation must be executed. Like adapt operations executed by means of the primitive SYNC, update operations are executed by means of the primitive COMMIT, supplied by the run-time system. Thereby, all update operations signalled by a process during a step, are executed as a single atomic action.
Generally, it is not feasible before completion of a process step, and before the update operation has been performed, to signal from this step that an adapt operation should be performed by another process. Hence the proper way is to let the update operations perform the signalling of the required adapt operations. This implies that during the execution of its step, a process only signals update operations, while all adapt operations are signalled at the end of the step when the update operations are executed. In the specification of a component only the adapt operations occur; update operations are auxiliary operations that may be necessary for a proper implementation of the adapt operations.
Figure 8 illustrates disabling of adapt operations. At the specification level, an adapt operation is specified as a normal state transformer that may succeed or fail, dependent on the value of its precondition when it is executed. Herein, failure means the absence of any effect of the adapt. Since an adapt operation is signalled at the moment its precondition becomes true, in principle it is possible to implement only the success behaviour of the operation, in that the precondition is not tested. In Figure 9, an unsafe situation occurs, in that the adapt operation is signalled at the end of stepl , but in process P2 delayed until such time when the next stepl has already been executed completely, which may make the precondition false. Execution of the adapt should have no effect now, otherwise the implementation would be inconsistent with the specification which indicates that the adapt fails. Such unsafe situations are avoided by implementing the precondition of an adapt operation as an explicit test. If the precondition is false, the adapt operation should have no effect.
Figure 9 shows a generalized adapt update scheme. According to the invention, the general scheme to make processes communicate and synchronized can be characterized as follows:
1. A process P may signal that an update operation should be performed immediately after its step has been completed;
2. A process P may signal to another process Q, that before the next step of Q an adapt operation should be performed;
3. The executing of adapt and update operations is taken care of by the synchronization primitives. An example is shown in Figure 9, wherein two adapt operations adapt 1 and adapt2 are signalled by the steps of two respective processes PI and P2 to a receiver process P3 and are executed immediately before the next step3 of P3. Moreover, two update operations update 1 and update2 are signalled during the execution of step 3 of process P3, and executed immediately after the end of step3. From a specification point of view, the executing of the update operations is part of the step3 in question, since the update operations 'commit' the state transition made by the step. This is the reason that the thick line representing their execution is immediately joined to the thick line representing the execution of the step itself.
A requirement to both update and adapt operations is that they should be extremely short. The reason is that they must have exclusive access to the adapt variables of the process, which may for example be achieved by using semaphores, or less favourably, by disabling interrupts. In either case, running processes may have to be suspended. So, update and adapt operations should not copy large blocks of data. Rather than copying data, they should execute data moves exclusively by changing associated pointers.

Claims

CLAIMS:
1. A method for synchronizing concurrent sequential processes by means of assigning intra-process update operations and assigning inter-process adapt operations, characterized by forming at least one subset having an associated plurality from the interactive processes, assigning to the subset an associated I/O channel and to each process of the subset a part of that channel, in that each inter-process operation comprises a first collection of access operations for exchanging information between an associated process of the subset and its in-channel part, and a second collection of adapt operations for in- channel moving of information between the respective parts assigned to the processes of the subset, which adapt operations are each synchronous with a respective receiving process.
2. A method as claimed in Claim 1, wherein any change effected by a first proces to a channel state of its in-channel part causes an update operation signalling, to render a subsequent adapt operation pending.
3. A method as claimed in Claims 1 or 2, wherein a process terminates its action sequence atomicity by executing any of three synchronizing operators: commit, sync, or wait.
4. A method as claimed in Claim 3, wherein the operator commit executes all pending update operations in a single atomic action, wherein the operator sync executes all pending adapt operations as individual atomic actions, and wherein the operator wait blocks the current process until there is at least one pending adapt.
5. A method as claimed in Claim 4, and having a compound operator next that executes all pending update operations in a single atomic action, followed by executing all pending adapt operations of a current process.
6. A method as claimed in Claim 5, and having a compound operator await(x) tha executes the above operator neyt, and subsequently reevaluates x, while letting the process in question continue exclusively subject to return of a boolean 'true'.
7. A system having a plurality of concurrent sequential processes on the basis of assigned intra-process update operations and inter-process adapt operations, characterized in that said processes comprise at least one subset of an associated plurality of the interactive processes, each subset having assigned an associated I/O channel lo and each process of such subset a part of that channel, in that each inter-process operation comprises a first collection of access operations for exchanging information between an associated process of the subset and its in-channel part, and a second collection of adapt operations for in-channel moving of information between the respective parts assigned to the processes of the subset, which adapt operations are each synchronous with a respective receiving process.
8. A system as claimed in Claim 7, wherein any change effected by a first process to a channel state of its in-channel part is arranged to cause an update operation signalling, to render a subsequent adapt operation pending.
9. A system as claimed in Claims 7 or 8, wherein a process is arranged for terminating its action sequence atomicity by executing any of three synchronizing operators: commit, sync, or wait.
PCT/IB1996/001411 1996-01-09 1996-12-11 A method and system for synchronizing concurrent sequential processes by means of intra-process update operations and inter-process adapt operations WO1997025672A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE69614671T DE69614671T2 (en) 1996-01-09 1996-12-11 METHOD AND SYSTEM FOR SYNCHRONIZING SIMULTANEOUS SEQUENTIAL PROCESSES WITH THE AID OF INTRA-PROCESS CORRECTION AND INTER-PROCESS ADAPTING OPERATIONS
JP9525022A JPH11502350A (en) 1996-01-09 1996-12-11 Method and system for synchronizing parallel sequential processes with intra-process update operation and inter-process adaptation operation
EP96939281A EP0813710B1 (en) 1996-01-09 1996-12-11 A method and system for synchronizing concurrent sequential processes by means of intra-process update operations and inter-process adapt operations

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP96200040 1996-01-09
EP96200040.2 1996-01-09

Publications (2)

Publication Number Publication Date
WO1997025672A2 true WO1997025672A2 (en) 1997-07-17
WO1997025672A3 WO1997025672A3 (en) 1997-09-12

Family

ID=8223572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB1996/001411 WO1997025672A2 (en) 1996-01-09 1996-12-11 A method and system for synchronizing concurrent sequential processes by means of intra-process update operations and inter-process adapt operations

Country Status (5)

Country Link
US (1) US6182152B1 (en)
EP (1) EP0813710B1 (en)
JP (1) JPH11502350A (en)
DE (1) DE69614671T2 (en)
WO (1) WO1997025672A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001040931A2 (en) * 1999-11-30 2001-06-07 OCé PRINTING SYSTEMS GMBH Method for synchronising program sections of a computer program

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629152B2 (en) * 1998-06-29 2003-09-30 International Business Machines Corporation Message passing using shared memory of a computer
US6718361B1 (en) * 2000-04-07 2004-04-06 Network Appliance Inc. Method and apparatus for reliable and scalable distribution of data files in distributed networks
WO2003038614A2 (en) * 2001-10-30 2003-05-08 Koninklijke Philips Electronics N.V. Method and system for guaranteeing sequential consistency in distributed computations
US7320035B2 (en) * 2002-03-01 2008-01-15 Sun Microsystems, Inc. Object mutation determination for incremental state saves
US7219198B2 (en) * 2004-06-22 2007-05-15 International Business Machines Corporation Facilitating communication within shared memory environments using lock-free queues
US7320063B1 (en) 2005-02-04 2008-01-15 Sun Microsystems, Inc. Synchronization primitives for flexible scheduling of functional unit operations
US11157191B2 (en) * 2019-04-26 2021-10-26 Dell Products L.P. Intra-device notational data movement system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0201020A2 (en) * 1985-05-07 1986-12-17 BULL HN INFORMATION SYSTEMS ITALIA S.p.A. Multiprocessor system architecture
WO1995010805A1 (en) * 1993-10-08 1995-04-20 International Business Machines Corporation Message transmission across a network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0135499B1 (en) * 1983-02-09 1990-05-02 International Business Machines Corporation A method for achieving multiple processor agreement optimized for no faults
JP3293839B2 (en) * 1990-05-16 2002-06-17 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer system that adjusts the commit scope to the unit of work
JP3003418B2 (en) * 1992-09-25 2000-01-31 株式会社日立製作所 Data communication method between processors
US5878225A (en) * 1996-06-03 1999-03-02 International Business Machines Corporation Dual communication services interface for distributed transaction processing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0201020A2 (en) * 1985-05-07 1986-12-17 BULL HN INFORMATION SYSTEMS ITALIA S.p.A. Multiprocessor system architecture
WO1995010805A1 (en) * 1993-10-08 1995-04-20 International Business Machines Corporation Message transmission across a network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001040931A2 (en) * 1999-11-30 2001-06-07 OCé PRINTING SYSTEMS GMBH Method for synchronising program sections of a computer program
WO2001040931A3 (en) * 1999-11-30 2002-11-07 Oce Printing Systems Gmbh Method for synchronising program sections of a computer program
US7266825B2 (en) 1999-11-30 2007-09-04 Oce Printing Systems Gmbh Method for synchronizing program sections of a computer program

Also Published As

Publication number Publication date
WO1997025672A3 (en) 1997-09-12
JPH11502350A (en) 1999-02-23
EP0813710B1 (en) 2001-08-22
DE69614671D1 (en) 2001-09-27
EP0813710A2 (en) 1997-12-29
DE69614671T2 (en) 2002-07-04
US6182152B1 (en) 2001-01-30

Similar Documents

Publication Publication Date Title
CN1327347C (en) Executing processes in a multiprocessing environment
US5448732A (en) Multiprocessor system and process synchronization method therefor
US5805892A (en) Method of and apparatus for debugging multitask programs
EP0475282B1 (en) Synchronous method and apparatus for processors
Per Hansen A comparison of two synchronizing concepts
US5933347A (en) Industrial controller with program synchronized updating of back-up controller
US5506963A (en) Real-time management system having coprocessors allocated time slices of different durations to functions and processors executed functions simultaneously in accordance with the time allocation
US6754736B1 (en) Information processing apparatus, data inputting/outputting method, and program storage medium therefor
EP0381655A2 (en) Method for synchronizing the dispatching of tasks among multitasking operating systems
US20010034751A1 (en) Real-time OS simulator
EP0813710B1 (en) A method and system for synchronizing concurrent sequential processes by means of intra-process update operations and inter-process adapt operations
US20030014558A1 (en) Batch interrupts handling device, virtual shared memory and multiple concurrent processing device
US6154763A (en) Method for specifying a system having a plurality of interconnected functional modules, each representing a respective abstract-state based machine, and a system so specified
US7150016B2 (en) Systems, methods and computer program products for controlling and visualizing processes
Berry et al. Language constructs for real-time distributed systems
JPH0895807A (en) Task execution control method
Bamberger et al. Kernal Facilities Definition
CN110764880A (en) Three-state control method based on atomic operation
Wilhelm A methodology for auto/manual logic in a computer controlled process
KR100301102B1 (en) Optimization Method for the Shared Memory Data Synchronization Between Tasks in Realtime System
Ortiz et al. A case study in performance evaluation of real-time teleoperation software architectures using UML-MAST
Bamberger et al. Kernel User's Manual Version 1.0
Businger Processes and their synchronization
JPH027131A (en) Synchronizing system
Tadamura et al. Dynamic process management for avoiding the confliction between the development of a program and a job for producing animation frames

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 1996939281

Country of ref document: EP

ENP Entry into the national phase

Ref country code: JP

Ref document number: 1997 525022

Kind code of ref document: A

Format of ref document f/p: F

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 1996939281

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1996939281

Country of ref document: EP