Lock a resource
#include <sys/iofunc.h>
int iofunc_lock( resmgr_context_t * ctp,
io_lock_t * msg,
iofunc_ocb_t * ocb,
iofunc_attr_t * attr );
libc
The function iofunc_lock() does what is required for POSIX locks. This function isn't currently implemented.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |