Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Regulating write access to pipes using semaphores

by almut (Canon)
on Jul 26, 2010 at 14:42 UTC ( #851374=note: print w/replies, xml ) Need Help??

in reply to Regulating write access to pipes using semaphores

But the reads/writes dont seem to be happening as planned.

As the snippets of code you've posted are incomplete (and thus do not allow to reproduce the issue), it would help if you could describe in more detail what exactly is happening (and what you expect), and also what is setting the values of $signal_received and $total_signals.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://851374]
[haukex]: Corion: Yes exactly, in the author tests I don't worry about portability as much, I also don't list the author tests' dependencies in Makefile.PL
[haukex]: I figure someone who wants to contribute will know how to install the missing modules ;-) Not the nicest way to go but I don't think many people are using my modules yet
[ambrus]: Corion: some of these stupid syntax highlighters assume that too. just look at the table in http://perldoc. functions/pack. html for example.
[haukex]: ..."yet" ;-) I haven't had to deal with Dist::Zilla yet but I've heard about how it's a big setup
[ambrus]: I really don't like automagic stuff. I'm happy when computers do exactly what I tell them, even if that means they sometimes do the wrong thing.
[ambrus]: And I don't much like syntax highlighters. If you need a syntax highlighter to understand your code, then your code is written unclear.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2017-02-27 12:41 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.