|
|
@ -720,6 +720,8 @@ IDevice::timer_uid_t CPhoneDevice::RegisterTimer(unsigned int timerType, unsigne
|
|
|
|
context->data = data;
|
|
|
|
context->data = data;
|
|
|
|
context->timerType = timerType;
|
|
|
|
context->timerType = timerType;
|
|
|
|
context->expectedTimes = times;
|
|
|
|
context->expectedTimes = times;
|
|
|
|
|
|
|
|
context->times = 0;
|
|
|
|
|
|
|
|
context->uid = 0;
|
|
|
|
|
|
|
|
|
|
|
|
evp.sigev_value.sival_ptr = context;
|
|
|
|
evp.sigev_value.sival_ptr = context;
|
|
|
|
evp.sigev_notify = SIGEV_THREAD; //SIGEV_THREAD_ID;
|
|
|
|
evp.sigev_notify = SIGEV_THREAD; //SIGEV_THREAD_ID;
|
|
|
|