LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2009, 11:05 AM   #1
ytrew
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Linux timers...


What are the Linux system calls have to be used to write user-space timers?
And please suggest me how to write concurrent timers, i.e, have to create four separate timers and it must run simultaneously.
 
Old 06-29-2009, 12:45 PM   #2
sonnik
Member
 
Registered: May 2001
Posts: 149

Rep: Reputation: 17
Can you provide more context? In the case of a shell function, you may want to check out the "sleep" command.
 
Old 06-29-2009, 01:10 PM   #3
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Rep: Reputation: 16
Do you need timers with interrupts to be used in c program?
 
Old 06-30-2009, 08:25 AM   #4
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Look at the timer_create API.
 
Old 06-30-2009, 09:05 AM   #5
ytrew
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Linux Timers...

I'm writing a C program that require concurrent Timers logic. Can anybody share the logic? or any open-source concurrent timers?
 
  


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
Linux timers arabindav Linux - General 3 05-20-2011 07:33 AM
Linux Timers Mr.J Linux - Newbie 1 01-28-2009 03:06 AM
Linux timers arabindav Programming 2 10-26-2006 01:52 AM
C - Linux - Timers - How? drigz Programming 6 08-30-2004 02:36 PM
Help with Linux timers samble Programming 8 02-07-2004 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 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
Open Source Consulting | Domain Registration