|
From: <sv...@va...> - 2008-06-28 16:05:56
|
Author: bart Date: 2008-06-28 17:06:01 +0100 (Sat, 28 Jun 2008) New Revision: 8299 Log: Added comment. Modified: trunk/exp-drd/tests/pth_inconsistent_cond_wait.c Modified: trunk/exp-drd/tests/pth_inconsistent_cond_wait.c =================================================================== --- trunk/exp-drd/tests/pth_inconsistent_cond_wait.c 2008-06-28 16:01:43 UTC (rev 8298) +++ trunk/exp-drd/tests/pth_inconsistent_cond_wait.c 2008-06-28 16:06:01 UTC (rev 8299) @@ -1,3 +1,10 @@ +/** Trigger two kinds of errors: once that condition variable s_cond is + * associated with two different mutexes (s_mutex1 and s_mutex2), and two + * times that pthread_cond_signal() is called without that the mutex + * associated with the condition variable is locked. + */ + + #include <pthread.h> #include <semaphore.h> #include <unistd.h> |