source: azure_iot_hub_mbedtls/trunk/musl-1.1.18/src/thread/mtx_unlock.c@ 398

Last change on this file since 398 was 398, checked in by coas-nagasima, 5 years ago

mbedTLS版Azure IoT Hub接続サンプルのソースコードを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 315 bytes
Line 
1#include <threads.h>
2
3int __pthread_mutex_unlock(mtx_t *);
4
5int mtx_unlock(mtx_t *mtx)
6{
7 /* The only cases where pthread_mutex_unlock can return an
8 * error are undefined behavior for C11 mtx_unlock, so we can
9 * assume it does not return an error and simply tail call. */
10 return __pthread_mutex_unlock(mtx);
11}
Note: See TracBrowser for help on using the repository browser.