@@ -108,40 +108,42 @@ namespace rtc
108108 futex = 1 << 23 , // linux only
109109 OSSpinLockLock = 1 << 24 , // apple only
110110 os_unfair_lock_lock = 1 << 25 , // apple only
111+ _os_nospin_lock_lock = 1 << 26 , // apple only
111112
112113 threads = pthread_create | pthread_mutex_lock | pthread_mutex_unlock | pthread_join
113114 | pthread_cond_signal | pthread_cond_broadcast | pthread_cond_wait
114115 | pthread_rwlock_init | pthread_rwlock_destroy | pthread_cond_timedwait
115116 | pthread_rwlock_rdlock | pthread_rwlock_unlock | pthread_rwlock_wrlock
116- | pthread_spin_lock | futex | OSSpinLockLock | os_unfair_lock_lock,
117+ | pthread_spin_lock | futex | OSSpinLockLock | os_unfair_lock_lock
118+ | _os_nospin_lock_lock,
117119
118120 // ==============================================================================
119121 // sleeping
120122 // ==============================================================================
121- sleep = 1 << 26 ,
122- usleep = 1 << 27 ,
123- nanosleep = 1 << 28 ,
123+ sleep = 1 << 27 ,
124+ usleep = 1 << 28 ,
125+ nanosleep = 1 << 29 ,
124126
125127 sleeping = sleep | usleep | nanosleep,
126128
127129 // ==============================================================================
128130 // files
129131 // ==============================================================================
130- stat = 1 << 29 ,
131- fstat = 1 << 30 ,
132- open = 1ull << 31 ,
133- fopen = 1ull << 32 ,
134- openat = 1ull << 33 ,
135- fcntl = 1ull << 34 ,
132+ stat = 1 << 30 ,
133+ fstat = 1ull << 31 ,
134+ open = 1ull << 32 ,
135+ fopen = 1ull << 33 ,
136+ openat = 1ull << 34 ,
137+ fcntl = 1ull << 35 ,
136138
137139 files = stat | fstat | open | fopen | openat,
138140
139141 // ==============================================================================
140142 // system
141143 // ==============================================================================
142- schedule = 1ull << 35 , // linux only
143- context_switch = 1ull << 36 , // linux only
144- syscall = 1ull << 37 ,
144+ schedule = 1ull << 36 , // linux only
145+ context_switch = 1ull << 37 , // linux only
146+ syscall = 1ull << 38 ,
145147
146148 sys = schedule | context_switch | syscall
147149 };
0 commit comments