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

ruby-changes:34677

From: normal <ko1@a...>
Date: Wed, 9 Jul 2014 05:48:13 +0900 (JST)
Subject: [ruby-changes:34677] normal:r46760 (trunk): thread_pthread.h: remove unneeded semaphore.h include

normal	2014-07-09 05:47:58 +0900 (Wed, 09 Jul 2014)

  New Revision: 46760

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46760

  Log:
    thread_pthread.h: remove unneeded semaphore.h include
    
    * thread_pthread.h: remove unneeded semaphore.h include
      We currently do not use POSIX semaphores.

  Modified files:
    trunk/ChangeLog
    trunk/thread_pthread.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46759)
+++ ChangeLog	(revision 46760)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jul  9 05:41:40 2014  Eric Wong  <e@8...>
+
+	* thread_pthread.h: remove unneeded semaphore.h include
+
 Wed Jul  9 00:12:28 2014  Keiju Ishitsuka  <keiju@i...>
 
 	* lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.
Index: thread_pthread.h
===================================================================
--- thread_pthread.h	(revision 46759)
+++ thread_pthread.h	(revision 46760)
@@ -27,8 +27,6 @@ typedef struct native_thread_data_struct https://github.com/ruby/ruby/blob/trunk/thread_pthread.h#L27
     rb_nativethread_cond_t sleep_cond;
 } native_thread_data_t;
 
-#include <semaphore.h>
-
 #undef except
 #undef try
 #undef leave

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

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