[Q] Process간 POSIX Semaphore 사용시...
글쓴이: khk / 작성시간: 목, 2003/04/24 - 11:47오전
man page를 보면 다음과 같은 설명이 나옵니다.
Quote:
sem_init initializes the semaphore object pointed to by sem. The count
associated with the semaphore is set initially to value. The pshared
argument indicates whether the semaphore is local to the current process (
pshared is zero) or is to be shared between several processes ( pshared is
not zero). LinuxThreads currently does not support process-shared
semaphores, thus sem_init always returns with error ENOSYS if pshared is
not zero.
현재 리눅스에서 프로세스간 동기화를 위해 Semaphore를 사용할 경우 POSIX semaphore는 사용이 불가능한 것인지요?
SysV semaphore만을 써야하는지요?
Forums:
댓글 달기