Mercurial > cpython-lru_cache-weakref
diff Python/thread_solaris.h @ 2052:d7e91437f0a2 legacy-trunk
Lots of changes, most minor (fatal() instead of abort(), use of
err_fetch/err_restore and so on). But...
NOTE: import.c has been rewritten and all the DL stuff is now in the
new file importdl.c.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 02 Jan 1995 19:04:15 +0000 |
| parents | 7e5f97bab1e6 |
| children | d0d0a69b5ca3 |
line wrap: on
line diff
--- a/Python/thread_solaris.h Mon Jan 02 18:38:42 1995 +0000 +++ b/Python/thread_solaris.h Mon Jan 02 19:04:15 1995 +0000 @@ -68,7 +68,7 @@ funcarg = (struct func_arg *) malloc(sizeof(struct func_arg)); funcarg->func = func; funcarg->arg = arg; - if (thr_create(0, 0, new_func, funcarg, THR_NEW_LWP, 0)) { + if (thr_create(0, 0, new_func, funcarg, THR_DETACHED, 0)) { perror("thr_create"); free((void *) funcarg); success = -1;
