Timer Deadlock problem in timer_create and delete_timer
hi
I am getting error during one of my application development for mobile Key pad.
I am using (*+) as a mutiplex key.
The action is like
1. Short time key press : fire ' *' event to X,
2. Long time Key press: fire ' + ' event to X.
every time when the key PRESS my programe execute timer_create() and
every time when the key RELEASE my programe execute timer_delet().
my programme is succefully doing this fuctionality when the rate of key (Push or Release) / Sec is slow.
As soon as I increase the rate of key (Push or Release) / Sec I am getting the error message:
../linuxthreads/sysdeps/pthread/timer_routines.c:578: __timer_dealloc: Assertion `timer->refcount == 0' failed.
Can any body suggeste me how I can over come from this timer Deadlock. even tough I am successfull deleting time before creating again.
Thanks in Advance.
|