diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2015-02-26 16:39:57 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2015-02-26 16:39:57 +0000 |
| commit | 85e7eba60442ce20397057a1baac576e2742d4b8 (patch) | |
| tree | 1290ed6195d9a852754e9a327425e152d1bbd893 /lib/libstdthreads/mtx.c | |
| parent | 544b31a3e3351157372a130130930b085f2cd3e1 (diff) | |
Notes
Diffstat (limited to 'lib/libstdthreads/mtx.c')
| -rw-r--r-- | lib/libstdthreads/mtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstdthreads/mtx.c b/lib/libstdthreads/mtx.c index 6c9166da71b4..f38fbae5261e 100644 --- a/lib/libstdthreads/mtx.c +++ b/lib/libstdthreads/mtx.c @@ -96,7 +96,7 @@ int mtx_trylock(mtx_t *mtx) { - switch (pthread_mutex_lock(mtx)) { + switch (pthread_mutex_trylock(mtx)) { case 0: return (thrd_success); case EBUSY: |
