17 #if defined (POK_NEEDS_EVENTS) || defined (POK_NEEDS_BUFFERS) || defined (POK_NEEDS_BLACKBOARDS)
21 #include <core/event.h>
22 #include <core/lockobj.h>
23 #include <core/syscall.h>
25 pok_ret_t pok_event_create (pok_event_id_t*
id)
29 lockattr.kind = POK_LOCKOBJ_KIND_EVENT;
31 lockattr.locking_policy = POK_LOCKOBJ_POLICY_STANDARD;
33 return pok_syscall2 (POK_SYSCALL_LOCKOBJ_CREATE, (uint32_t)
id, (uint32_t)&lockattr);