diff options
author | Christopher Faylor <me@cgf.cx> | 2005-01-06 14:09:14 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-01-06 14:09:14 +0000 |
commit | fdb83f2269574aaecfdb801ee3c3b45a1e06e019 (patch) | |
tree | bb2914ee5f6849e01f0bd82105323ca8384c1b44 /winsup/cygwin | |
parent | 23edaf199a1dec7914e8c1066994ddbcd2774684 (diff) | |
download | cygnal-fdb83f2269574aaecfdb801ee3c3b45a1e06e019.tar.gz cygnal-fdb83f2269574aaecfdb801ee3c3b45a1e06e019.tar.bz2 cygnal-fdb83f2269574aaecfdb801ee3c3b45a1e06e019.zip |
* timer.cc (timer_thread): Pass sigev pointer value as per SuSv3 rather than
pointer to sigev.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/timer.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e6686163b..0dee5fcd0 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-01-06 Christopher Faylor <cgf@timesys.com> + + * timer.cc (timer_thread): Pass sigev pointer value as per SuSv3 rather + than pointer to sigev. + 2005-01-05 Christopher Faylor <cgf@timesys.com> * dcrt0.cc (multiple_cygwin_problem): Reorganize error message to not diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc index e7ce45a32..fc234d835 100644 --- a/winsup/cygwin/timer.cc +++ b/winsup/cygwin/timer.cc @@ -133,7 +133,7 @@ timer_thread (VOID *x) debug_printf ("%p starting thread", x); int rc = pthread_create (¬ify_thread, tt.evp.sigev_notify_attributes, (void * (*) (void *)) tt.evp.sigev_notify_function, - &tt.evp.sigev_value); + tt.evp.sigev_value.sival_ptr); if (rc) { debug_printf ("thread creation failed, %E"); |