Synopsis
#include <ctl_api.h> extern CTL_EVENT_SET_t ctl_libc_mutex;
Description
ctl_libc_mutex is the event set used to serialise access to C library resources. The event set is used as follows:
- bit 0 — used by malloc and free
- bit 1 — used by printf
- bit 2 — used by scanf
- bit 3 — used by debug input and ouput operations
Portability
ctl_libc_mutex is provided in every implementation of the CrossWorks tasking library.