[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



    Chris> Guys/Gals, Is there a perl module like POSIX::IPC that will
    Chris> allow me to work with semaphores?  I need to do some
    Chris> locking.  If not I can easily crank one out in C and XSUBS.

NAME
       IPC::Semaphore - SysV Semaphore IPC object class

SYNOPSIS
           use IPC::SysV qw(IPC_PRIVATE S_IRWXU IPC_CREAT);
           use IPC::Semaphore;

           $sem = new IPC::Semaphore(IPC_PRIVATE, 10, S_IRWXU | IPC_CREAT);


See also IPC::Shareable from CPAN if you need to share whole datastructures.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00206" href="msg00206.html">[ale] Perl + Semaphores</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00275.html">[ale] Q: How can I capture a binary block with emacs/gdb?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00277.html">[ale] programming languages</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00206.html">[ale] Perl + Semaphores</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00207.html">[ale] SMB File Size limitation</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00276"><strong>Date</strong></a></li>
<li><a href="threads.html#00276"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>