summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-28 03:50:39 (GMT)
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-28 03:51:20 (GMT)
commitee7c260b6023f5152560744125b6ea532a778b01 (patch)
tree03e6b4206121af60049dcec2b2bb51bfd96e4ed2 /thread_win32.c
parent1c954366933ce916346b868c633b06ec97763a10 (diff)
thread_win32.c: native_mutex_trylock is not used right now
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 842a9ef..9b80bfc 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -340,6 +340,7 @@ rb_native_mutex_unlock(rb_nativethread_lock_t *lock)
#endif
}
+RBIMPL_ATTR_MAYBE_UNUSED()
static int
native_mutex_trylock(rb_nativethread_lock_t *lock)
{