Add pthread_setname_np for NetBSD
This commit is contained in:
parent
f9073f462b
commit
9c8643fb4e
@ -366,4 +366,7 @@ extern {
|
||||
addr: *mut ::c_void,
|
||||
data: ::c_int) -> ::c_int;
|
||||
pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int;
|
||||
pub fn pthread_setname_np(t: ::pthread_t,
|
||||
name: *const ::c_char,
|
||||
arg: *mut ::c_void) -> ::c_int;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user