fork() ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > fork() ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    fork() ?  
friend.05@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-18-05 10:53 PM

I want the time of last fork() call in my program.  How can I know this
time?






[ Post a follow-up to this message ]



    Re: fork() ?  
Lars Kellogg-Stedman


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-18-05 10:53 PM

> I want the time of last fork() call in my program.  How can I know this
> time?

You could record the time yourself:

last_fork_time = time(NULL);
pid = fork();


-- Lars

--
Lars Kellogg-Stedman <8273grkci8q8kgt@jetable.net>
This email address will expire on 2005-11-23.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register