diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-23 21:46:50 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-23 21:46:50 +0000 |
| commit | f1c8192fd426ea8d3256f3a25b7aa9d3dac7f3a4 (patch) | |
| tree | af28d42652346683148a8b0c30e59e30d9b9b8dd /lib/libpthread/thread/thr_private.h | |
| parent | 6fd839f9c737f75c37d85477cffac22def69f98f (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
| -rw-r--r-- | lib/libpthread/thread/thr_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index a55479678e0a9..fc2e4eeb72f4f 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -197,6 +197,7 @@ struct kse { #define KF_STARTED 0x0001 /* kernel kse created */ #define KF_INITIALIZED 0x0002 /* initialized on 1st upcall */ int k_waiting; + int k_error; /* syscall errno in critical */ int k_cpu; /* CPU ID when bound */ int k_done; /* this KSE is done */ }; @@ -1014,6 +1015,7 @@ void _set_curkse(struct kse *); struct kse *_kse_alloc(struct pthread *); kse_critical_t _kse_critical_enter(void); void _kse_critical_leave(kse_critical_t); +int _kse_in_critical(void); void _kse_free(struct pthread *, struct kse *); void _kse_init(); struct kse_group *_kseg_alloc(struct pthread *); |
