> public enum ThreadState
> {
>     Unknown = -1, // unknown or unitialized - added by Tibor Biro
>     Ready = 0, // ready to execute
>     Scheduled = 1, // executor has id
>     Started = 2, // executor has thread and is executing
>     Finished = 3, // executor has returned the finished thread
>     Dead = 4, // returned to owner OR aborted
> }
> 
> In the source, ThreadState has 5 defined states.  At what points in the
> process can thread state be set?  

[Tibor Biro] The thread state is set by the Manager as needed. For example
the Started state is set when the thread was started on the executor and so
on. The Unknown state is never set and it is used as "thread state not set"
in some internal structures.

How is a thread in each step of the
> process identified as having a particular state?

[Tibor Biro] Once the state is changed the new value is persisted to the
database.

I'm not sure if this answers your question, please follow-up if it does not.

Regards,
Tibor



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers

Reply via email to