Il 24/07/2013 10:37, Alex Bligh ha scritto:
> 
> 
> --On 24 July 2013 09:01:22 +0100 Alex Bligh <a...@alex.org.uk> wrote:
> 
>>>> Most 'reasonable' POSIX compliant operating systems have ppoll
>>>
>>> Really?  I could find no manpages for any of Solaris and *BSD.
>>
>> OK I shall (re)research that then! I suppose select() / pselect() is
>> an alternative when there are few FDs.
> 
> Looks like I was wrong. However, pselect support is pretty wide.

Yes, on the other hand we only recently switched from select() to poll().

I guess using ms resolution wouldn't be too bad for non-Linux.  After
all before dynticks support was added to the alarm timer, it used to use
/dev/rtc or /dev/hpet -- which is very precise but only has ms
resolution too.

We might not care about the slack either, in practice.  TCG timing sucks
anyway, and for KVM/Xen most relevant device models are in the kernel.

Paolo

Reply via email to