[前][次][番号順一覧][スレッド一覧]

ruby-changes:63153

From: Nobuyoshi <ko1@a...>
Date: Mon, 28 Sep 2020 12:55:59 +0900 (JST)
Subject: [ruby-changes:63153] ee7c260b60 (master): thread_win32.c: native_mutex_trylock is not used right now

https://git.ruby-lang.org/ruby.git/commit/?id=ee7c260b60

From ee7c260b6023f5152560744125b6ea532a778b01 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 28 Sep 2020 12:50:39 +0900
Subject: thread_win32.c: native_mutex_trylock is not used right now


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) https://github.com/ruby/ruby/blob/trunk/thread_win32.c#L340
 #endif
 }
 
+RBIMPL_ATTR_MAYBE_UNUSED()
 static int
 native_mutex_trylock(rb_nativethread_lock_t *lock)
 {
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]