摘要 |
Provided are an apparatus and a method for forcibly terminating a thread blocked on an I/O operation by terminating the I/O operation, transmitting a user-defined signal to the thread blocked on the I/O operation, and temporarily releasing the corresponding thread from a blocked state such that a ThreadDeath Exception is generated with respect to the thread attempting to execute an I/O system call. The apparatus includes a control unit which checks a state of a thread that is included in an application, a signal transmitting unit which transmits a signal for releasing a blocked state of the thread, an operation managing unit which executes a first terminating function on the I/O operation that is included in the thread, and a thread managing unit which executes a second terminating function on the thread.
|