Andrew Haley
6bab028494
posix-threads.cc (park): Rewrite code to handle time.
...
2009-11-17 Andrew Haley <aph@redhat.com >
* posix-threads.cc (park): Rewrite code to handle time.
Move mutex lock before the call to compare_and_swap to avoid a
race condition.
Add some assertions.
(unpark): Add an assertion.
(init): Move here from posix-threads.h.
* include/posix-threads.h (destroy): removed.
From-SVN: r154265
2009-11-17 18:05:00 +00:00
..
2008-10-23 22:44:26 -04:00
2007-04-23 21:12:10 +00:00
2009-08-22 13:22:20 +00:00
2004-07-01 04:09:07 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2007-07-31 16:17:21 +00:00
2006-05-20 23:33:07 +02:00
2007-01-12 12:30:56 +00:00
2009-04-28 04:02:30 +00:00
2002-03-06 18:54:45 +00:00
2006-03-28 16:12:52 +00:00
2007-01-09 19:58:05 +00:00
2006-10-14 20:11:12 +00:00
2008-09-23 13:51:58 +00:00
2005-09-08 21:26:25 +00:00
2007-05-17 03:53:45 +00:00
2007-06-28 19:35:25 +00:00
2008-08-22 16:04:29 +00:00
2007-01-29 17:43:34 +00:00
2007-05-04 01:04:11 +00:00
2005-09-23 21:31:04 +00:00
2009-09-30 22:20:54 +00:00
2006-11-20 19:49:08 +00:00
2007-04-23 21:12:10 +00:00
2006-08-02 22:18:05 +02:00
2004-07-09 03:39:35 +00:00
2009-11-17 18:05:00 +00:00
2007-03-23 00:06:41 +00:00
2006-03-10 23:31:15 +01:00
2004-07-14 13:09:09 +00:00
2006-03-16 02:44:10 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2007-02-22 14:13:34 +00:00
2007-01-09 19:58:05 +00:00
2007-01-12 12:30:56 +00:00