Attention is currently required from: osmith, lynxis lazus.
1 comment:
File daemon/tun_device.c:
Patch Set #3, Line 200: pthread_cleanup_pop(1);
Daniel already asked, but it's not answered and I don't see it: how do you reach this, since there's […]
Sorry we discussed this through jabber since it's a bit of a complex topic. In summary, check "man pthread_cleanup_push". push/pop can be implemented as a while loop, as specified by POSIX. And if you check /usr/include/pthread.h, it is actually implemented that way in linux. This adds further restrictions, like having to put both push/pop, and having to put them in the same function block.
So in reality the function is not called, and we don't need it called, but it's needed to make the "do while" block.
To view, visit change 27739. To unsubscribe, or for help writing mail filters, visit settings.