LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-29-2010, 11:10 AM   #16
MarijaS
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Original Poster
Rep: Reputation: 0

OK, finally it works!

But, something weird is happening...
I use function clock_gettime() and also gettimeofday(), and with both of them, I got that interval of calling my handler (timer_callback) function is nearly 4 or 8 ms...
 
Old 07-30-2010, 04:46 AM   #17
MarijaS
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Original Poster
Rep: Reputation: 0
OK, finally it works!

But, something weird is happening...
I use function clock_gettime() and also gettimeofday(), and with both of them, I got that interval of calling my handler (timer_callback) function is nearly 4 or 8 ms... (I've put 5ms for timer interval)
 
  


Reply

Tags
c++, linux


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
how to implement piping between different processes in Linux Xianli Linux - Newbie 2 05-16-2008 09:51 AM
how to implement piping between different processes in Linux?? Xianli Programming 2 05-15-2008 08:42 AM
Clone a 300Gb disk on a periodical base on Linux(Fedora5)?? byteclock Linux - Software 1 05-23-2006 02:11 AM
periodical performance collapse on centrino/mdk10.0 tac Linux - Laptop and Netbook 0 11-21-2004 08:02 AM


All times are GMT -5. The time now is 02:55 PM.

Main Menu
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