• Main Page
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

thread_win32.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 
00003   thread_win32.h -
00004 
00005   $Author: akr $
00006 
00007   Copyright (C) 2004-2007 Koichi Sasada
00008 
00009 **********************************************************************/
00010 
00011 /* interface */
00012 #ifndef RUBY_THREAD_WIN32_H
00013 #define RUBY_THREAD_WIN32_H
00014 
00015 #include <windows.h>
00016 
00017 # ifdef __CYGWIN__
00018 # undef _WIN32
00019 # endif
00020 
00021 WINBASEAPI BOOL WINAPI
00022 TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection);
00023 
00024 typedef HANDLE rb_thread_id_t;
00025 typedef CRITICAL_SECTION rb_thread_lock_t;
00026 typedef struct rb_thread_cond_struct rb_thread_cond_t;
00027 
00028 typedef struct native_thread_data_struct {
00029     HANDLE interrupt_event;
00030 } native_thread_data_t;
00031 
00032 #endif /* RUBY_THREAD_WIN32_H */
00033 
00034 

Generated on Sat Jul 7 2012 15:29:24 for Ruby by  doxygen 1.7.1