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

ruby-changes:19343

From: nobu <ko1@a...>
Date: Fri, 29 Apr 2011 21:16:53 +0900 (JST)
Subject: [ruby-changes:19343] Ruby:r31383 (trunk): * thread_win32.c, include/ruby/win32.h: add prototypes.

nobu	2011-04-29 21:12:52 +0900 (Fri, 29 Apr 2011)

  New Revision: 31383

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

  Log:
    * thread_win32.c, include/ruby/win32.h: add prototypes.

  Modified files:
    trunk/include/ruby/win32.h
    trunk/thread_win32.c

Index: thread_win32.c
===================================================================
--- thread_win32.c	(revision 31382)
+++ thread_win32.c	(revision 31383)
@@ -21,6 +21,10 @@
 
 static volatile DWORD ruby_native_thread_key = TLS_OUT_OF_INDEXES;
 
+static int w32_wait_events(HANDLE *events, int count, DWORD timeout, rb_thread_t *th);
+static int native_mutex_lock(rb_thread_lock_t *lock);
+static int native_mutex_unlock(rb_thread_lock_t *lock);
+
 static void
 w32_error(const char *func)
 {
Index: include/ruby/win32.h
===================================================================
--- include/ruby/win32.h	(revision 31382)
+++ include/ruby/win32.h	(revision 31383)
@@ -701,6 +701,7 @@
 long rb_w32_write_console(uintptr_t, int);	/* use uintptr_t instead of VALUE because it's not defined yet here */
 int  WINAPI rb_w32_Sleep(unsigned long msec);
 int  rb_w32_wait_events_blocking(HANDLE *events, int num, DWORD timeout);
+int  rb_w32_time_subtract(struct timeval *rest, const struct timeval *wait);
 
 /*
 == ***CAUTION***

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

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