View topic - Is there any API that returns the thread state?

Page 1 of 1

Is there any API that returns the thread state?

PostPosted: Mon Jan 31, 2011 9:09 am
by Aparna
I want to know if there is any POSIX API that takes thread id as input and returns the thread state for OMThread and OMOSThread.

RE: Is there any API that returns the thread state?

PostPosted: Thu Apr 07, 2011 9:43 am
by lovelyp
use the pidin command to see the state of the thread.

pidin -p <process_id> -f J displays the thread state of the specified process_id. If no POSIX API is there use this in system call

RE: Is there any API that returns the thread state?

PostPosted: Sat Apr 09, 2011 4:39 am
by maschoen
What is OMThread and OMOSThread?