sfan5 663c936428 Fix synchronization issue at thread start
If a newly started thread immediately exits then m_running would
immediately be set to false again and the caller would be stuck
waiting for m_running to become true forever.
Since a mutex for synchronizing startup already exists we can
simply move the while loop into it.

see also: #5134 which introduced m_start_finished_mutex
2022-05-02 20:54:55 +02:00
..
2022-04-30 16:49:41 +02:00
2022-04-08 14:55:21 +01:00
2022-04-08 14:55:21 +01:00
2022-04-30 16:49:41 +02:00
2022-04-08 14:55:21 +01:00
2017-08-17 22:19:39 +02:00
2022-04-30 16:49:41 +02:00
2022-04-08 14:55:21 +01:00
2022-04-08 14:55:21 +01:00
2019-12-07 23:46:24 +01:00
2019-01-16 13:39:13 +01:00
2017-08-30 08:09:41 +02:00
2022-03-14 21:01:36 +01:00
2021-01-22 15:09:26 +00:00
2021-12-29 23:01:26 +01:00
2022-03-05 22:16:17 +01:00
2022-04-08 14:55:21 +01:00
2021-01-24 14:40:34 +00:00
2017-08-17 22:19:39 +02:00
2017-08-17 22:19:39 +02:00
2022-02-08 19:31:24 +01:00
2022-04-30 16:49:41 +02:00
2020-10-19 09:31:09 -07:00
2022-02-26 14:39:41 +01:00
2020-09-09 19:12:03 +02:00
2020-12-23 14:48:08 -08:00
2019-08-13 19:56:55 +02:00
2017-08-17 22:19:39 +02:00
2022-04-08 14:55:21 +01:00
2017-08-17 22:19:39 +02:00