I would like to use POSIX semaphores (sem_open(), sem_wait(), sem_post(), etc.) in a uClinux/uClibc system. In the 20100315 distribution, the uClibc version is still old enough that these functions are not implemented (well, they are, but they simply return an errno indicating "function does not exist").
I think that the newest uClibc's do have these functions implemented. Can I simply drop a newer uClibc into an existing uClinux-dist without introducing too many problems? Alternately, should I consider just lifting the implementations of the functions I need from a newer uClibc and then compiling them into my system which is still based on the older uClibc, or is that asking for trouble? Also, the POSIX semaphore functions that do exist (the ones for unnamed semaphores) appear to be implemented in a very pthread specific way. Since I'm synchronizing access to shared memory regions between two _processes_, would the uClibc implementations even work for me at all? Is there an altogether different mutual exclusion locking mechanism that I should consider using? Thanks for any advice, --Dave _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev