but in POSIX is more hardly.
The good article found here.
I think it have sense on i have a postcallback and i know maximum execution time. Or I'm wrong?
I do not know. I believe all these timeouts just make it more error-prone. You generally should not depend on timeout when dealing with semaphore (IMO!).