Code with pthread specific semantics is not portable
When working on C11 thread library support, I found two cases where we use pthread specific semantics:
- Use of
void *
as a return type - Use of
PTHREAD_MUTEX_INITIALIZER
instead ofisc_mutex_init()
call