semaphore/mutex
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > semaphore/mutex




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    semaphore/mutex  
anoopsingh@inbox.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-29-07 12:19 PM

how to use semaphore/mutex between two process not amongs threads in a
single process ??






[ Post a follow-up to this message ]



    Re: semaphore/mutex  
Jens Thoms Toerring


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-29-07 06:24 PM

anoopsingh@inbox.com 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@toerring.de
\__________________________      http://toerring.de





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:01 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register