Sha256: 3a4073570e56c12952766df7737fc840dc5ef37f52a17047eaa0e092b7a292a0

Contents?: true

Size: 936 Bytes

Versions: 943

Compression:

Stored size: 936 Bytes

Contents

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

  thread_win32.h -

  $Author: nobu $

  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 union rb_thread_lock_union {
    HANDLE mutex;
    CRITICAL_SECTION crit;
} rb_thread_lock_t;

typedef struct rb_thread_cond_struct {
    struct cond_event_entry *next;
    struct cond_event_entry *prev;
} rb_thread_cond_t;

typedef struct native_thread_data_struct {
    HANDLE interrupt_event;
} native_thread_data_t;

typedef struct rb_global_vm_lock_struct {
    HANDLE lock;
} rb_global_vm_lock_t;

#endif /* RUBY_THREAD_WIN32_H */

Version data entries

943 entries across 79 versions & 6 rubygems

Version Path
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p598/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p481/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p643/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p645/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p195/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p0/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p247/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p353/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p648/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p451/thread_win32.h
debase-ruby_core_source-0.10.16 lib/debase/ruby_core_source/ruby-2.0.0-p647/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p353/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p451/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p247/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p481/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p576/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p0/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p195/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p594/thread_win32.h
debase-ruby_core_source-0.10.15 lib/debase/ruby_core_source/ruby-2.0.0-p647/thread_win32.h