Deleted Added
full compact
thr_private.h (50476) thr_private.h (51794)
1/*
2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * Private thread definitions for the uthread kernel.
33 *
1/*
2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * Private thread definitions for the uthread kernel.
33 *
34 * $FreeBSD: head/lib/libkse/thread/thr_private.h 50476 1999-08-28 00:22:10Z peter $
34 * $FreeBSD: head/lib/libkse/thread/thr_private.h 51794 1999-09-29 15:18:46Z marcel $
35 */
36
37#ifndef _PTHREAD_PRIVATE_H
38#define _PTHREAD_PRIVATE_H
39
40/*
41 * Evaluate the storage class specifier.
42 */

--- 451 unchanged lines hidden (view full) ---

494 */
495 char saved_fp[108];
496#endif
497
498 /*
499 * Saved signal context used in call to sigreturn by
500 * _thread_kern_sched if sig_saved is TRUE.
501 */
35 */
36
37#ifndef _PTHREAD_PRIVATE_H
38#define _PTHREAD_PRIVATE_H
39
40/*
41 * Evaluate the storage class specifier.
42 */

--- 451 unchanged lines hidden (view full) ---

494 */
495 char saved_fp[108];
496#endif
497
498 /*
499 * Saved signal context used in call to sigreturn by
500 * _thread_kern_sched if sig_saved is TRUE.
501 */
502 struct sigcontext saved_sigcontext;
502 ucontext_t saved_sigcontext;
503
504 /*
505 * Saved jump buffer used in call to longjmp by _thread_kern_sched
506 * if sig_saved is FALSE.
507 */
508 jmp_buf saved_jmp_buf;
509
510 /*

--- 438 unchanged lines hidden (view full) ---

949#endif
950void _thread_exit(char *, int, char *);
951void _thread_fd_unlock(int, int);
952void _thread_fd_unlock_debug(int, int, char *, int);
953void *_thread_cleanup(pthread_t);
954void _thread_cleanupspecific(void);
955void _thread_dump_info(void);
956void _thread_init(void);
503
504 /*
505 * Saved jump buffer used in call to longjmp by _thread_kern_sched
506 * if sig_saved is FALSE.
507 */
508 jmp_buf saved_jmp_buf;
509
510 /*

--- 438 unchanged lines hidden (view full) ---

949#endif
950void _thread_exit(char *, int, char *);
951void _thread_fd_unlock(int, int);
952void _thread_fd_unlock_debug(int, int, char *, int);
953void *_thread_cleanup(pthread_t);
954void _thread_cleanupspecific(void);
955void _thread_dump_info(void);
956void _thread_init(void);
957void _thread_kern_sched(struct sigcontext *);
957void _thread_kern_sched(ucontext_t *);
958void _thread_kern_sched_state(enum pthread_state,char *fname,int lineno);
959void _thread_kern_sched_state_unlock(enum pthread_state state,
960 spinlock_t *lock, char *fname, int lineno);
961void _thread_kern_set_timeout(struct timespec *);
962void _thread_kern_sig_defer(void);
963void _thread_kern_sig_undefer(void);
958void _thread_kern_sched_state(enum pthread_state,char *fname,int lineno);
959void _thread_kern_sched_state_unlock(enum pthread_state state,
960 spinlock_t *lock, char *fname, int lineno);
961void _thread_kern_set_timeout(struct timespec *);
962void _thread_kern_sig_defer(void);
963void _thread_kern_sig_undefer(void);
964void _thread_sig_handler(int, int, struct sigcontext *);
965void _thread_sig_handle(int, struct sigcontext *);
964void _thread_sig_handler(int, int, ucontext_t *);
965void _thread_sig_handle(int, ucontext_t *);
966void _thread_sig_init(void);
967void _thread_start(void);
968void _thread_start_sig_handler(void);
969void _thread_seterrno(pthread_t,int);
970int _thread_fd_table_init(int fd);
971pthread_addr_t _thread_gc(pthread_addr_t);
972
973/* #include <signal.h> */
974int _thread_sys_sigaction(int, const struct sigaction *, struct sigaction *);
975int _thread_sys_sigpending(sigset_t *);
976int _thread_sys_sigprocmask(int, const sigset_t *, sigset_t *);
977int _thread_sys_sigsuspend(const sigset_t *);
978int _thread_sys_siginterrupt(int, int);
979int _thread_sys_sigpause(int);
966void _thread_sig_init(void);
967void _thread_start(void);
968void _thread_start_sig_handler(void);
969void _thread_seterrno(pthread_t,int);
970int _thread_fd_table_init(int fd);
971pthread_addr_t _thread_gc(pthread_addr_t);
972
973/* #include <signal.h> */
974int _thread_sys_sigaction(int, const struct sigaction *, struct sigaction *);
975int _thread_sys_sigpending(sigset_t *);
976int _thread_sys_sigprocmask(int, const sigset_t *, sigset_t *);
977int _thread_sys_sigsuspend(const sigset_t *);
978int _thread_sys_siginterrupt(int, int);
979int _thread_sys_sigpause(int);
980int _thread_sys_sigreturn(struct sigcontext *);
980int _thread_sys_sigreturn(ucontext_t *);
981int _thread_sys_sigstack(const struct sigstack *, struct sigstack *);
982int _thread_sys_sigvec(int, struct sigvec *, struct sigvec *);
983void _thread_sys_psignal(unsigned int, const char *);
984void (*_thread_sys_signal(int, void (*)(int)))(int);
985
986/* #include <sys/stat.h> */
987#ifdef _SYS_STAT_H_
988int _thread_sys_fchmod(int, mode_t);

--- 165 unchanged lines hidden ---
981int _thread_sys_sigstack(const struct sigstack *, struct sigstack *);
982int _thread_sys_sigvec(int, struct sigvec *, struct sigvec *);
983void _thread_sys_psignal(unsigned int, const char *);
984void (*_thread_sys_signal(int, void (*)(int)))(int);
985
986/* #include <sys/stat.h> */
987#ifdef _SYS_STAT_H_
988int _thread_sys_fchmod(int, mode_t);

--- 165 unchanged lines hidden ---