Exception support mechanism for a threads-based operating system

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395670, G06F 900

Patent

active

057846138

ABSTRACT:
A method is disclosed for providing exception support in a computer having an operating system, the operating system providing application programming interfaces for use by a threads library to create, execute and cancel process threads. The threads library normally maintains a cleanup handler stack for each thread for use in effecting clean-up of state upon receipt of a thread cancel. The method begins when there is a predetermined exception handling macro associated with a current thread by pushing a pair of pointers onto the cleanup handler stack of that thread. The first pointer identifies a predetermined function and the second pointer identifies a particular exception context. Upon receipt of a thread cancel for the thread, the threads library invokes the predetermined function as a cleanup handler (with the exception context as its argument) to thereby map the thread cancel into an exception. The exception is then processed using an exception handling mechanism. The method advantageously enables the operating system to provide exception support for applications written to conform to the Distributed Computing Environment (DCE) standard even though the threads library does not otherwise support any mechanism for raising exceptions.

REFERENCES:
patent: 5197138 (1993-03-01), Hobbs et al.
patent: 5305455 (1994-04-01), Anschuetz et al.
patent: 5348588 (1994-09-01), Winston
patent: 5404529 (1995-04-01), Chernikoft et al.
patent: 5418956 (1995-05-01), Willman
patent: 5432933 (1995-07-01), Janick
patent: 5481719 (1996-01-01), Ackerman et al.
Doug moen, A Disipline of Error Handling, USENIX Assoc., pp. 123-133, Jun. 12, 1992.
Brian Bershad, David Redell, John Ellis Fast Mutual Exclusion for Uniprocessors, The SOM Toolkit User's Guide, pp. 12-1 to 12-8, May 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

Exception support mechanism for a threads-based operating system does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Exception support mechanism for a threads-based operating system, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Exception support mechanism for a threads-based operating system will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1657259

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