DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

os_post_events(D3psm)


os_post_events -- notify the operating system of special events

Synopsis

   void os_post_events(ms_event_t events)

Description

os_post_events notifies the operating system of one or more special events that have occured since the last time it was called. The bitmask of events indicated by events will be logically ORed into a bitmask of events that the operating system has not yet processed for the current CPU.

The events must not include MS_EVENT_PSM_1 or MS_EVENT_PSM_2.

os_post_events must be called with interrupts disabled on the CPU.

os_post_events may be called only from an interrupt delivery function that returns os_intr_dist_nop or an ms_intr_dist_t structure that has the MSI_EVENTS flag set. This limits the places in which the operating system has to check for posted events. See MSOP_INTR_ATTACH(D2psm) for details.

Arguments


events
bitmask of the special events (see data_types(D4psm))

Return values

None.

Usage

Hardware applicability

All.

Version applicability

psm: 2

References

data_types(D4psm), MSOP_INTR_ATTACH(D2psm)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005