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


  Search this Thread
Old 05-07-2004, 07:35 AM   #1
LQ Newbie
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Timed execution of a function


sometime back I used open GL on Tru 64, I had used a call to register a function to get executed after some interval. Now I need help on AIX, I need to execute a function after some interval. using pthreads is one alternative I have but need to know is that feature there or not.
I found a timeout utility in sys/streams.h, but it is only for _KERNEL...I wonder what should be done if I need timed invocation. Signals & using sigalrm is also a work around.
Pls tell me if a function exists which does the sigalrm thing internally....?
thanks a lot for all who read .... respond !!
Old 05-07-2004, 08:25 AM   #2
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 110Reputation: 110
Not sure, and I don't know AIX nor Tru64, but you may want to check these functions (see their man pages):

sleep(), usleep() or nanosleep()


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
Running a PHP function at timed intervals linux_pioneer Programming 5 09-26-2004 01:22 PM
what are the Hexadecimal function and ASCII function in Perl Bassam Programming 1 06-03-2004 01:44 AM
A main can be changed by a function local without passing anything to the function? ananthbv Programming 10 05-04-2004 01:31 PM
Perl exec function in linux (and system-function) nazula Programming 1 04-19-2004 12:21 PM
Timed Execution Undead Programming 5 09-13-2001 02:57 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:45 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