|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Is it OK for Time::HiRes::time() to report the time differently per thread?by Anonymous Monk |
| on Apr 23, 2026 at 13:03 UTC ( [id://11167610]=note: print w/replies, xml ) | Need Help?? |
|
Sorry, looks like replacing time() with clock_gettime(CLOCK_MONOTONIC) fixes the issue. Should have googled better first. I forgot to say, there's supposed to be another synchronised section in place of the 2nd "printf", hence my concern.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||