aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-28 12:50:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-28 12:51:20 +0900
commitee7c260b6023f5152560744125b6ea532a778b01 (patch)
tree03e6b4206121af60049dcec2b2bb51bfd96e4ed2 /thread_win32.c
parent1c954366933ce916346b868c633b06ec97763a10 (diff)
downloadruby-ee7c260b6023f5152560744125b6ea532a778b01.tar.gz
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 842a9efc85..9b80bfc1f8 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)
{