Comments on: pthread_exit() in C++ http://www.alexonlinux.com/pthread_exit-in-c Tue, 16 May 2023 15:06:12 +0000 hourly 1 https://wordpress.org/?v=4.9.23 By: Jaroslaw Kubik http://www.alexonlinux.com/pthread_exit-in-c/comment-page-1#comment-30057 Mon, 12 Nov 2012 16:58:33 +0000 http://www.alexonlinux.com/?p=1841#comment-30057 If you are the programmer calling pthread_exit, then a simple workaround would be to use some per-thread bool, then just before calling pthread_exit set it to – say – true, and in your catch code check for it and re-throw if necesary, so that pthread library has nothing to complain about. Wraping it up in some nice function would make it easily workable.

]]>