File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -306,6 +306,12 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 1;
306
306
pub const PTHREAD_MUTEX_INITIALIZER : :: pthread_mutex_t = -1isize as * mut _ ;
307
307
pub const PTHREAD_COND_INITIALIZER : :: pthread_cond_t = -1isize as * mut _ ;
308
308
pub const PTHREAD_RWLOCK_INITIALIZER : :: pthread_rwlock_t = -1isize as * mut _ ;
309
+ extern {
310
+ pub fn pthread_create ( tid : * mut :: pthread_t ,
311
+ attr : * const :: pthread_attr_t ,
312
+ start : extern fn ( * mut :: c_void ) -> * mut :: c_void ,
313
+ arg : * mut :: c_void ) -> :: c_int ;
314
+ }
309
315
310
316
// signal.h
311
317
pub const SIG_BLOCK : :: c_int = 0 ;
@@ -343,6 +349,11 @@ pub const SIGIO: ::c_int = 29;
343
349
pub const SIGPWR : :: c_int = 30 ;
344
350
pub const SIGSYS : :: c_int = 31 ;
345
351
pub const NSIG : :: c_int = 32 ;
352
+ extern {
353
+ pub fn pthread_sigmask ( how : :: c_int ,
354
+ set : * const :: sigset_t ,
355
+ oldset : * mut :: sigset_t ) -> :: c_int ;
356
+ }
346
357
347
358
// stat.h
348
359
pub const S_IFDIR : :: c_int = 0o040_000 ;
You can’t perform that action at this time.
0 commit comments