in reply to
Re^2: Locked threads and tcp timeouts
in thread Locked threads and tcp timeouts
would a more drastic approach work ?
like getting the underlying Win32 handle
($thr->_handle()) of the worker thread (since threads in Windows are created with CreateThread after all), and kill the thread by passing the handle to the
TerminateThread api call ?
a note to the OP, when killing threads associated with calls to the dbms i.e sql execution, might lead to locked resources i.e tables or rows since there is no proper clean up