Browse Prior Art Database

Mechanism for Workstation Event Registration

IP.com Disclosure Number: IPCOM000112576D
Original Publication Date: 1994-Jun-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 36K

Publishing Venue

IBM

Related People

Callaway, JR: AUTHOR [+3]

Abstract

Disclosed is a mechanism for registering workstation events.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 81% of the total text.

Mechanism for Workstation Event Registration

      Disclosed is a mechanism for registering workstation events.

      In some Network Operating Systems (NOS), there is no method for
applications to receive notification when significant workstation
events occur.  These events include user logon and logoff, process
logon and logoff, and network service start and stop.  Applications
must poll until they detect an event of interest.  This approach
severely drains system performance and does not allow timely reaction
to events.

      To solve this problem, a event-registration mechanism was
created.  This mechanism allows applications to register for
workstation network events.  The mechanism was implemented through
the use of application programming interfaces (APIs) and the OS/2*
semaphore facility.  The APIs are defined as follows.

API_ENTRY NetRegisterEvent (ULONG Event,
                            HEV   EventSemaphore);

API_ENTRY NetDeregisterEvent (ULONG Event,
                              HEV   EventSemaphore);

      An application would thus call the NetRegisterEvent API to
register for a particular network event.  An example of some
workstation network events follows:
enum NetworkEvents
   {
    NET_EVENT_USER_LOGON,
    NET_EVENT_USER_LOGOFF,
    NET_EVENT_REQ_START,
    NET_EVENT_REQ_STOP
   };

The methods used to implement the event-registration mechanism are
define...