What is the difference between sema_init and sem_init ? Are there any specific usage scenarios and other dependencies for the respective APIs ?
+1
A:
- sema_init is from the Solaris thread library.
- sem_init is from the Posix pthread library.
Sjoerd
2010-07-05 11:05:59