I receive errors if i don't put pthread_cleanup_push() and pthread_cleanup_pop() inside the same function
I guess cause they're somehow implemented as macros and the compiler or linker pretends them to be like that
Can someone give me a way to avoid this strong limitation??
P.S. Also : they have to be at the some logical/conditional level