One embodiment disclosed relates to a method of obtaining status
information from user threads of a target process. A system call is
performed from a querying process. The system call creates a kernel debug
thread in a kernel entity of the target process. The kernel debug thread
further creates a user status thread in a user entity of the target
process. The method may be used to obtain the status information without
stopping the target process. Another embodiment disclosed relates to an
operating system with capability to obtain status information from user
threads of a target process. The operating system includes at least the
following first and second system calls. The first system call is
configured to create a kernel debug thread in a kernel entity of the
target process. The second system call is configured to awake the kernel
debug thread and pass information to the kernel debug thread.