martmists
09/21/2022, 3:11 PMTijl
09/21/2022, 3:20 PMWorker
martmists
09/21/2022, 4:06 PMrusshwolf
09/21/2022, 4:07 PMmartmists
09/21/2022, 4:14 PMmbonnin
09/21/2022, 4:33 PMpthread_create()
on nativekpgalligan
09/22/2022, 11:26 AMArkadii Ivanov
09/22/2022, 1:30 PMmartmists
09/22/2022, 1:56 PMYou can also block on a worker waiting for a result, but in coroutines you can run blocking. If the call is blocking, though, what's the goal of a background thread? Just curious.The background thread would continuously monitor a process and update an array, and the blocking code would get the value of that array at certain intervals.