# Inter process semaphore

**URL:** <https://www.ruby-forum.com/t/inter-process-semaphore/85212>\
**Category:** Ruby\
**Created:** [February 11, 2007, 1:51pm UTC](https://www.ruby-forum.com/t/inter-process-semaphore/85212 "2007-02-11T13:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 11, 2007, 1:51pm UTC](https://www.ruby-forum.com/t/inter-process-semaphore/85212/1 "2007-02-11T13:51:13Z")

</div>

Hi!  
Is there a way in ruby to use global system’s semaphore. I am using  
Linux and AFAIK in C you can have many programs using the same  
semaphore, but I do not know how to do this in Ruby :(.  
Best Regards,  
Roman Kamyk

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 11, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/inter-process-semaphore/85212/2 "2007-02-11T16:20:23Z")

</div>

On Sun, 11 Feb 2007, removed\_email\_address@domain.invalid wrote:

> Hi!  
> Is there a way in ruby to use global system’s semaphore. I am using  
> Linux and AFAIK in C you can have many programs using the same  
> semaphore, but I do not know how to do this in Ruby :(.  
> Best Regards,  
> Roman Kamyk

[http://sysvipc.rubyforge.org/](http://sysvipc.rubyforge.org/)  
[http://rubyforge.org/projects/sysvipc/](http://rubyforge.org/projects/sysvipc/)

-a
