Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Semaphores failing to prevent race condition

by roboticus (Canon)
on Mar 14, 2011 at 19:31 UTC ( #893121=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Semaphores failing to prevent race condition
in thread Semaphores failing to prevent race condition

Llew_Llaw_Gyffes:

Yeah, it's often very difficult to change I/O in an application after it's done. I like your idea of using your talker thread to handle the I/O for other threads, especially because it's the one that outputs character-by-character, rather than complete messages.

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re^5: Semaphores failing to prevent race condition

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://893121]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2013-05-22 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (460 votes), past polls