Implement mutex_new / mutex_delete

Issue #110 new
Patryk Kubiak created an issue

Implement the functions for simply creating and deleting the mutex (as part of POSIX modules). Here are the prototypes:

#!c

extern mutex_t mutex_new( mutex_attr_t Attributes );
extern bool mutex_delete( mutex_t * Mutex );

Use the functions:

#!c

extern oC_Mutex_t           oC_Mutex_New        ( oC_Mutex_Type_t Type , Allocator_t Allocator , AllocationFlags_t AllocationFlags );
extern bool                 oC_Mutex_Delete     ( oC_Mutex_t * Mutex , AllocationFlags_t AllocationFlags );

Comments (1)

  1. Log in to comment