[Buildroot] [PATCH 1/2] nilfs-utils: need NPTL threads
Waldemar Brodkorb
wbx at openadk.org
Sun Jan 7 20:08:29 UTC 2018
Hi Baruch,
Baruch Siach wrote,
> The UCLIBC_HAS_ADVANCED_REALTIME help text says that this options enables
> clock_nanosleep(). But with current code you must have NPTL enabled for
> clock_nanosleep(). So the help text is not correct.
>
> This also means that architectures lack NPTL support can't have
> clock_nanosleep() at all. Is there a reason for that?
You are right. It seems there is no reason for it.
clock_nanosleep is internally using a syscall.
I prepared attached patch and running the regression tests.
Do you like to test or review?
I cleaned up old code, which might be only required for Linux
kernels older than 2.6.0, which I do not going to support anyway.
best regards
Waldemar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-rt-cleanup-and-allow-to-build-for-linuxthreads.patch
Type: text/x-diff
Size: 11284 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180107/62b2ebc0/attachment.patch>
More information about the buildroot
mailing list