davidxu 61033245ae In revision 231989, we pass a 16-bit clock ID into kernel, however
according to POSIX document, the clock ID may be dynamically allocated,
it unlikely will be in 64K forever. To make it future compatible, we
pack all timeout information into a new structure called _umtx_time, and
use fourth argument as a size indication, a zero means it is old code
using timespec as timeout value, but the new structure also includes flags
and a clock ID, so the size argument is different than before, and it is
non-zero. With this change, it is possible that a thread can sleep
on any supported clock, though current kernel code does not have such a
POSIX clock driver system.
2012-02-25 02:12:17 +00:00
..
2008-10-22 21:56:57 +00:00
2011-11-26 16:49:25 +00:00
2011-10-01 12:19:48 +00:00
2011-10-01 12:19:48 +00:00
2012-02-17 12:40:27 +00:00
2011-05-25 14:13:53 +00:00
2011-03-16 08:58:09 +00:00
2012-02-18 00:55:54 +00:00
2011-06-18 00:29:10 +00:00
2009-11-25 04:45:45 +00:00
2012-02-11 20:28:42 +00:00
2011-12-20 22:56:13 +00:00
2011-12-20 22:56:44 +00:00
2009-03-04 01:01:26 +00:00
2009-03-04 01:01:26 +00:00
2011-02-04 16:40:50 +00:00
2010-02-02 19:44:51 +00:00
2010-01-20 11:59:46 +00:00
2008-03-13 10:25:30 +00:00
2011-02-04 16:40:50 +00:00
2009-05-07 13:49:48 +00:00
2010-01-24 14:44:05 +00:00
2010-01-17 15:43:14 +00:00
2007-10-30 15:26:20 +00:00
2006-04-18 21:37:24 +00:00
2009-11-25 04:45:45 +00:00