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 @@ -3270,6 +3270,12 @@ fn test_linux(target: &str) {
3270
3270
// Needs musl 1.2.3 or later.
3271
3271
"pthread_getname_np" if musl => true ,
3272
3272
3273
+ // pthread_sigqueue uses sigval, which was initially declared
3274
+ // as a struct but should be defined as a union. However due
3275
+ // to the issues described here: https://github.com/rust-lang/libc/issues/2816
3276
+ // it can't be changed from struct.
3277
+ "pthread_sigqueue" => true ,
3278
+
3273
3279
_ => false ,
3274
3280
}
3275
3281
} ) ;
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