KR0146551B1 - 임계영역을 지원하는 래치 관리방법 - Google Patents
임계영역을 지원하는 래치 관리방법Info
- Publication number
- KR0146551B1 KR0146551B1 KR1019950025697A KR19950025697A KR0146551B1 KR 0146551 B1 KR0146551 B1 KR 0146551B1 KR 1019950025697 A KR1019950025697 A KR 1019950025697A KR 19950025697 A KR19950025697 A KR 19950025697A KR 0146551 B1 KR0146551 B1 KR 0146551B1
- Authority
- KR
- South Korea
- Prior art keywords
- latch
- user request
- management means
- user
- queue
- Prior art date
Links
- 238000007726 management method Methods 0.000 title abstract description 45
- 238000000034 method Methods 0.000 claims abstract description 46
- 230000007717 exclusion Effects 0.000 claims abstract description 32
- 230000002618 waking effect Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000007958 sleep Effects 0.000 description 2
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F9/526—Mutual exclusion algorithms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5022—Workload threshold
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99931—Database or file accessing
- Y10S707/99938—Concurrency, e.g. lock management in shared database
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
- Multi Processors (AREA)
Abstract
Description
Claims (7)
- 상호배제변수와 래치관리를 통제하는 래치관리수단을 이용하여 임계영역을 지원하는 래치를 관리하는 방법에서 래치획득방법에 있어서, 사용자가 임계영역에 진입하기 위하여 래치관리수단에 래치획득의 기회를 요구하는 제 1 과정과; 사용자가 상호배제변수를 점유하여 래치관리수단이 사용자 요구를 등록하는 제 2 과정과; 사용자가 상호배제변수를 반환하는 제 3 과정; 및 사용자가 래치를 획득하는 제 4 과정을 포함하는 것을 특징으로 하는 래치획득방법.
- 제 1 항에 있어서,상기 제 2 과정이, 상기 래치관리수단이 사용자가 상호배제변수를 점유할 수 있는지를 판단하는 제 1 단계와; 상기 제 1 단계에서 점유할 수 없다고 판단되면, 상기 래치관리수단이 상기 사용자 요구를 잠재우는 제 2 단계와; 소정의 시간 후, 상기 래치관리수단이 상기 사용자 요구를 깨우는 제 3단계와; 상기 제 1 단계로 진행하는 제 4 단계와; 상기 제 1단계에서 점유할 수 있다고 판단되면, 상기 래치관리수단이 상기 상호배제변수를 점유하는 제 5 단계; 및 상기 래치관리수단이 상기 사용자 요구를 등록하는 제 6 단계로 이루어지는 것을 특징으로 하는 래치획득방법.
- 제 1 항에 있어서, 상기 제 4 과정이, 상기 래치관리수단이 상기 등록된 사용자 요구가 수행될 차례가 되었는지를 판단하는 제 1 단계와; 상기 제 1 단계에서 상기 등록된 사용자 요구가 수행될 차례가 되었다고 판단되면, 사용자가 래치를 획득하는 제 2 단계와; 상기 제 1 단계에서 상기 등록된 사용자 요구가 수행될 차례가 되지 않았다고 판단되면, 상기 래치관리수단이 상기 등록된 사용자 요구를 잠재우는 제 3 단계와; 다른 사용자 요구가 상기 3 단계에서 재워진 요구를 깨우는 제 4 단계; 및 사용자가 래치를 획득하는 제 5 단계로 이루어지는 것을 특징으로 하는 래치획득방법.
- 상호배제변수와 래치관리를 통제하는 래치관리수단을 이용하여 임계영역을 지원하는 래치를 관리하는 방법에서 래치반환방법에 있어서, 해당 사용자가 이미 획득했던 래치를 반환하려고 상기 래치관리수단에 상기 해당 사용자가 래치반환의 기회를 상기 래치관리수단에 요구하는 제 1 과정과; 상기 래치관리수단이 해당 사용자 요구 이외의 다른 사용자 요구가 래치큐에 있는지 판단하는 제 2 과정과; 상기 제 2 과정에서 상기 해당 사용자 요구 이외의 다른 사용자 요구가 상기 래치큐에 없다고 판단되면, 상기 해당 사용자가 상기 상호배제변수의 점유가능 여부에 따라 상기 해당 사용자가 상기 상호배제변수를 점유하는 제 3 과정과; 해당 사용자 요구만이 상기 래치큐에 있는지의 여부에 따라 해당 사용자가 상기 해당 사용자 요구를 상기 래치큐에서 삭제하면서 상기 상호배제변수를 반환하는 제 4 과정; 및 상기 제 2 과정에서 상기 해당 사용자 요구 이외의 다른 사용자 요구가 상기 래치큐에 있다고 판단되면, 다음 사용자 요구를 결정하여 상기 해당 사용자 요구를 상기 래치큐에서 삭제하면서 상기 다음 사용자 요구를 깨우는 제 5 과정을 포함하는 것을 특징으로 하는 래치반환방법.
- 제 4 항에 있어서, 상기 제 3 과정이, 상기 래치관리수단이 상기 해당 사용자가 상기 상호배제변수를 점유할 수 있는지를 판단하는 제 1 단계와; 상기 제 1 단계에서 상기 상호배제변수를 점유할 수 없다고 판단되면, 상기 래치관리수단이 상기 해당 사용자 요구 이외의 다른 사용자 요구가 래치큐에 있는지 판단하는 제 2 단계와; 상기 제 2 단계에서 상기 해당 사용자 요구 이외의 다른 사용자 요구가 상기 래치관리에 있다고 판단되면, 상기 제 5 과정으로 진행하는 제 3 단계와; 상기 제 2 단계에서 상기 해당 사용자 요구 이외의 다른 사용자 요구가 상기 래치큐에 없다고 판단되면, 상기 래치관리수단이 해당 사용자 요구를 일정시간 잠재우는 제 4 단계와; 상기 래치관리수단이 상기 잠자고 있는 해당 사용자 요구를 깨우고 상기 제 1 단계로 진행하는 제 5 단계; 및 상기 제 1 단계에서 상기 상호배제변수를 점유할 수 있다고 판단되면, 상기 래치관리수단이 상기 상호배제변수를 점유하는 제 6 단계로 이루어지는 것을 특징으로 하는 래치반환방법.
- 제 4 항에 있어서, 상기 제 4 과정이, 상기 래치관리수단이 해당 사용자 요구만 상기 래치큐에 있는지 판단하는 제 1 단계와; 상기 제 1 단계에서 상기 래치관리수단이 상기 해당 사용자 요구만이 상기 래치큐에 있다고 판단되면, 상기 래치관리수단이 상기 해당 사용자 요구를 상기 래치큐에서 삭제하는 제 2 단계와; 상기 해당 사용자가 상기 상호배제변수를 반환하는 제 3 단계; 및 상기 제 1 단계에서 상기 래치관리수단이 상기 해당 사용자 요구가 상기 래치큐에 있는 것은 아니라고 판단되면, 상기 상호배제변수를 반환하고 상기 제 5 과정으로 진행하는 제 4단계로 이루어지는 것을 특징으로 하는 래치반환방법.
- 제 4 항에 있어서, 상기 제 5 과정이, 상기 래치관리수단이 다음 차례의 사용자 요구를 결정하는 제 1 단계와; 상기 래치관리수단이 상기 해당 사용자 요구를 상기 래치큐에서 삭제하는 제 2 단계; 및 상기 래치관리수단이 다음 차례의 사용자 요구를 깨우는 제 3 단계로 이루어지는 것을 특징으로 하는 래치반환방법.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950025697A KR0146551B1 (ko) | 1995-08-21 | 1995-08-21 | 임계영역을 지원하는 래치 관리방법 |
US08/649,159 US5941975A (en) | 1995-08-21 | 1996-05-17 | Method of using a latch for controlling simultaneous access to a critical section |
JP8125718A JPH0962521A (ja) | 1995-08-21 | 1996-05-21 | 臨界領域を支援するラッチ管理方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950025697A KR0146551B1 (ko) | 1995-08-21 | 1995-08-21 | 임계영역을 지원하는 래치 관리방법 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR970012182A KR970012182A (ko) | 1997-03-29 |
KR0146551B1 true KR0146551B1 (ko) | 1998-09-15 |
Family
ID=19423910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950025697A KR0146551B1 (ko) | 1995-08-21 | 1995-08-21 | 임계영역을 지원하는 래치 관리방법 |
Country Status (3)
Country | Link |
---|---|
US (1) | US5941975A (ko) |
JP (1) | JPH0962521A (ko) |
KR (1) | KR0146551B1 (ko) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6412031B1 (en) * | 1998-02-10 | 2002-06-25 | Gateway, Inc. | Simultaneous control of live video device access by multiple applications via software locks and in accordance with window visibility of applications in a multiwindow environment |
US6499048B1 (en) * | 1998-06-30 | 2002-12-24 | Sun Microsystems, Inc. | Control of multiple computer processes using a mutual exclusion primitive ordering mechanism |
US7328263B1 (en) * | 2001-01-30 | 2008-02-05 | Cisco Technology, Inc. | Controlling access of concurrent users of computer resources in a distributed system using an improved semaphore counting approach |
US20100037086A1 (en) * | 2006-09-25 | 2010-02-11 | Koninklijke Philips Electronics N.V. | Robust critical section design in multithreaded applications |
US7801852B2 (en) * | 2007-07-31 | 2010-09-21 | Oracle International Corporation | Checkpoint-free in log mining for distributed information sharing |
US9230002B2 (en) * | 2009-01-30 | 2016-01-05 | Oracle International Corporation | High performant information sharing and replication for single-publisher and multiple-subscriber configuration |
KR101080845B1 (ko) * | 2009-10-30 | 2011-11-07 | (주)지노게임즈 | 교착 상태의 방지를 위한 데이터 처리 방법 및 시스템 |
US9678894B2 (en) * | 2015-03-27 | 2017-06-13 | Intel Corporation | Cache-less split tracker architecture for replay protection trees |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5175861A (en) * | 1988-10-14 | 1992-12-29 | Nec Corporation | Lock processing system |
US5263161A (en) * | 1989-07-26 | 1993-11-16 | Massachusetts Institute Of Technology | Non-busy waiting resource control |
JP2830116B2 (ja) * | 1989-07-27 | 1998-12-02 | 日本電気株式会社 | マルチプロセッサシステムにおけるロック制御機構 |
JPH05503177A (ja) * | 1989-08-21 | 1993-05-27 | マサチユセツツ・インスチチユート・オブ・テクノロジー | サービス要求リストの分散構成 |
US5161227A (en) * | 1989-11-13 | 1992-11-03 | International Business Machines Corporation | Multilevel locking system and method |
AU633724B2 (en) * | 1990-06-29 | 1993-02-04 | Digital Equipment Corporation | Interlock queueing |
US5263155A (en) * | 1991-02-21 | 1993-11-16 | Texas Instruments Incorporated | System for selectively registering and blocking requests initiated by optimistic and pessimistic transactions respectively for shared objects based upon associated locks |
US5276844A (en) * | 1991-08-05 | 1994-01-04 | Ascom Autelca Ltd. | Protection system for critical memory information |
DE69230462T2 (de) * | 1991-11-19 | 2000-08-03 | Sun Microsystems, Inc. | Arbitrierung des Multiprozessorzugriffs zu gemeinsamen Mitteln |
US5450592A (en) * | 1992-09-02 | 1995-09-12 | Data General Corporation | Shared resource control using a deferred operations list |
US5317749A (en) * | 1992-09-25 | 1994-05-31 | International Business Machines Corporation | Method and apparatus for controlling access by a plurality of processors to a shared resource |
-
1995
- 1995-08-21 KR KR1019950025697A patent/KR0146551B1/ko not_active IP Right Cessation
-
1996
- 1996-05-17 US US08/649,159 patent/US5941975A/en not_active Expired - Lifetime
- 1996-05-21 JP JP8125718A patent/JPH0962521A/ja active Pending
Also Published As
Publication number | Publication date |
---|---|
KR970012182A (ko) | 1997-03-29 |
US5941975A (en) | 1999-08-24 |
JPH0962521A (ja) | 1997-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2531881B2 (ja) | 並行制御方法 | |
Stone et al. | Multiple reservations and the Oklahoma update | |
Hoare | Monitors: An operating system structuring concept | |
US6792601B1 (en) | Multiple mode object locking method and system | |
US7526673B2 (en) | Parallel processing system by OS for single processors and parallel processing program | |
US8108696B2 (en) | Optimizing non-preemptible read-copy update for low-power usage by avoiding unnecessary wakeups | |
US9250978B2 (en) | Asynchronous grace-period primitives for user-space applications | |
US9389925B2 (en) | Achieving low grace period latencies despite energy efficiency | |
US7325148B2 (en) | Power supply management system in parallel processing system by OS for single processors and power supply management program therefor | |
US20060069738A1 (en) | Multi-processor computer system | |
US20050015625A1 (en) | Security management system in parallel processing system by OS for single processors | |
US6769121B1 (en) | Program execution device and process migrating method thereof and storage medium which stores process migration control program | |
US20050229184A1 (en) | Inter-processor communication system in parallel processing system by OS for single processors and program thereof | |
KR0146551B1 (ko) | 임계영역을 지원하는 래치 관리방법 | |
Stone | Database applications of the fetch-and-add instruction | |
Baker et al. | Real-time features for Ada 9X | |
JPH05225149A (ja) | ロック方式 | |
Liu et al. | Lock-free scheduling of logical processes in parallel simulation | |
Audsley | Resource control for hard real-time systems: A review | |
JPS58169659A (ja) | 共用ロツク制御方式 | |
Pons et al. | Mixed concurrency control: Dealing with heterogeneity in distributed database systems. | |
Niklander et al. | A real-time database for future telecommunication services | |
US5797138A (en) | Buffer management method using buffer locking mechanism in storage system for supporting multi-user environment | |
KR950014165B1 (ko) | Unix 운영체제에서의 임계영역 지원방법 | |
JP2018049406A (ja) | 複数プロセッサ間のタスク連携装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 19950821 |
|
PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 19950821 Comment text: Request for Examination of Application |
|
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 19980430 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 19980512 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 19980512 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20010427 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20020430 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20030430 Start annual number: 6 End annual number: 6 |
|
PR1001 | Payment of annual fee |
Payment date: 20040401 Start annual number: 7 End annual number: 7 |
|
PR1001 | Payment of annual fee |
Payment date: 20050502 Start annual number: 8 End annual number: 8 |
|
PR1001 | Payment of annual fee |
Payment date: 20060502 Start annual number: 9 End annual number: 9 |
|
PR1001 | Payment of annual fee |
Payment date: 20070502 Start annual number: 10 End annual number: 10 |
|
PR1001 | Payment of annual fee |
Payment date: 20080428 Start annual number: 11 End annual number: 11 |
|
PR1001 | Payment of annual fee |
Payment date: 20090504 Start annual number: 12 End annual number: 12 |
|
PR1001 | Payment of annual fee |
Payment date: 20100430 Start annual number: 13 End annual number: 13 |
|
FPAY | Annual fee payment |
Payment date: 20110511 Year of fee payment: 14 |
|
PR1001 | Payment of annual fee |
Payment date: 20110511 Start annual number: 14 End annual number: 14 |
|
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20130409 |