in reply to Re: Can I/O operations on the same IO::Socket be executed in different threads?
in thread Can I/O operations on the same IO::Socket be executed in different threads?
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can I/O operations on the same IO::Socket be executed in different threads?
by noxxi (Pilgrim) on May 13, 2015 at 19:09 UTC |