Thanks for that, that puts my mind at rest.
Never having written any threaded/forked code before, I need to ask a
few questions:
- Is it safe for a "worker" thread to access hashes/arrays in the "boss"
thread if they only need read access to them?
- Any changes required to "boss" thread hashes/arrays should be handed
back from the "worker" thread through the queue system, and let the
"boss" process and change anything that needs to be changed? Or are boss
hash/array changes done in a worker thread OK? (that sounds like trouble
to be honest).
- Can "worker" threads call subs outside the workers call sub (i.e in
the boss's area)?
Nice examples in the threadutil zip, Robert... clean, simple, to the
point... great as always :)
Steve
[EMAIL PROTECTED] wrote:
Hi,
Yes Win32: :GUI: :ThreadUtils will be integrated into the core - it will not
change that much, perhaps the odd method or function call.
Cheers,
jez