2
« on: September 07, 2010, 02:38:04 PM »
Hi,
I tried the deadlock detection sample in the documentation
I compiled as instructed
g++ -std=c++0x -pthread -D_JUST_THREAD_DEADLOCK_CHECK -g -rdynamic -o sample_deadlockcheck sample_deadlock.cpp -ljustthread -lrt
When running the program I do get the deadlock but I don't get the deadlock detection prinouts AND the app does not terminate (as it should with std::terminate), to make sure the standard error stream wasn't lost on me I called the sample like this
./sample_deadlockcheck &> log.out
I have not tested this on Windows yet, this was on Ubuntu
Best Regards
Kjell Hedström