System and method for synchronizing static variable initializati

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Other Related Categories

395673, 395678, G06F 944, G06F 946

Type

Patent

Status

active

Patent number

057713820

Description

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.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

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.

Rate now

     

Profile ID: LFUS-PAI-O-1400904

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.