Hi!
> > CLOCK_THREAD_CPUTIME_ID and CLOCK_PROCESS_CPUTIME_ID are CPU-time clock,
> > so when the thread/process invokes nanosleep, these clocks will go sleeping
> > too.

I've send a sligtly better version of this patch a couple of weeks ago
and that was one of the patches I've been constantly reminding you
about.

I'm a little worried here that mixing time() that returns time since the
epoch and per process cpu timers wouldn't work on machine under load.

My patch uses only per cpu process timers so should be fine.

Could you please have a look at my version?

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to