[all-commits] [llvm/llvm-project] 550be4: [libc] Add simple implementations of mtx_lock and ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Mon Mar 9 22:03:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 550be40515df7135a8628a1abe57b845570645dd
      https://github.com/llvm/llvm-project/commit/550be40515df7135a8628a1abe57b845570645dd
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M libc/config/linux/api.td
    M libc/lib/CMakeLists.txt
    M libc/src/threads/linux/CMakeLists.txt
    A libc/src/threads/linux/mtx_init.cpp
    A libc/src/threads/linux/mtx_lock.cpp
    A libc/src/threads/linux/mtx_unlock.cpp
    M libc/src/threads/linux/thread_utils.h
    A libc/src/threads/mtx_init.h
    A libc/src/threads/mtx_lock.h
    A libc/src/threads/mtx_unlock.h
    M libc/test/src/threads/CMakeLists.txt
    A libc/test/src/threads/mtx_test.cpp

  Log Message:
  -----------
  [libc] Add simple implementations of mtx_lock and mtx_unlock.

These functions only support locking and unlocking of plain mutexes.
They will be extended in future changes to handled recursive and timed
mutexes.

Reviewers: phosek

Differential Revision: https://reviews.llvm.org/D74653




More information about the All-commits mailing list