In the first perl threads implementation, there was a java-esque method that 
allowed a thread owner, such as a pool or table of threads, to check the 
internal state of any given thread in order to determine if it was running or 
finished. I think perhaps the method was "finished()" or similar.

This method was deprecated for 5.8. Why? It seems as if the only straightforward 
approach to managing threads in a pool or a table involves sequentially 
join()ing each child thread from the parent. This of course blocks the parent 
repeatedly ;(

Why was the original method deprecated, and what mechanisms are people using for 
thread management (management of non-detatched threads, that is) in abscence of 
any straightforward approach?

Unfortunately, the thread ultimately being an object-ified subroutine instead of 
a real object, there does'nt even seem to be a simple way to create any sort of 
status-checking method on my own.

Any information?

-~.-~.-~.-~.-~.-~.-~.-~.-~.-~
-~
-~  Cliff Frensley
-~  [EMAIL PROTECTED]
-~  Seattle, WA
-~
-~
-.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to