JPH06161872A - Inter-task exclusive control method - Google Patents

Inter-task exclusive control method

Info

Publication number
JPH06161872A
JPH06161872A JP31373892A JP31373892A JPH06161872A JP H06161872 A JPH06161872 A JP H06161872A JP 31373892 A JP31373892 A JP 31373892A JP 31373892 A JP31373892 A JP 31373892A JP H06161872 A JPH06161872 A JP H06161872A
Authority
JP
Japan
Prior art keywords
task
lock
state
acquire
shared resource
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP31373892A
Other languages
Japanese (ja)
Other versions
JP3422504B2 (en
Inventor
Ushio Inoue
潮 井上
Yasuhiro Hirano
泰宏 平野
Fumimitsu Miura
史光 三浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP31373892A priority Critical patent/JP3422504B2/en
Publication of JPH06161872A publication Critical patent/JPH06161872A/en
Application granted granted Critical
Publication of JP3422504B2 publication Critical patent/JP3422504B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce overhead corresponding to the acquisition and release of lock to resources shared among plural tasks performing parallel processing by specifying the control of the task which can not acquire the lock to the shared resources. CONSTITUTION:When a task A can not successfully acquire the lock, the acquisition of lock is repeatedly tried until the lapse of fixed time. When the lock can not be acquired even after the lapse of fixed time, the processing is transited not to the Waiting state of a conventional system but to a Ready state and when there is the other task previously to the Ready state, a task control part dispatches the available right of a processor to any one of those tasks based on the order of arrival turning to the Ready state. When the use right of the processor is dispatched from the other task, the task A is turned to a Running state again and repeats the sequence from the beginning again. In the case of releasing the lock, any operation is not performed to the other task.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、並行処理を行う複数の
タスク間の排他制御方法に関し、特にタスク間で共有す
る資源に対するロックの獲得および解放処理に伴うオー
バヘッドの小さな排他制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exclusive control method for a plurality of tasks performing parallel processing, and more particularly to an exclusive control method with a small overhead involved in lock acquisition and release processing for a resource shared between tasks.

【0002】[0002]

【従来の技術】電子計算機の演算処理能力を高める手段
として、密結合型または共有メモリ型と呼ばれるアーキ
テクチャを持つマルチプロセッサが多用されている。こ
れらのマルチプロセッサでは、メモリ上に格納された共
有資源に対して、並行処理を行う複数のタスクが同時に
アクセスしないように排他制御を行うことが必要にな
る。
2. Description of the Related Art A multiprocessor having an architecture called a tightly coupled type or a shared memory type is often used as a means for increasing the calculation processing capability of an electronic computer. In these multiprocessors, it is necessary to perform exclusive control on the shared resource stored in the memory so that a plurality of tasks performing parallel processing do not access simultaneously.

【0003】図3は、タスク間の排他制御機能を有する
共有メモリ型のマルチプロセッサの基本的な構成を示し
たものである。図3において、タスク制御部302は、
実行可能(Ready)状態のタスクに対して空いてい
るプロセッサの使用権を割り当て(ディスパッチし
て)、タスクを実行(Running)状態とする。ま
た、タスク制御部302はRunning状態になって
から一定時間が経過したタスクについて強制的にプロセ
ッサの使用権を取り上げ、そのタスクをReady状態
に戻し、他のReady状態のタスクにプロセッサの使
用権をディスパッチする。また、タスク制御部302は
Running状態のタスクがロックの獲得待ち等の理
由で待機(Waiting)状態となった場合にも、そ
のプロセッサの使用権を他のReady状態のタスクに
ディスパッチする。複数のタスクがReady状態にあ
る時、タスク制御部はタスクの優先度順またはRead
y状態になった先着順等の順序でプロセッサの使用権を
ディスパッチするタスクを選択する。
FIG. 3 shows a basic configuration of a shared memory type multiprocessor having an exclusive control function between tasks. In FIG. 3, the task control unit 302
A right to use a vacant processor is assigned (dispatched) to a task in the ready (Ready) state, and the task is set to the running (Running) state. In addition, the task control unit 302 forcibly picks up the right to use a processor for a task that has passed a certain time after entering the Running state, returns the task to the Ready state, and grants the right to use the processor to another task in the Ready state. Dispatch. The task control unit 302 also dispatches the usage right of the processor to another task in the Ready state even when the task in the Running state enters the waiting state due to waiting for acquisition of a lock or the like. When multiple tasks are in the Ready state, the task control unit displays the tasks in priority order or Read
A task for dispatching the processor usage right is selected in an order such as a first-come-first-served basis in the y state.

【0004】各プロセッサ上で走行するタスクは、共有
資源にアクセスを開始する前に、共有メモリ上の排他制
御部301の手続きを呼び出し、他のタスクが同じ共有
資源を同時にアクセスすることがないようにロックを獲
得する。また共有資源へのアクセスが終了した後に、再
度排他制御部301の手続きを呼び出し、他のタスクが
同じ共有資源にアクセスできるようにロックを解放す
る。
A task running on each processor calls the procedure of the exclusive control unit 301 on the shared memory before starting access to the shared resource so that other tasks do not simultaneously access the same shared resource. Get a lock on. Further, after the access to the shared resource is completed, the procedure of the exclusive control unit 301 is called again to release the lock so that another task can access the same shared resource.

【0005】図4は、タスクBが共有資源に対するロッ
クを先に獲得しているため、同一の資源に対して新たに
ロックを獲得しようとして獲得できなかったタスクAの
状態遷移を示したものである。タスクAはそれまでRu
nning状態401で走行していたが、ロックを獲得
できなかったことによりWaiting状態402に遷
移する。その後、タスクBがこの共有資源に対するロッ
クを解放した時点で、起床シグナルがタスクBからタス
クAに送られ、タスクAはWaiting状態402か
らReady状態403に遷移する。次に、タスクAに
対してプロセッサの使用権がディスパッチされた時点
で、タスクAは再びRunning状態401に復帰
し、この資源に対するロックを獲得して処理を続行す
る。
FIG. 4 shows the state transition of task A, which was unable to acquire a new lock for the same resource because task B acquired the lock for the shared resource first. is there. Task A is Ru until then
Although the vehicle was running in the "nning" state 401, the state was changed to the "waiting" state 402 because the lock could not be acquired. After that, when the task B releases the lock on the shared resource, a wakeup signal is sent from the task B to the task A, and the task A transits from the Waiting state 402 to the Ready state 403. Next, when the processor usage right is dispatched to the task A, the task A returns to the Running state 401 again, acquires the lock for this resource, and continues the processing.

【0006】図5は、これまで述べた従来の排他制御方
法を用いた際の、1つのタスクの共有資源に対するロッ
クの獲得から解放までの一連の手順をフローチャートで
表現したものである。まず、共有資源にアクセスしよう
とするタスクは、ハードウェアが提供するTest&S
et等の原子的で不可分な命令を用いてロックの獲得を
試みる(ステップ110)。ロックの獲得が成功しなか
った場合は、自身のタスクの情報をその共有資源のキュ
ーに登録し(ステップ120)、図4で示した順に状態
遷移する(ステップ130,140,150)。その
後、ロックを獲得した後に、この共有資源にアクセスす
る(ステップ160,107)。アクセス終了後ロック
を解放した時点で(ステップ180)、この資源のキュ
ーに登録されているタスクの1つに起床シグナルを送信
する(ステップ190,200)。
FIG. 5 is a flow chart showing a series of procedures from acquisition to release of a lock for a shared resource of one task when the conventional exclusive control method described above is used. First, the task of accessing the shared resource is performed by Test & S provided by the hardware.
An attempt is made to acquire a lock by using an atomic and indivisible command such as et (step 110). If the acquisition of the lock is not successful, the information of the own task is registered in the queue of the shared resource (step 120), and the state transition is made in the order shown in FIG. 4 (steps 130, 140, 150). Then, after acquiring the lock, the shared resource is accessed (steps 160 and 107). When the lock is released after the access is completed (step 180), a wakeup signal is transmitted to one of the tasks registered in the queue of this resource (steps 190, 200).

【0007】[0007]

【発明が解決しようとする課題】以上述べたように、従
来のタスク間排他制御方法では、Running状態→
Waiting状態→Ready状態→Running
状態というように3回の状態遷移を行う。一般に、タス
クを状態遷移させるためには相応のプロセッサの演算量
が必要になり、共有資源に対するロックを獲得できない
状況が多発する場合には大きなオーバヘッドになるとい
う問題があった。
As described above, in the conventional inter-task exclusive control method, the running state →
Waiting state → Ready state → Running
State transition is performed three times such as a state. Generally, there is a problem that a large amount of calculation is required for a task to make a state transition of a task, and a large overhead occurs when a situation where a lock for a shared resource cannot be acquired frequently occurs.

【0008】また、Waiting状態になったタスク
については、その原因、即ちどの共有資源に対するロッ
クの獲得を要求しているのかに応じてキュー管理を行う
必要があり、この管理もオーバヘッドであった。さら
に、ロックを解放するタスクはその資源に対してロック
の獲得を要求してWaiting状態になっているタス
クを見つけ出し、その中の1つに起床シグナルを送信す
る必要があり、この処理もオーバヘッドになるという問
題があった。
Further, for the task in the Waiting state, it is necessary to perform queue management depending on the cause thereof, that is, which shared resource is requested to acquire the lock, and this management is also an overhead. Furthermore, the task that releases the lock needs to request the lock acquisition for the resource, find the task in the Waiting state, and send a wake-up signal to one of them, and this processing also requires overhead. There was a problem of becoming.

【0009】特にマルチプロセッサにおいては、ロック
を獲得できないタスクをRunning状態としたまま
でも、先にロックを獲得している別のタスクが別のプロ
セッサ上で走行できるために一定時間経過後にこのロッ
クが解放される可能性が高く、上記のオーバヘッドを含
む制御動作を行う必然性はなかった。
In particular, in a multiprocessor, even if a task that cannot acquire a lock is kept in the Running state, another task that has acquired the lock can run on another processor. It is likely to be released, and there was no need to perform the control operation including the above overhead.

【0010】本発明は、上記に鑑みてなされたもので、
その目的とするところは、並行処理を行う複数のタスク
間で共有する資源に対するロックの獲得および解放処理
に伴うオーバヘッドの小さなタスク間排他制御方法を提
供することにある。
The present invention has been made in view of the above,
It is an object of the present invention to provide an inter-task exclusive control method having a small overhead associated with lock acquisition and release processing for a resource shared by a plurality of tasks performing parallel processing.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、本発明のタスク間排他制御方法は、タスク間の排他
制御機能を有する共有メモリ型のマルチプロセッサにお
いて、共有資源に対するロックを獲得できないタスクが
一定時間経過したかどうかを識別する識別手段および一
度実行可能状態になったタスクがそれ以前に実行可能状
態になったタスクを追い越して実行状態にならないよう
に制御する制御手段を設け、共有資源に対するロックを
獲得できないタスクは一定時間が経過するまで実行状態
のままでロックを獲得するための再試行を繰り返し、一
定時間経過後もロックが獲得できない場合には実行可能
状態へ遷移し、その後再度実行状態になった時点でロッ
クを獲得するための操作を最初から繰り返し、ロックを
解放する際には他のタスクに対する操作を行わないこと
を要旨とする。
In order to achieve the above object, an intertask exclusive control method of the present invention is a task in which a lock for a shared resource cannot be acquired in a shared memory type multiprocessor having an intertask exclusive control function. A shared resource is provided with control means for controlling whether a task that has once entered the READY state has passed the tasks that were previously in the READY state and is not in the RUNNING state. The task that cannot acquire the lock for the task keeps retrying to acquire the lock while it remains in the running state until a certain period of time elapses.If the lock cannot be acquired after the certain period of time, the task transits to the ready state and then again. The operation to acquire the lock is repeated from the beginning when it enters the execution state, and when releasing the lock, another operation is performed. And summarized in that no action is taken with respect to disk.

【0012】[0012]

【作用】本発明のタスク間排他制御方法では、共有資源
に対するロックを獲得できなかったタスクは一定時間が
経過するまで実行状態のままでロックの獲得の再試行を
繰り返し、一定時間経過後もロックが獲得できない場合
には実行可能状態へ遷移し、その後このタスクに対して
プロセッサの使用権が割り当てられた時点で実行状態と
なり、ロックの獲得のための再試行を再び繰り返し、ロ
ックを解放する場合には、解放以外の処理を行わない。
In the inter-task exclusive control method of the present invention, a task that cannot acquire a lock for a shared resource repeats lock acquisition retries in the running state until a fixed time elapses, and locks even after the elapse of the fixed time. When the lock cannot be acquired, the state transits to the runnable state, and when the right to use the processor is assigned to this task, the task enters the running state, and the lock acquisition is retried and the lock is released again. , No processing other than release is performed.

【0013】[0013]

【実施例】以下、図面を用いて本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は、タスクBが共有資源に対するロッ
クを先に獲得しているため、同一の資源に対して新たに
ロックを獲得しようとして獲得できなかったタスクAの
状態遷移を示したものである。タスクAはそれまでRu
nning状態401で走行していたが、ロックを獲得
できない状態が一定時間経過したことにより、Read
y状態403に遷移する。次にタスクAに対してプロセ
ッサの使用権がディスパッチされた時点で、タスクAは
再びRunning状態401に復帰し、この資源に対
するロックの獲得を再度試みる。
FIG. 1 shows the state transition of task A, which was unable to acquire a new lock for the same resource because task B acquired the lock for the shared resource first. is there. Task A is Ru until then
Although the vehicle was running in the "nning" state 401, the state in which the lock could not be acquired passed for a certain period of time.
Transition to the y state 403. Next, when the right to use the processor is dispatched to the task A, the task A returns to the Running state 401 again and tries to acquire the lock for this resource again.

【0015】図2は、本発明によるタスク間排他制御方
法を用いた際の、1つのタスクの共有資源に対するロッ
クの獲得から解放までの一連の手順をフローチャートで
表現したものである。まず、共有資源にアクセスしよう
とするタスクは、ハードウェアが提供するTest&S
et等の原子的で不可分な命令を用いてロックの獲得を
試みる(ステップ210)。ロックの獲得が成功しなか
った場合は、一定時間経過するまでロックの獲得の試行
をくり返す(ステップ220)。一定時間経過後もロッ
クを獲得できない場合は、従来方式のWaiting状
態ではなく、Ready状態に遷移し(ステップ23
0)、先にReady状態になっている他のタスクがあ
れば、タスク制御部302(図3)は、Ready状態
になった先着順等の順序に基づいてその中のいずれかの
タスクにプロセッサの使用権をディスパッチする。ロッ
クを獲得できなかった先程のタスクは、他のタスクから
プロセッサの使用権をディスパッチされた時点で再度R
unning状態となり(ステップ240)、再び最初
からの手順をくり返す。以上の手順によってロックを獲
得できたタスクは、その共有資源にアクセスする(ステ
ップ250)。アクセス終了後ロックを解放するが(ス
テップ260)、従来方式のように他のタスクに起床シ
グナルを送信することはなく、ただちにこの一連の手順
を終了する。
FIG. 2 is a flow chart showing a series of procedures from acquisition to release of a lock for a shared resource of one task when the intertask exclusive control method according to the present invention is used. First, the task of accessing the shared resource is performed by Test & S provided by the hardware.
An attempt is made to acquire a lock using an atomic and indivisible command such as et (step 210). If the lock acquisition is not successful, the lock acquisition trial is repeated until a fixed time has elapsed (step 220). If the lock cannot be acquired even after the elapse of a certain period of time, the state transits to the Ready state instead of the conventional Waiting state (step 23).
0), if there is another task that is in the Ready state first, the task control unit 302 (FIG. 3) determines that one of the tasks in the Task control unit 302 (see FIG. 3) is in the Ready state. Dispatch usage rights for. The task that was not able to acquire the lock returns to the R state when the processor usage right is dispatched from another task.
The state becomes the unning state (step 240), and the procedure from the beginning is repeated again. The task that can acquire the lock by the above procedure accesses the shared resource (step 250). After the access is completed, the lock is released (step 260), but the wakeup signal is not transmitted to other tasks as in the conventional method, and this series of procedures is immediately terminated.

【0016】なお、上記の説明中で先にReady状態
になっている他のタスクを先に実行させる理由は、その
タスクが問題となっている共有資源に対するロックを獲
得している可能性があるためであり、その場合にはその
タスクを先に実行させない限りロックを永久に獲得でき
ない現象が起り得るためである。
In the above explanation, the reason why the other task in the Ready state first is executed first is that the task may have acquired a lock on the shared resource in question. This is because, in that case, a phenomenon in which a lock cannot be permanently acquired unless the task is executed first may occur.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
共有資源に対するロックを獲得できなかったタスクは一
定時間が経過するまで実行状態のままでロックの獲得の
再試行を繰り返し、一定時間経過後もロックが獲得でき
ない場合には実行可能状態へ遷移し、その後このタスク
に対してプロセッサの使用権が割り当てられた時点で実
行状態となり、ロックの獲得のための再試行を再び繰り
返し、ロックを解放する場合には、解放以外の処理を行
わないので、タスクが共有資源に対するロックを獲得で
きない場合に、Running状態のままでロックの獲
得を再試行するため、タスクの状態遷移に伴うオーバヘ
ッドを除去できる。また、一定時間が経過した後でもロ
ックを獲得できない場合にはReady状態に遷移する
が、従来技術のようにWaiting状態を経由しない
ため、状態遷移の回数が1回少なく、その分オーバヘッ
ドが小さくなる。さらに、ロックを解放する段階でその
資源に対してロックの獲得を要求してWaiting状
態になっているタスクに対する起床シグナルを送信する
必要がなく、そのオーバヘッドを除去できる効果もあ
る。さらに、Waiting状態になったタスクに対す
るキュー管理も不要になり、この管理オーバヘッドも除
去できる。
As described above, according to the present invention,
The task that could not acquire the lock for the shared resource keeps retrying to acquire the lock in the running state until a certain period of time elapses, and transits to the ready state when the lock cannot be acquired even after the certain period of time elapses. After that, when the usage right of the processor is assigned to this task, it will be in the execution state, and retrying to acquire the lock will be repeated again, and when releasing the lock, processing other than release will not be performed. When the client cannot acquire the lock for the shared resource, the lock is retried while keeping the Running state, so that the overhead associated with the task state transition can be removed. Further, when the lock cannot be acquired even after the elapse of a certain period of time, the state transits to the Ready state, but since the state does not go through the Waiting state as in the conventional technique, the number of state transitions is reduced by one, and the overhead is reduced accordingly. . Further, there is no need to send a wakeup signal to a task in the Waiting state by requesting the resource to acquire the lock at the stage of releasing the lock, and the overhead can be removed. Furthermore, queue management for tasks in the Waiting state becomes unnecessary, and this management overhead can be removed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例を説明するためのタスクの状態
遷移図である。
FIG. 1 is a task state transition diagram for explaining an embodiment of the present invention.

【図2】本発明における共有資源にアクセスするタスク
の一連の手順を示したフローチャートである。
FIG. 2 is a flowchart showing a series of procedures of a task for accessing a shared resource according to the present invention.

【図3】本発明が適用される共有メモリ型マルチプロセ
ッサの基本的な構成図である。
FIG. 3 is a basic configuration diagram of a shared memory type multiprocessor to which the present invention is applied.

【図4】従来技術を説明するためのタスクの状態遷移図
である。
FIG. 4 is a state transition diagram of a task for explaining the conventional technique.

【図5】従来技術における共有資源にアクセスするタス
クの一連の手順を示したフローチャートである。
FIG. 5 is a flowchart showing a series of procedures of a task of accessing a shared resource in the related art.

【符号の説明】[Explanation of symbols]

401 Running状態 402 Waiting状態 403 Ready状態 301 排他制御部 302 タスク制御部 401 Running state 402 Waiting state 403 Ready state 301 Exclusive control unit 302 Task control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 タスク間の排他制御機能を有する共有メ
モリ型のマルチプロセッサにおいて、共有資源に対する
ロックを獲得できないタスクが一定時間経過したかどう
かを識別する識別手段および一度実行可能状態になった
タスクがそれ以前に実行可能状態になったタスクを追い
越して実行状態にならないように制御する制御手段を設
け、共有資源に対するロックを獲得できないタスクは一
定時間が経過するまで実行状態のままでロックを獲得す
るための再試行を繰り返し、一定時間経過後もロックが
獲得できない場合には実行可能状態へ遷移し、その後再
度実行状態になった時点でロックを獲得するための操作
を最初から繰り返し、ロックを解放する際には他のタス
クに対する操作を行わないことを特徴とするタスク間排
他制御方法。
1. In a shared memory type multiprocessor having an exclusive control function between tasks, an identification means for identifying whether or not a task for which a lock for a shared resource cannot be acquired has passed for a certain period of time, and a task which is once in an executable state. Has a control means to control so that it does not go into the running state by overtaking the task that was in the ready state before, and the task that cannot acquire the lock for the shared resource will acquire the lock in the running state until a certain time elapses. The lock is locked after a certain period of time.If the lock cannot be acquired after a certain period of time, the operation transitions to the ready state, and when the lock enters the run status again, the operation to acquire the lock is repeated from the beginning to lock An inter-task exclusive control method characterized by not performing operations on other tasks when releasing.
JP31373892A 1992-11-24 1992-11-24 Exclusive control method between tasks Expired - Lifetime JP3422504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31373892A JP3422504B2 (en) 1992-11-24 1992-11-24 Exclusive control method between tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31373892A JP3422504B2 (en) 1992-11-24 1992-11-24 Exclusive control method between tasks

Publications (2)

Publication Number Publication Date
JPH06161872A true JPH06161872A (en) 1994-06-10
JP3422504B2 JP3422504B2 (en) 2003-06-30

Family

ID=18044936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31373892A Expired - Lifetime JP3422504B2 (en) 1992-11-24 1992-11-24 Exclusive control method between tasks

Country Status (1)

Country Link
JP (1) JP3422504B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9354935B2 (en) 2010-08-18 2016-05-31 Samsung Electronics Co., Ltd. Work processing apparatus for scheduling work, control apparatus for scheduling activation, and work scheduling method in a symmetric multi-processing environment
US9483101B2 (en) 2010-12-22 2016-11-01 Fujitsu Limited Multicore processor system and power control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9354935B2 (en) 2010-08-18 2016-05-31 Samsung Electronics Co., Ltd. Work processing apparatus for scheduling work, control apparatus for scheduling activation, and work scheduling method in a symmetric multi-processing environment
US9483101B2 (en) 2010-12-22 2016-11-01 Fujitsu Limited Multicore processor system and power control method

Also Published As

Publication number Publication date
JP3422504B2 (en) 2003-06-30

Similar Documents

Publication Publication Date Title
US7395383B2 (en) Realtime-safe read copy update with per-processor read/write locks
US6345242B1 (en) Synchronization mechanism for distributed hardware simulation
EP0735473B1 (en) Method and apparatus for managing a database in a distributed object operating environment
JP2514299B2 (en) Serialization method of interrupt handling for process level programming
US6782440B2 (en) Resource locking and thread synchronization in a multiprocessor environment
US5784618A (en) Method and system for managing ownership of a released synchronization mechanism
US6845504B2 (en) Method and system for managing lock contention in a computer system
JPH04308961A (en) Means and apparatus for notifying state of synchronous locking of occupied process
JPH07191944A (en) System and method for prevention of deadlock in instruction to many resources by multiporcessor
US6502122B1 (en) Method and apparatus for executing transaction programs in parallel
US6308243B1 (en) Method and system for controlling exclusive access to shared resources in computers
EP0913770A2 (en) Method and apparatus for sharing a time quantum
US7454579B1 (en) Managing access to shared resources
JPH06161872A (en) Inter-task exclusive control method
JP3746826B2 (en) Resource lock control mechanism
JPH1049388A (en) Input and output controller
US5797138A (en) Buffer management method using buffer locking mechanism in storage system for supporting multi-user environment
JPS6125249A (en) Exclusive control system
JP3764282B2 (en) Control device for program control system
CN116975009A (en) Shared resource access method and device, electronic equipment and medium
JPH09330241A (en) Exclusive deadlock prevention control system
CN110764880A (en) Three-state control method based on atomic operation
JP2926873B2 (en) Computer system
JP2001256065A (en) Exclusive control method and computer system
KR20040036993A (en) Apparatus and method for scheduling using system timer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100425

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100425

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 10