[libcxx-commits] [PATCH] D96115: [libc++] Fix copy-paste mistake in __threading_support
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 10 08:01:00 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGebfadd82cb35: [libc++] Fix copy-paste mistake in __threading_support (authored by ColinFinck, committed by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96115/new/
https://reviews.llvm.org/D96115
Files:
libcxx/include/__threading_support
Index: libcxx/include/__threading_support
===================================================================
--- libcxx/include/__threading_support
+++ libcxx/include/__threading_support
@@ -390,7 +390,7 @@
return pthread_mutex_trylock(__m) == 0;
}
-int __libcpp_recursive_mutex_unlock(__libcpp_mutex_t *__m)
+int __libcpp_recursive_mutex_unlock(__libcpp_recursive_mutex_t *__m)
{
return pthread_mutex_unlock(__m);
}
@@ -578,7 +578,7 @@
return mtx_trylock(__m) == thrd_success;
}
-int __libcpp_recursive_mutex_unlock(__libcpp_mutex_t *__m)
+int __libcpp_recursive_mutex_unlock(__libcpp_recursive_mutex_t *__m)
{
return mtx_unlock(__m) == thrd_success ? 0 : EINVAL;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96115.322691.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210210/f530f017/attachment-0001.bin>
More information about the libcxx-commits
mailing list