ruby-changes:6722
From: usa <ko1@a...>
Date: Mon, 28 Jul 2008 16:02:25 +0900 (JST)
Subject: [ruby-changes:6722] Ruby:r18238 (trunk): * thread_win32.[ch]: moved definitions of cond_every_entry and
usa 2008-07-28 16:02:07 +0900 (Mon, 28 Jul 2008) New Revision: 18238 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18238 Log: * thread_win32.[ch]: moved definitions of cond_every_entry and rb_thread_cond_struct from .c to .h because rb_thread_cond_struct is used in vm_core.h. Modified files: trunk/ChangeLog trunk/thread_win32.c trunk/thread_win32.h Index: thread_win32.c =================================================================== --- thread_win32.c (revision 18237) +++ thread_win32.c (revision 18238) @@ -333,16 +333,6 @@ #endif } -struct cond_event_entry { - struct cond_event_entry* next; - HANDLE event; -}; - -struct rb_thread_cond_struct { - struct cond_event_entry *next; - struct cond_event_entry *last; -}; - static void native_cond_signal(rb_thread_cond_t *cond) { Index: thread_win32.h =================================================================== --- thread_win32.h (revision 18237) +++ thread_win32.h (revision 18238) @@ -25,6 +25,16 @@ typedef CRITICAL_SECTION rb_thread_lock_t; typedef struct rb_thread_cond_struct rb_thread_cond_t; +struct cond_event_entry { + struct cond_event_entry* next; + HANDLE event; +}; + +struct rb_thread_cond_struct { + struct cond_event_entry *next; + struct cond_event_entry *last; +}; + typedef struct native_thread_data_struct { HANDLE interrupt_event; } native_thread_data_t; Index: ChangeLog =================================================================== --- ChangeLog (revision 18237) +++ ChangeLog (revision 18238) @@ -1,3 +1,9 @@ +Mon Jul 28 16:01:12 2008 NAKAMURA Usaku <usa@r...> + + * thread_win32.[ch]: moved definitions of cond_every_entry and + rb_thread_cond_struct from .c to .h because rb_thread_cond_struct + is used in vm_core.h. + Mon Jul 28 14:29:54 2008 Nobuyoshi Nakada <nobu@r...> * dln.c (load_lib): use dln_find_file_r instead of dln_find_file. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/