Re: Correct way for an application to sleep?

2007-03-01 Thread Jan Engelhardt
On Feb 24 2007 21:54, Sindre Aamås wrote: > >Without root-privilegies, that leaves general purpose sleep functions >like nanosleep afaik. The problem is that the granularity of these >seems very unpredictable, and if I am to use a lowest common >denominator I'd only be able to sleep like 10

Re: Correct way for an application to sleep?

2007-03-01 Thread Jan Engelhardt
On Feb 24 2007 21:54, Sindre Aamås wrote: Without root-privilegies, that leaves general purpose sleep functions like nanosleep afaik. The problem is that the granularity of these seems very unpredictable, and if I am to use a lowest common denominator I'd only be able to sleep like 10 ms

Correct way for an application to sleep?

2007-02-24 Thread Sindre Aamås
I realise that this is not a question strictly related to development of linux, but there have been changes related to sleep granularity lately, and I'm assuming these changes are made with an idea of how sleep functions are expected to be used from user space. Since some of these changes

Correct way for an application to sleep?

2007-02-24 Thread Sindre Aamås
I realise that this is not a question strictly related to development of linux, but there have been changes related to sleep granularity lately, and I'm assuming these changes are made with an idea of how sleep functions are expected to be used from user space. Since some of these changes