Re: semaphore/mutex



anoopsingh@xxxxxxxxx wrote:
how to use semaphore/mutex between two process not amongs threads in a
single process ??

Your question seems to be a bit unspecific - do you want to know
which functions for creating and controlling IPC semaphores there
are (semctl/semget/semop for SysV semaphores or sem_close/sem_open/
sem_timedwait/sem_unlink and sem_destroy/sem_getvalue/sem_init/
sem_post/sem_trywait/sem_wait for named and unnamed POSIX sema-
phores, but not all will be available everywhere) or how to use
them in a program? In the later case you probably will have to
tell what actually you want to do with them.

Regards, Jens
--
\ Jens Thoms Toerring ___ jt@xxxxxxxxxxx
\__________________________ http://toerring.de
.