LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-26-2005, 10:21 PM   #1
wallwaters
LQ Newbie
 
Registered: May 2005
Posts: 9

Rep: Reputation: 0
Timer Event


How to implement the timer event like WM_TIMER in windows.

My requirement is like this

I have one thread which polls the serial port for data. I dont want my poll thread to run all the time. I want to setup timer it should poll every 2000 milli secounds.

Thanks
Suneel
 
Old 05-26-2005, 10:46 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
get yourself a free copy of
http://www.advancedlinuxprogramming.com/
or if you hate actual reading just get the code samples
 
  


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
Event Capturing rem1986 Linux - General 2 12-13-2005 01:11 PM
Lockup on power event... grcore Mandriva 4 10-10-2005 08:19 AM
Event logging RajaRC Linux - Networking 2 10-28-2004 01:59 AM
Event Sounds.. jhorvath Slackware 2 10-01-2002 05:13 PM
New IP address event ? krumholz Linux - Networking 2 08-01-2002 01:02 PM


All times are GMT -5. The time now is 10:16 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration