in reply to Re: Re: threads and low values with Time::HiRes::setitimer
in thread threads and low values with Time::HiRes::setitimer

...Maybe asking for my code to trigger closer than a few 100ths of a second is too much?

I think it is. I must admit I don't know the kernel nitty gritty of this, but I'm fairly sure that timer 0 (check procinfo on Linux) is related to forced context switches (context switches forced by the Operating System when a thread/process is using more than it's alotted). That timer runs at a frequency of around 100Hz.

Liz

  • Comment on Re: Re: Re: threads and low values with Time::HiRes::setitimer