Patent
1997-08-14
1998-06-23
Toplu, Lucien U.
395673, 395678, G06F 944, G06F 946
Patent
active
057713820
ABSTRACT:
The present invention is a system and method to avoid static variable initialization and reference conflicts in a multi-threaded computer system. There are four major problems that arise with computer programs containing static variable references and static variable initializations on a computer system with a multi-threaded operating system: (1) premature references made on an uninitialized static variable; (2) side effects caused by initialization competition among threads; (3) multiple initialization of the same static variable; and (4) server control of static variable reference and initialization. Each of these four problems is eliminated by the system and method of this invention. The invention operates by locking the CPU during identification of the first thread seeking to initiate a static variable operation, maintaining all other threads in a wait state, and unlocking the CPU thus releasing the waiting threads from their wait state. Another component of the invention provides an additional control mechanism to invoke the disclosed static variable controller to eliminate potential static variable conflicts among competing threads.
REFERENCES:
patent: 5404521 (1995-04-01), Murray
patent: 5421013 (1995-05-01), Smith
"Advanced Windows NT" Jeffrey Rizhter, Microsoft Press, 1993.
"Programming under Mach" by Joseph Boykin. Addison-Wesley-Publishing Company, 1993.
"The C Programming Language" by Brian W. Kernizhan Prince Hall. 1988.
Rex Jaeschle, "Let's C Now: Recursion, Variable Classes and Scope," The DEC Professional, vol. 3, No. 4, Jul. 1984, pp. 84-93.
Korenshtein Roni
Wang I-Shin Andy
International Business Machines - Corporation
Johnson, Esq. Prentiss W.
Park Alice
Toplu Lucien U.
LandOfFree
System and method for synchronizing static variable initializati does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with System and method for synchronizing static variable initializati, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for synchronizing static variable initializati will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1400904