##### Synopsis

    #include <ctl_api.h>
    void ctl_events_set_clear(CTL_EVENT_SET_t *eventSet,
                              CTL_EVENT_SET_t set,
    						  CTL_EVENT_SET_t clear);

##### Description

This will set the events defined by set and clear the events defined by clear of the event set pointed to by eventSet. This function will then search the task list, matching tasks that are waiting on the eventSet, and make them runnable if the match is successful.

##### Portability

ctl_events_set_clear is provided in every implementation of the CrossWorks tasking library.

##### See Also

Event Sets