File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -3273,6 +3273,12 @@ fn test_linux(target: &str) {
3273
3273
// Needs musl 1.2.3 or later.
3274
3274
"pthread_getname_np" if musl => true ,
3275
3275
3276
+ // pthread_sigqueue uses sigval, which was initially declared
3277
+ // as a struct but should be defined as a union. However due
3278
+ // to the issues described here: https://github.com/rust-lang/libc/issues/2816
3279
+ // it can't be changed from struct.
3280
+ "pthread_sigqueue" => true ,
3281
+
3276
3282
_ => false ,
3277
3283
}
3278
3284
} ) ;
Original file line number Diff line number Diff line change @@ -1291,6 +1291,7 @@ extern "C" {
1291
1291
attr : * mut :: pthread_rwlockattr_t ,
1292
1292
val : :: c_int ,
1293
1293
) -> :: c_int ;
1294
+ pub fn pthread_sigqueue ( thread : :: pthread_t , sig : :: c_int , value : :: sigval ) -> :: c_int ;
1294
1295
pub fn mallinfo ( ) -> :: mallinfo ;
1295
1296
pub fn mallinfo2 ( ) -> :: mallinfo2 ;
1296
1297
pub fn malloc_info ( options : :: c_int , stream : * mut :: FILE ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments