timer_create / POSIX non conformance ?

Reini Urban rurban@x-ray.at
Thu Jan 6 16:04:00 GMT 2005


claude.roblez@free.fr schrieb:
> The problem appears with the [timer_create] function called with a [sigevent]
> structure having its [sigev_notify] member set to [SIGEV_THREAD].
> In this case, the function pointed to by the [sigev_notify_function] member is
> prototyped [void(*)(union sigval)] and should receive the [sigev_value] member.
> (according to "The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004
> Edition")
...
> The last argument: [&tt.evp.sigev_value] is probably wrong (passing an address)

Whow! Good catch.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list