On Fri, 2010-08-27 at 12:09 -0400, Mathieu Desnoyers wrote:
The problem with allowing concurrency is that the moment you want to do
that you get the spawner context and error propagation problems.
Thus we're limited to spawning a single thread at timer_create() and
handling expirations in there. At that point you have to specify what
happens to an expiration while the handler is running, will it queue
handlers or will you have to carefully craft your handler using
timer_getoverrun().
But I really don't understand why POSIX would provide this composite
functionality instead of providing the separate bits to implement this,
which I think is only SIGEV_THREAD_ID which is missing.
--