17 #if defined (POK_NEEDS_EVENTS) || defined (POK_NEEDS_BUFFERS) || defined (POK_NEEDS_BLACKBOARDS)
21 #include <core/event.h>
22 #include <core/syscall.h>
23 #include <core/lockobj.h>
24 #include <core/syscall.h>
27 pok_ret_t pok_event_unlock (pok_event_id_t
id)
30 lockattr.operation = LOCKOBJ_OPERATION_UNLOCK;
31 lockattr.obj_kind = POK_LOCKOBJ_KIND_EVENT;
32 return pok_syscall2 (POK_SYSCALL_LOCKOBJ_OPERATION, (uint32_t)
id, (uint32_t)&lockattr);