Commit c6d324d
committed
pythongh-59705: Add _thread.set_name() function
On Linux, threading.Thread now sets the thread name to the operating
system.
configure now checks if pthread_setname_np() function is available.1 parent 3cf83d9 commit c6d324d
File tree
7 files changed
+139
-2
lines changed- Lib
- Misc/NEWS.d/next/Library
- Modules
- clinic
7 files changed
+139
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
1027 | 1032 | | |
1028 | 1033 | | |
1029 | 1034 | | |
| 1035 | + | |
| 1036 | + | |
1030 | 1037 | | |
1031 | 1038 | | |
1032 | 1039 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
| |||
2354 | 2363 | | |
2355 | 2364 | | |
2356 | 2365 | | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
2357 | 2387 | | |
2358 | 2388 | | |
2359 | 2389 | | |
| |||
2393 | 2423 | | |
2394 | 2424 | | |
2395 | 2425 | | |
| 2426 | + | |
2396 | 2427 | | |
2397 | 2428 | | |
2398 | 2429 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5105 | 5105 | | |
5106 | 5106 | | |
5107 | 5107 | | |
5108 | | - | |
5109 | | - | |
| 5108 | + | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
5110 | 5112 | | |
5111 | 5113 | | |
5112 | 5114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
993 | 996 | | |
994 | 997 | | |
995 | 998 | | |
| |||
0 commit comments