S
Sebastien
Hello,
I've been rtfm'ing for days but can't a solution to this problem:
I have a thread that receives multiple client request thanks to an
endless loop through the accept() method. The new socket object
returned by accept() must be communicated to another master thread. I
am using the IO::Socket module.
When trying to use threads::shared or Thread::Queue, I keep getting
this failure:
Invalid value for shared scalar at ./X.pl line N.
So is there a way to share a socket/file handle accross threads?
Thank you
Sebastien
I've been rtfm'ing for days but can't a solution to this problem:
I have a thread that receives multiple client request thanks to an
endless loop through the accept() method. The new socket object
returned by accept() must be communicated to another master thread. I
am using the IO::Socket module.
When trying to use threads::shared or Thread::Queue, I keep getting
this failure:
Invalid value for shared scalar at ./X.pl line N.
So is there a way to share a socket/file handle accross threads?
Thank you
Sebastien