mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-131268: Implement thread names on OpenBSD (#131528)
This commit is contained in:
parent
e0fda794fa
commit
b70d45ab22
5 changed files with 49 additions and 11 deletions
|
|
@ -5147,7 +5147,8 @@ AC_CHECK_FUNCS([ \
|
|||
posix_spawn_file_actions_addclosefrom_np \
|
||||
pread preadv preadv2 process_vm_readv \
|
||||
pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_init \
|
||||
pthread_kill pthread_getname_np pthread_setname_np pthread_getattr_np \
|
||||
pthread_kill pthread_get_name_np pthread_getname_np pthread_set_name_np
|
||||
pthread_setname_np pthread_getattr_np \
|
||||
ptsname ptsname_r pwrite pwritev pwritev2 readlink readlinkat readv realpath renameat \
|
||||
rtpSpawn sched_get_priority_max sched_rr_get_interval sched_setaffinity \
|
||||
sched_setparam sched_setscheduler sem_clockwait sem_getvalue sem_open \
|
||||
|
|
@ -7563,6 +7564,7 @@ case "$ac_sys_system" in
|
|||
Darwin) _PYTHREAD_NAME_MAXLEN=63;;
|
||||
iOS) _PYTHREAD_NAME_MAXLEN=63;;
|
||||
FreeBSD*) _PYTHREAD_NAME_MAXLEN=19;; # gh-131268
|
||||
OpenBSD*) _PYTHREAD_NAME_MAXLEN=23;; # gh-131268
|
||||
*) _PYTHREAD_NAME_MAXLEN=;;
|
||||
esac
|
||||
if test -n "$_PYTHREAD_NAME_MAXLEN"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue