Michael Davidsaver
02a24a144d
Com: fix handling of thread joinable flag and refcnt
...
The second increment of refcnt must occur before pthread_create
or a subtle possibility of a double free() occurs if the thread
runs immediately and self-joins before the second inc.
Also use atomic ops for joinable flag to ensure that
concurrent joins will error properly.
2020-03-08 22:27:06 -07:00
..
2019-11-12 19:07:30 -08:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2019-12-18 23:58:02 -06:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2019-11-15 13:16:35 -06:00
2019-11-13 10:17:43 -08:00
2019-11-13 10:17:43 -08:00
2018-12-14 17:05:59 -06:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2020-02-13 13:22:26 +00:00
2019-11-12 19:07:30 -08:00
2018-10-26 17:04:53 -05:00
2020-02-14 13:28:44 +00:00
2020-03-08 22:27:06 -07:00
2020-02-13 14:21:54 +00:00
2018-12-12 15:17:02 -06:00
2019-09-09 19:29:58 -07:00
2019-10-06 20:10:20 -07:00
2018-06-19 11:25:46 +02:00
2020-02-29 14:46:13 -06:00
2020-02-13 14:21:54 +00:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2018-06-19 11:25:46 +02:00
2019-10-28 15:00:15 -05:00