* timer.cc (timer_thread): Pass sigev pointer value as per SuSv3 rather than
pointer to sigev.
This commit is contained in:
parent
23edaf199a
commit
fdb83f2269
|
@ -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>
|
2005-01-05 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* dcrt0.cc (multiple_cygwin_problem): Reorganize error message to not
|
* dcrt0.cc (multiple_cygwin_problem): Reorganize error message to not
|
||||||
|
|
|
@ -133,7 +133,7 @@ timer_thread (VOID *x)
|
||||||
debug_printf ("%p starting thread", x);
|
debug_printf ("%p starting thread", x);
|
||||||
int rc = pthread_create (¬ify_thread, tt.evp.sigev_notify_attributes,
|
int rc = pthread_create (¬ify_thread, tt.evp.sigev_notify_attributes,
|
||||||
(void * (*) (void *)) tt.evp.sigev_notify_function,
|
(void * (*) (void *)) tt.evp.sigev_notify_function,
|
||||||
&tt.evp.sigev_value);
|
tt.evp.sigev_value.sival_ptr);
|
||||||
if (rc)
|
if (rc)
|
||||||
{
|
{
|
||||||
debug_printf ("thread creation failed, %E");
|
debug_printf ("thread creation failed, %E");
|
||||||
|
|
Loading…
Reference in New Issue