mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-26 15:54:59 +00:00
OpenBSD supports thread name feature since 6.5 (#14968)
as it is 6.6 soon it is safe to go.
This commit is contained in:
parent
7bcac956b1
commit
5e753b46b7
@ -90,7 +90,7 @@ R_API bool r_th_getname(RThread *th, char *name, size_t len) {
|
||||
eprintf ("Failed to get thread name\n");
|
||||
return false;
|
||||
}
|
||||
#elif (__FreeBSD__ && __FreeBSD_version >= 1200000) || __DragonFly__ /* || __OpenBSD__ TODO after nxt rel. */
|
||||
#elif (__FreeBSD__ && __FreeBSD_version >= 1200000) || __DragonFly__ || (__OpenBSD__ && OpenBSD >= 201905)
|
||||
pthread_get_name_np (th->tid, name, len);
|
||||
#else
|
||||
#pragma message("warning r_th_getname not implemented")
|
||||
|
Loading…
x
Reference in New Issue
Block a user