Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kjellkod

Pages: [1]
1
General Discussion about just::thread / Re: deadlock detection
« on: September 08, 2010, 07:39:57 AM »
Thank you Anthony, that did it  :D

2
General Discussion about just::thread / deadlock detection
« 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

Pages: [1]