Issue 240021
Summary [libc] Implement mtx_timedlock and pthread_mutex_timedlock
Labels libc
Assignees
Reporter amanmaurya92
    ### Summary
Implement public entrypoints `mtx_timedlock` (C11 `<threads.h>`) and `pthread_mutex_timedlock` (POSIX `<pthread.h>`).

### Details
- `libc/src/__support/threads/unix_mutex.h` already implements timed waiting via `timed_lock(AbsTimeout abs_time)`.
- Expose standard C11 and POSIX entrypoints wrapping the existing implementation.
- Add YAML definitions, entrypoint registration, and tests.

I would like to work on this issue.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to