[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thread safe functions, CLOCK_MONOTONIC

From: Ulrich Drepper
Subject: Re: thread safe functions, CLOCK_MONOTONIC
Date: 21 Apr 2002 10:55:24 -0700

On Sun, 2002-04-21 at 04:07, Martijn Sipkema wrote:

> What should I define in my source code to be able to use the thread safe
> functions? I wanted to use strerror_r() in my code, but found that
> #define _XOPEN_SOURCE 600
> did not make it available. In <string.h> strerror_r() is only declared when
> __USE_MISC is defined.

I've fixed that now.  Defining _XOPEN_SOURCE must be enough.

> Will CLOCK_MONOTONIC be supported for Linux? Would this be
> hard to add?

Adding it would break too many existing applications.

---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]