~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to thread_win32.h

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2011-09-24 19:16:17 UTC
  • mfrom: (1.1.8 upstream) (13.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110924191617-o1qz4rcmqjot8zuy
Tags: 1.9.3~rc1-1
* New upstream release: 1.9.3 RC1.
  + Includes load.c fixes. Closes: #639959.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
  thread_win32.h -
4
4
 
5
 
  $Author: akr $
 
5
  $Author: kosaki $
6
6
 
7
7
  Copyright (C) 2004-2007 Koichi Sasada
8
8
 
23
23
 
24
24
typedef HANDLE rb_thread_id_t;
25
25
typedef CRITICAL_SECTION rb_thread_lock_t;
26
 
typedef struct rb_thread_cond_struct rb_thread_cond_t;
 
26
typedef struct rb_thread_cond_struct {
 
27
    struct cond_event_entry *next;
 
28
    struct cond_event_entry *prev;
 
29
} rb_thread_cond_t;
27
30
 
28
31
typedef struct native_thread_data_struct {
29
32
    HANDLE interrupt_event;
30
33
} native_thread_data_t;
31
34
 
 
35
typedef struct rb_global_vm_lock_struct {
 
36
    HANDLE lock;
 
37
} rb_global_vm_lock_t;
 
38
 
32
39
#endif /* RUBY_THREAD_WIN32_H */
33
40