At 12:10 PM 10/24/02 +0100, Ray Hilton wrote:
I forgot to mention that I was forking the process, and on further
investigation it appears that fork()ing does not copy the threads :(
Why would you be forking _and_ using threads? Just curious...
Liz
I forgot to mention that I was forking the process, and on further
investigation it appears that fork()ing does not copy the threads :(
-Original Message-
From: Ray Hilton [mailto:rhilton@;info.com]
Sent: 24 October 2002 11:59
To: 'Perl-Ithreads'
Subject: Thread::Queue::Any and sharing
T
This is more to do with sharing in general, but I am currently using
Thread::Queue::Any so my various worker threads can read data off that
and process separate to the main thread. This is just a simple loop
like:
While($running) {
If(my(@args) = $q->dequeue_dontwait) {
&f