This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH, v3] Potential solution to librt issue.
On Thu, Jul 24, 2008 at 02:55:24PM +0200, Paolo Bonzini wrote:
> Possibilities include:
>
> 1) implementing clock_gettime on Linux using the system call interface. I
> guess that the clock_gettime syscall itself does not need pthreads.
The dependcies vary with which clock you're using. Jakub's the expert
here, but if I'm reading glibc correctly CLOCK_MONOTONIC has no useful
fallback if the kernel does not support it; so you should be able to
do the syscall yourself.
--
Daniel Jacobowitz
CodeSourcery
- References:
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.
- Re: [PATCH, v3] Potential solution to librt issue.