LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

Rep: Reputation: 0
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.
 
  


Reply


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 10:49 PM
clock timer problem Half_Elf Linux - General 2 10-02-2004 05:19 PM
Diagnosing Deadlock jcase008 Linux - Software 3 07-03-2004 09:09 PM
How do I escape mysql RPM erase deadlock ?? tuka Linux - Newbie 1 09-06-2003 10:54 PM
deadlock rajani Programming 0 03-11-2002 06:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:49 PM.

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