Computer program product for synchronizing static variable initi

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395676, 395672, G06F 940

Patent

active

058527311

ABSTRACT:
The present invention is a computer program product 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
"The O Programming Language" by Brain W. Kernighan Prentice Hall, 1988.
"Programming under Mach" by Joseph Boykin, Addison -Wesley Publishing Company 1993.
"Advanced Windows NT", Jeffrey Richter, Microsoft Press, 1993.

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

Computer program product for synchronizing static variable initi does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Computer program product for synchronizing static variable initi, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Computer program product for synchronizing static variable initi will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2055022

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