This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: timer_create / POSIX non conformance ?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]