[uClibc] Named semaphores?

Robin Getz rgetz at blackfin.uclinux.org
Wed Aug 17 14:37:21 UTC 2005


I was looking into an issue that a user reported about the uClinux 
implementation that was related to uClibc. They were hoping to use a named 
semaphore ( sem_open(), sem_wait(), sem_trywait(), sem_post(), and 
sem_close()) to synchronize communication between 2 separate processes.

http://blackfin.uclinux.org/forum/message.php?msg_id=3069

However, in uClibc/libpthread/linuxthreads/semaphore.c the function 
sem_open, sem_close, and sem_unlink seems to be just stub functions ,and 
set errno to ENOSYS (The function is not supported)

If there are no plans on working on these functions (which is OK), does 
anyone else have any ideas to suggest to solve the problem?

Thanks
-Robin




More information about the uClibc mailing list