diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-08-03 23:17:02 +0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-08-03 23:17:02 +0400 |
commit | bfc071dbce317bf01107bfec1c1e823d7d96dc31 (patch) | |
tree | 53570cc6ca963911e874e074c506739933a67ed9 /winsup/cygwin/posix.sgml | |
parent | 2964913236ed6ec76b4dc5bab7412bc6868fdce0 (diff) |
* cygwin.din (clock_nanosleep): Export.
* posix.sgml (std-notimpl): Move clock_nanosleep from here...
(std-susv4): ... to here.
(std-notes): Note limitations of clock_nanosleep.
* signal.cc (clock_nanosleep): Renamed from nanosleep, adding clock_id
and flags arguments and changing return values throughout.
Improve checks for illegal rqtp values. Add support for
CLOCK_MONOTONIC and TIMER_ABSTIME.
(nanosleep): Rewrite in terms of clock_nanosleep.
(sleep): Ditto.
(usleep): Ditto.
* thread.cc: Mark clock_nanosleep in list of cancellation points.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/cygwin/posix.sgml')
-rw-r--r-- | winsup/cygwin/posix.sgml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/posix.sgml b/winsup/cygwin/posix.sgml index 1b122ebd3..5c92f53f4 100644 --- a/winsup/cygwin/posix.sgml +++ b/winsup/cygwin/posix.sgml @@ -92,6 +92,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> clock_getcpuclockid clock_getres clock_gettime + clock_nanosleep (see chapter "Implementation Notes") clock_settime (see chapter "Implementation Notes") clog clogf @@ -1299,7 +1300,6 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> ceill cexpl cimagl - clock_nanosleep clogl conjl copysignl @@ -1446,8 +1446,10 @@ by keeping track of the current root and accomodating this in the file related function calls. A real chroot functionality is not supported by Windows however.</para> -<para><function>clock_setres</function>, <function>clock_settime</function>, -and <function>timer_create</function> only support CLOCK_REALTIME.</para> +<para><function>clock_nanosleep</function> currently supports only +CLOCK_REALTIME and CLOCK_MONOTONIC. <function>clock_setres</function>, +<function>clock_settime</function>, and <function>timer_create</function> +currently support only CLOCK_REALTIME.</para> <para>BSD file locks created via <function>flock</function> are not propagated to the parent process and sibling processes. The locks are |