HackerTrans
トップ新着トレンドコメント過去質問紹介求人

sthustfo

no profile record

コメント

sthustfo
·10 か月前·議論
asynchronous cancellation (when compared to deferred) is only recommended in scenarios where the thread does not share any data, semaphore or conditional variables with other threads. The target thread tends to cleanup any data within the thread cleanup handlers via pthread_cleanup_pop(). If not, the entire application might end up going down. Async cancellation has a very narrow application scope imho.