Sha256: f8c5c545ce5fcc5295d9cfaf75510794f79f0c157e7a3fb46a480afa7338bb02

Contents?: true

Size: 953 Bytes

Versions: 793

Compression:

Stored size: 953 Bytes

Contents

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

  thread_win32.h -

  $Author: ko1 $

  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_nativethread_id_t;

typedef union rb_thread_lock_union {
    HANDLE mutex;
    CRITICAL_SECTION crit;
} rb_nativethread_lock_t;

typedef struct rb_thread_cond_struct {
    struct cond_event_entry *next;
    struct cond_event_entry *prev;
} rb_nativethread_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

793 entries across 81 versions & 6 rubygems

Version Path
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-2.1.5-p273/thread_win32.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-2.1.4-p265/thread_win32.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-2.1.7-p400/thread_win32.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-2.1.0-p0/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.0-p0/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.1-p76/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.2-p95/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.10-p492/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.7-p400/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.6-p336/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.9-p490/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.3-p242/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.4-p265/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.5-p273/thread_win32.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.1.8-p440/thread_win32.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-2.1.0-p0/thread_win32.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-2.1.1-p76/thread_win32.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-2.1.10-p492/thread_win32.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-2.1.9-p490/thread_win32.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-2.1.8-p440/thread_win32.h