|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v3 01/10] Introduce qemu_cond_timedwait for POSIX |
Date: | Thu, 05 Apr 2012 14:37:50 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
Il 05/04/2012 14:30, malc ha scritto: >> > Would save that "* 1000". I just wondered why we do not use it elsewhere >> > in QEMU and was reluctant to risk some BSD breakage. >> > > It's probably worth mentioning that using anything other than > clock_gettime and CLOCK_MONOTONING (as well as setting proper pthread > clock attr on the condition variable) is prone to the surprises (such > as NTP corrections and daylight saving changes). I was about to suggest the same, but how widespread is support for pthread_condattr_setclock? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |