In <002701bfb5d2$e8027ce0$750a878c@ice.cycu.edu.tw> Ariel Chen (chenyp@brahms.ice.cycu.edu.tw) wrote:
> I write a test file for POSIX Semaphore!!
> I have see the semaphore manual page in Linux (use man sem_init) .
DO YOU ?
-- cut --
LinuxThreads currently does not support process-shared semaphores,
thus sem_init always returns with error ENOSYS if pshared is not zero.
-- cut --
> But the file can't be complied. It appears some errors.
Of course. while instead of for and */ after exit(0) :-)) When you'll fix
typos and will use -lpthread it'll work as desired: abort after sem_init call...
> So, I am not sure whether Linux implement POSIX semaphore??
Read man page once more. Discuss Linux Threads limitations with glibc
developers. It's does not look like kernel issue.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:15 EST