Repository navigation
Commit 03b1200
authored
Fix an undefined behaviour in the pthread implementation of
PyThread_start_new_thread(): add a function wrapper to always return
NULL.
Add pythread_callback struct and pythread_wrapper() to thread_pthread.h.
(cherry picked from commit 9eea6ea)
1 parent af7e81f commit 03b1200
2 files changed
Lines changed: 39 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
186 | 208 | | |
187 | 209 | | |
188 | 210 | | |
| |||
218 | 240 | | |
219 | 241 | | |
220 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
221 | 252 | | |
222 | 253 | | |
223 | 254 | | |
224 | 255 | | |
225 | 256 | | |
226 | 257 | | |
227 | | - | |
228 | | - | |
229 | | - | |
| 258 | + | |
230 | 259 | | |
231 | 260 | | |
232 | 261 | | |
233 | 262 | | |
234 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
235 | 266 | | |
| 267 | + | |
236 | 268 | | |
237 | 269 | | |
238 | 270 | | |
| |||
0 commit comments