1 #ifndef ACL_MBOX_INCLUDE_H 2 #define ACL_MBOX_INCLUDE_H 18 #define ACL_MBOX_T_SPSC 0 19 #define ACL_MBOX_T_MPSC 1 ACL_API size_t acl_mbox_nread(ACL_MBOX *mbox)
ACL_API ACL_MBOX * acl_mbox_create2(unsigned type)
ACL_API int acl_mbox_send(ACL_MBOX *mbox, void *msg)
ACL_API size_t acl_mbox_nsend(ACL_MBOX *mbox)
ACL_API void acl_mbox_free(ACL_MBOX *mbox, void(*free_fn)(void *))
ACL_API void * acl_mbox_read(ACL_MBOX *mbox, int timeout, int *success)
ACL_API ACL_MBOX * acl_mbox_create(void)