SEGFAULT on Thread isRunning(), in Common C++
"Stas Oskin" <[email protected]> Thu, 31 Aug 2006 14:30:04 +0300
| Newsgroups | gmane.comp.gnu.bayonne.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi. When the thread has exited from his run function, but is not deleted yet, calling isRunning() for this thread results in a SEGFAULT. This in contrary to what the API says: "Verifies if the thread is still running or has already been terminated but not yet deleted", so the result should be false, rather then SEGFAULT. I need this functionality in order to implement some sort of a watchdog, which will allow to detect non-running threads. Any help on this will be very appreciated. Stas.