mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
thread_pthread.h: do not expose pthread type for lock
* thread_pthread.h (struct rb_global_vm_lock_struct): do not expose pthread type for lock git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3e14cdc45b
commit
b10058ae36
2 changed files with 6 additions and 1 deletions
|
@ -35,7 +35,7 @@ typedef struct native_thread_data_struct {
|
|||
typedef struct rb_global_vm_lock_struct {
|
||||
/* fast path */
|
||||
unsigned long acquired;
|
||||
pthread_mutex_t lock;
|
||||
rb_nativethread_lock_t lock;
|
||||
|
||||
/* slow path */
|
||||
volatile unsigned long waiting;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue