This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
What's the best solution for getting me a cancellable FUTEX_WAIT?
- From: Steven Stewart-Gallus <sstewartgallus00 at mylangara dot bc dot ca>
- To: libc-alpha at sourceware dot org
- Date: Tue, 05 Aug 2014 20:04:06 +0000 (GMT)
- Subject: What's the best solution for getting me a cancellable FUTEX_WAIT?
- Authentication-results: sourceware.org; auth=none
Hello,
I want a cancellable FUTEX_WAIT operation (see
https://sourceware.org/bugzilla/show_bug.cgi?id=9712,
https://sourceware.org/bugzilla/show_bug.cgi?id=17168). GLibc
developers could expose a new futex_wait library call that is
cancellable. However, they would need to do more work in the future
when a new blocking Linux system call (perhaps open4, futex2, etc...)
is inevitable created. I think the best solution would be to create a
cancellable_syscall function. Can anybody on this list see a problem
with that solution? Would they rather just expose futex as a library
operation? I would like the best solution for getting me a cancellable
FUTEX_WAIT operation to happen.
Thank you for existing hard work on GLibc. I'm only asking this
question because I'm already a fan and user of your previous hard work
on GLibc.
Please keep me on the CC list.
Thank you,
Steven Stewart-Gallus