Method and apparatus for providing thread-specific computer...

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C707S793000, C709S241000, C709S241000

Reexamination Certificate

active

06418442

ABSTRACT:

BACKGROUND
1. Field of the Invention
The present invention relates to operating systems for computers. More specifically, the present invention relates to a method and apparatus for looking up thread-specific computer system parameters from a centralized repository.
2. Related Art
The recent proliferation of computer networks such as the Internet has lead to the development of computer languages, such as the JAVA™ programming language distributed by Sun Microsystems, Inc. of Palo Alto, Calif. (Sun, the Sun logo, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.) The Java programming language supports execution of platform-independent Java bytecodes, which can be transported across a computer network, such as the Internet, to remote computer nodes. These remote computer nodes include a “Java virtual machine” that is able to execute the Java bytecodes.
Java virtual machines typically support multiple threads of execution, thereby allowing a number of different bytecodes to execute concurrently. Unfortunately, existing Java virtual machines do not maintain certain types of thread-specific computer system configuration information. For example, a Java virtual machine provides only a single “System.out” variable specifying an output stream for screen output. This single System.out variable cannot be used for multiple threads that want to direct output to different destinations. This can pose a problem in implementing certain applications, such a chat server that maintains a plurality of different threads to converse with a plurality of different connections. Such a system is not practical to implement using a single System.out variable.
What is needed is a method and apparatus that provides a generic interface that allows individual threads to keep track of thread-specific computer system parameters.
SUMMARY
One embodiment of the present invention provides a system that looks up thread-specific computer system parameters from a centralized repository. These thread-specific computer system parameters govern interactions between threads and components within a computer system. The system operates by receiving a request from a thread to look up a thread-specific computer system parameter. In response to this request, the system obtains a thread identifier associated with the thread, and uses the thread identifier to look up the thread-specific computer system parameter from the centralized repository of computer system parameters. Next, the system uses the thread-specific computer system parameter in performing an action for the thread related to operation of a computer system component. For example, the system may use the thread-specific computer system parameter to “power on” or “power off” a board within a server.
In one embodiment of the present invention, the centralized repository includes a primary hash table that is indexed by thread identifier. In a variation on this embodiment, the centralized repository further comprises a plurality of secondary hash tables, wherein the plurality of secondary hash tables are referenced by entries in the primary hash table. These secondary hash tables are indexed by parameter type.
The thread-specific computer system parameters stored in the centralized repository can specify a number of things. For example, a thread-specific computer system parameter can specify: an input stream through which the thread receives input; an output stream through which the thread directs output; a current directory location for the thread; or a credential that allows the thread to access hardware resources in the computer system.
One embodiment of the present invention operates within a service processor that supports a server running multiple instances of an operating system.
One embodiment of the present invention operates in concert with a Java virtual machine.
In one embodiment of the present invention, if the step of looking up the thread-specific computer system parameter fails, the system looks up the thread-specific computer system parameter using an identifier for a parent of the thread.


REFERENCES:
patent: 5432926 (1995-07-01), Citron et al.
patent: 5598562 (1997-01-01), Cutler et al.
patent: 5835908 (1998-11-01), Bennett et al.
patent: 5899990 (1999-05-01), Maritzen et al.
patent: 6002872 (1999-12-01), Alexander III
patent: 6070173 (2000-05-01), Huber et al.
Bai et al., “Distributed end-to-end testing management”, 2001, Enterprise Distributed Object Computing Conference, pp. 140-151, Proceedings, Fifth IEEE International, 2001.*
Berekovic et al., “A programmable co-processor for MPEG-4 video”, 2001, Acoustics, Speech, and Signal Processing, pp. 1021-1024, Proceedings, IEEE International Conference on, vol. 2, 2001.*
Arcangeli et al., “An API for high-level software engineering of distributed and mobile applications”, 2001, Future Trends of Distributed Computing Systems, pp. 155-161, FTCDS 2001, Proceedings, The Eighth IEEE Workshop on, 2001.

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

Method and apparatus for providing thread-specific computer... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for providing thread-specific computer..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for providing thread-specific computer... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2832337

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