Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-26-2005, 09:21 PM   #1
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.

Old 05-26-2005, 09:46 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
get yourself a free copy of
or if you hate actual reading just get the code samples


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

All times are GMT -5. The time now is 05:22 PM.

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