mtm
7f947a0032
_pthread_cancel() breaks the normal lock order of first locking the
...
joined and then the joiner thread. There isn't an easy (sane?) way
to make it use the correct order without introducing races involving
the target thread and finding which (active or dead) list it is on. So,
after locking the canceled thread it will try to lock the joined thread
and if it fails release the first lock and try again from the top.
Introduce a new function, _spintrylock, which is simply a wrapper arround
umtx_trylock(), to help accomplish this.
Approved by: re/blanket libthr
2003-05-25 08:48:11 +00:00
..
2003-02-17 17:26:03 +00:00
2003-05-04 18:34:00 +00:00
2003-04-20 18:38:59 +00:00
2003-04-20 18:41:16 +00:00
2002-05-13 11:09:07 +00:00
2002-09-28 00:25:32 +00:00
2003-05-24 19:53:08 +00:00
2003-05-24 19:53:08 +00:00
2002-12-27 12:15:40 +00:00
2003-03-24 16:02:05 +00:00
2003-05-19 15:52:01 +00:00
2003-02-17 18:56:00 +00:00
2003-05-22 13:02:28 +00:00
2003-04-30 21:03:16 +00:00
2003-02-06 11:25:03 +00:00
2002-12-27 12:15:40 +00:00
2003-05-22 13:02:28 +00:00
2002-05-21 07:08:30 +00:00
2002-12-27 12:15:40 +00:00
2003-05-17 19:05:17 +00:00
2003-04-17 07:20:00 +00:00
2002-08-25 13:10:45 +00:00
2002-09-28 00:25:32 +00:00
2003-05-24 02:29:25 +00:00
2003-05-16 21:26:42 +00:00
2003-03-24 16:02:05 +00:00
2002-05-21 07:08:30 +00:00
2002-05-12 16:01:00 +00:00
2003-01-28 23:03:15 +00:00
2003-04-04 04:16:06 +00:00
2003-04-30 15:49:40 +00:00
2003-01-01 18:49:04 +00:00
2002-10-04 00:24:31 +00:00
2003-05-24 19:53:08 +00:00
2002-05-21 05:41:07 +00:00
2002-09-28 00:25:32 +00:00
2003-05-24 19:53:08 +00:00
2002-09-28 00:25:32 +00:00
2002-10-01 22:02:06 +00:00
2002-05-13 11:09:07 +00:00
2002-09-28 00:25:32 +00:00
2002-05-13 11:09:07 +00:00
2002-05-13 11:09:07 +00:00
2003-04-25 06:44:56 +00:00
2002-11-29 15:57:50 +00:00
2002-05-13 11:09:07 +00:00
2003-05-25 08:48:11 +00:00
2003-03-30 18:00:24 +00:00
2003-01-07 13:18:21 +00:00
2003-05-22 13:02:28 +00:00
2003-05-05 06:25:03 +00:00
2003-01-01 18:49:04 +00:00
2003-05-12 21:59:16 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2003-03-09 19:56:21 +00:00
2003-03-14 01:47:01 +00:00
2003-05-22 17:07:57 +00:00
2003-04-30 15:49:40 +00:00
2003-05-19 15:52:01 +00:00
2002-09-28 00:25:32 +00:00