We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d2f997 + 3ff8eb6 commit 0c2a86dCopy full SHA for 0c2a86d
1 file changed
src/unix/newlib/horizon/mod.rs
@@ -194,6 +194,12 @@ extern "C" {
194
value: *mut ::c_void,
195
) -> ::c_int;
196
197
+ pub fn pthread_attr_setpriority(attr: *mut ::pthread_attr_t, priority: ::c_int) -> ::c_int;
198
+
199
+ pub fn pthread_attr_setaffinity(attr: *mut ::pthread_attr_t, affinity: ::c_int) -> ::c_int;
200
201
+ pub fn pthread_getpriority() -> ::c_int;
202
203
pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t;
204
205
pub fn gethostid() -> ::c_long;
0 commit comments