[libc-commits] [PATCH] D80396: [libc] Add implementation of cnd_* functions from threads.h for linux.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 21 12:27:16 PDT 2020


sivachandra created this revision.
sivachandra added a reviewer: phosek.
Herald added subscribers: libc-commits, ecnelises, tschuett, jfb, mgorny.
Herald added a project: libc-project.

Implementations of all cnd_* functions except cnd_timedwait function
have been added. As with other threads functions, the goal is to keep
the C standard library functions as light weight and as self-contained
as possible (as in, support only the C standard library features and
not bloat with features which other standards like POSIX require.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80396

Files:
  libc/config/linux/api.td
  libc/lib/CMakeLists.txt
  libc/spec/stdc.td
  libc/src/threads/CMakeLists.txt
  libc/src/threads/cnd_broadcast.h
  libc/src/threads/cnd_destroy.h
  libc/src/threads/cnd_init.h
  libc/src/threads/cnd_signal.h
  libc/src/threads/cnd_wait.h
  libc/src/threads/linux/CMakeLists.txt
  libc/src/threads/linux/cnd_broadcast.cpp
  libc/src/threads/linux/cnd_destroy.cpp
  libc/src/threads/linux/cnd_init.cpp
  libc/src/threads/linux/cnd_signal.cpp
  libc/src/threads/linux/cnd_wait.cpp
  libc/src/threads/linux/thread_utils.h
  libc/test/src/threads/CMakeLists.txt
  libc/test/src/threads/cnd_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80396.265569.patch
Type: text/x-patch
Size: 29688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200521/e9cc367e/attachment-0001.bin>


More information about the libc-commits mailing list