Return to previous page | Return to menu | Go to next page


void
Event management function

slCloseEvent

Delete event

Format

void slCloseEvent(evptr)
EVENT *evptr ;

Parameter

evptr Start address of the area where the event to be deleted is stored

Function

Detaches the event registered in the execution list from the list and releases the area. If the work is secured, it is also released.

Return value

None

Remarks

If an event that is not registered in the execution list is specified, the list information is incorrect, so the list change process will be executed for an illegal event, writing to an unpredictable address will occur, and in the worst case the CPU will May stop.

Reference: Chapter 10 Event Control

slCloseEvent


Return to previous page | Return to menu | Go to next page