[riot-devel] How to wait for a thread to end?
mail at martine-lenders.eu
Wed Jul 24 19:18:42 CEST 2019
not 100% sure if this can be done generally (apart from the state checks it
should AFAICS), but have a look how the pthread implementation how it
implements `pthread_join()`  which is essentially what you are trying to
do (see pthread_join(3)).
Am Mi., 24. Juli 2019 um 19:06 Uhr schrieb Julian Holzwarth <
julian.holzwarth at fu-berlin.de>:
> Dear riot developers,
> while writing tests I want to wait for a thread I created to end. I tried
> something with changing my own priority but it did not work.
> How can I wait for a thread to end?
> Thank you in advance.
> devel mailing list
> devel at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel