No such thing as a small change | |
PerlMonks |
Re^2: Can I/O operations on the same IO::Socket be executed in different threads?by Anonymous Monk |
on May 13, 2015 at 00:27 UTC ( [id://1126482]=note: print w/replies, xml ) | Need Help?? |
Just to clarify—you are saying that the concerns in IO::Socket::SSL + fork problem do not apply in this case? How do you envision such socket being managed? Perusing threads::shared and my $sock :shared; will ensure coherent state? The Net::SSLeay itself is thread-safe, but does it support shared sockets? Any special concerns, such as nonblocking mode or cross-thread callbacks?
In Section
Seekers of Perl Wisdom
|
|