Package: libcommoncpp2-1.5-0 Severity: normal Hi,
the ost::Thread::isRunning() method seems to always return true, as the simple code below shows by not coming back... This applies to 1.5.1-4 (etch), 1.5.3-1 (sid). A known working upstream version is 1.0.13. MfG, Stephan Test code: --- #include <iostream> #include <cc++/thread.h> class MyThread: public ost::PosixThread { public: void run() { std::cout << "Thread run." << std::endl; } }; int main() { MyThread myThread; myThread.start(); while (myThread.isRunning()) { std::cout << "Thread still running." << std::endl; MyThread::sleep(1000); } } --- -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-k7 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]