Sha256: 0db528a132fabfcad6b41cc884e6a79739306b776d6331e64bd9e63c4da52826

Contents?: true

Size: 711 Bytes

Versions: 31

Compression:

Stored size: 711 Bytes

Contents

/**********************************************************************

  thread_win32.h -

  $Author$

  Copyright (C) 2004-2007 Koichi Sasada

**********************************************************************/

/* interface */
#ifndef RUBY_THREAD_WIN32_H
#define RUBY_THREAD_WIN32_H

#include <windows.h>

# ifdef __CYGWIN__
# undef _WIN32
# endif

WINBASEAPI BOOL WINAPI
TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection);

typedef HANDLE rb_thread_id_t;
typedef CRITICAL_SECTION rb_thread_lock_t;
typedef struct rb_thread_cond_struct rb_thread_cond_t;

typedef struct native_thread_data_struct {
    HANDLE interrupt_event;
} native_thread_data_t;

#endif /* RUBY_THREAD_WIN32_H */

Version data entries

31 entries across 31 versions & 4 rubygems

Version Path
binding_of_caller-0.6.3 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.6.3-universal-rubinius ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.6.2 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.6.1 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.6.0 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.5.0 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.4.1 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.4.0 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.3.1 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.3.0 ext/binding_of_caller/ruby_headers/192/thread_win32.h
binding_of_caller-0.2.0 ext/binding_of_caller/ruby_headers/192/thread_win32.h