Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-15-2005, 03:10 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Timer Deadlock problem in timer_create and delete_timer


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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in /usr/include/linux/timer.h santhosh.linux Linux - Software 0 12-01-2005 11:49 PM
clock timer problem Half_Elf Linux - General 2 10-02-2004 06:19 PM
Diagnosing Deadlock jcase008 Linux - Software 3 07-03-2004 10:09 PM
How do I escape mysql RPM erase deadlock ?? tuka Linux - Newbie 1 09-06-2003 11:54 PM
deadlock rajani Programming 0 03-11-2002 07:34 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration