Re: semaphore/mutex
- From: jt@xxxxxxxxxxx (Jens Thoms Toerring)
- Date: 29 Mar 2007 13:18:09 GMT
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
.
- References:
- semaphore/mutex
- From: anoopsingh
- semaphore/mutex
- Prev by Date: Re: multiple incoming connections - socket programming
- Next by Date: Re: CPU utilization on uLinux
- Previous by thread: semaphore/mutex
- Next by thread: My own DNS resolver
- Index(es):