mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
b54962689a
With `pthread_cleanup_(push|pop)` you can define a function that should be ran if the thread is exited while it is inside this scope. A thread can be ended here through an explicit call to `pthread_exit()`, or if cancellation was requested and a cancellation point was hit. `pthread_cleanup_*` is mostly only useful together with cancellation points, and cancellation points are only useful with a cleanup functionality. Cancellation points are at least partially implemented by means of `pthread_testcancel()`. C.f. ["Cancellation Points"][1]. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_05_02 |
||
---|---|---|
.. | ||
test_bloom | ||
test_bloom_bytes | ||
test_disable_module | ||
test_float | ||
test_hwtimer | ||
test_hwtimer_spin | ||
test_irq | ||
test_mutex_unlock_and_sleep | ||
test_nativenet | ||
test_net_if | ||
test_pnet | ||
test_posix_semaphore | ||
test_posix_sleep | ||
test_pthread | ||
test_pthread_cleanup | ||
test_pthread_cooperation | ||
test_queue_fairness | ||
test_sha256 | ||
test_shell | ||
test_thread_basic | ||
test_thread_cooperation | ||
test_thread_exit | ||
test_thread_msg | ||
test_thread_msg_block_w_queue | ||
test_thread_msg_block_wo_queue | ||
test_thread_msg_seq | ||
test_vtimer_msg | ||
Makefile.tests_common |