Ray molenkamp
f18373a9ab
Fix: BLI_task_test deadlock on windows.
...
This patch makes BLI_task_scheduler_create wait for all worker threads to have started before
returning to caller. For very short workloads (BLI_taks_test) there is the chance that the
worker threads have not fully started yet, and the main thread is calling pthread_join at
the same time as pthread_setspecific is being called on the worker threads which causes a
deadlock on pthreads4w.
Differential Revision: https://developer.blender.org/D4936
Reviewed By: mont29, sergey, brecht
2019-05-25 17:18:17 -06:00
..
2019-05-25 17:18:17 -06:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-18 07:59:28 +02:00
2019-04-22 06:30:08 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-05-23 16:32:58 +10:00
2019-05-22 14:28:10 +10:00
2019-04-17 06:21:24 +02:00
2019-04-29 10:46:04 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-22 06:30:08 +10:00
2019-02-18 08:22:12 +11:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 08:24:14 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-05-01 11:13:14 +10:00
2019-04-22 06:30:08 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-02-18 08:22:12 +11:00
2019-04-17 06:21:24 +02:00
2019-05-07 10:47:19 +02:00
2019-04-18 23:19:44 +03:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-02-18 08:22:12 +11:00
2019-04-17 06:21:24 +02:00
2019-05-22 13:29:04 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-22 06:30:08 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-05-14 23:45:14 +02:00
2019-05-21 22:39:04 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-20 13:03:49 +02:00
2019-04-17 06:21:24 +02:00
2019-05-17 15:02:12 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-22 06:30:08 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-05-08 17:49:27 +02:00
2019-04-22 06:30:08 +10:00
2019-04-18 07:59:28 +02:00