[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Jul 9 08:28:02 2004 -->
- <!--x-from-r13: syrgpu ng culqrnhk.bet (Tyrgpu) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 1089212343.4911.7.camel@devel --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Perl + Semaphores -->
- <li><em>date</em>: Fri Jul 9 08:28:02 2004</li>
- <li><em>from</em>: fletch at phydeaux.org (Fletch)</li>
- <li><em>in-reply-to</em>: <1089212343.4911.7.camel@devel> (Chris Fowler's message of "07 Jul 2004 10:59:03 -0400")</li>
- <li><em>references</em>: <1089212343.4911.7.camel@devel></li>
- <li><em>subject</em>: [ale] Perl + Semaphores</li>
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>