Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Failing tests of Test::TCP on Windowsby Corion (Patriarch) |
on Mar 06, 2013 at 08:08 UTC ( [id://1021975]=note: print w/replies, xml ) | Need Help?? |
The semantics of threads are far easier to reason about, as closing a handle in one thread will close the handle for the complete process for example. When using fork(), this would be unexpected, but when using the fork emulation on Windows, the same happens. This is obvious when you keep in mind that on Windows, fork emulation is implemented through threads, but programmers using fork() do usually not come from Windows and don't think of fork behaving differently.
In Section
Seekers of Perl Wisdom
|
|