source:
trunk/essentials/dev-lang/python/Python/thread_solaris.h@
3397
| Last change on this file since 3397 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 3.0 KB | |
| Line | |
|---|---|
| 1 | |
| 2 | #include <stdlib.h> |
| 3 | #include <stdio.h> |
| 4 | #include <errno.h> |
| 5 | #include </usr/include/thread.h> |
| 6 | #undef _POSIX_THREADS |
| 7 | |
| 8 | |
| 9 | /* |
| 10 | * Initialization. |
| 11 | */ |
| 12 | static void PyThread__init_thread(void) |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | /* |
| 17 | * Thread support. |
| 18 | */ |
| 19 | struct func_arg { |
| 20 | void (*func)(void *); |
| 21 | void *arg; |
| 22 | }; |
| 23 | |
| 24 | static void * |
| 25 | new_func(void *funcarg) |
