You can get a list of running threads with [ns_info threads], one of the 
items returned there is the threadid which should correspond to a value 
returned from [ns_thread id]

Alternately, you could have your detached threads set some richer state 
info than running/not running in a nsv and use that to create a status 
display.

-J

Sep Ng wrote:
> I have a few tasks that I launch with ns_thread begindetached and I'm
> wondering if I am able to use threadids to monitor them with AOLserver.
> Any ideas on how I can tell if the thread id is still active or if it
> exited already?
>
> Thanks!
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> aolserver-talk mailing list
> aolserver-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/aolserver-talk


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to