Deleted Added
full compact
proc.h (134425) proc.h (134571)
1/*-
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)proc.h 8.15 (Berkeley) 5/19/95
1/*-
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)proc.h 8.15 (Berkeley) 5/19/95
35 * $FreeBSD: head/sys/sys/proc.h 134425 2004-08-28 04:08:05Z davidxu $
35 * $FreeBSD: head/sys/sys/proc.h 134571 2004-08-31 07:34:54Z julian $
36 */
37
38#ifndef _SYS_PROC_H_
39#define _SYS_PROC_H_
40
41#include <sys/callout.h> /* For struct callout. */
42#include <sys/event.h> /* For struct klist. */
43#ifndef _KERNEL

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

956void thread_stash(struct thread *td);
957int thread_suspend_check(int how);
958void thread_suspend_one(struct thread *td);
959void thread_unlink(struct thread *td);
960void thread_unsuspend(struct proc *p);
961void thread_unsuspend_one(struct thread *td);
962int thread_userret(struct thread *td, struct trapframe *frame);
963int thread_upcall_check(struct thread *td);
36 */
37
38#ifndef _SYS_PROC_H_
39#define _SYS_PROC_H_
40
41#include <sys/callout.h> /* For struct callout. */
42#include <sys/event.h> /* For struct klist. */
43#ifndef _KERNEL

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

956void thread_stash(struct thread *td);
957int thread_suspend_check(int how);
958void thread_suspend_one(struct thread *td);
959void thread_unlink(struct thread *td);
960void thread_unsuspend(struct proc *p);
961void thread_unsuspend_one(struct thread *td);
962int thread_userret(struct thread *td, struct trapframe *frame);
963int thread_upcall_check(struct thread *td);
964void thread_user_enter(struct proc *p, struct thread *td);
964void thread_user_enter(struct thread *td);
965void thread_wait(struct proc *p);
966int thread_statclock(int user);
967struct kse_upcall *upcall_alloc(void);
968void upcall_free(struct kse_upcall *ku);
969void upcall_link(struct kse_upcall *ku, struct ksegrp *kg);
970void upcall_unlink(struct kse_upcall *ku);
971void upcall_remove(struct thread *td);
972void upcall_stash(struct kse_upcall *ke);
973void thread_sanity_check(struct thread *td, char *);
974void thread_stopped(struct proc *p);
975void thread_switchout(struct thread *td);
976void thread_continued(struct proc *p);
977void thr_exit1(void);
978#endif /* _KERNEL */
979
980#endif /* !_SYS_PROC_H_ */
965void thread_wait(struct proc *p);
966int thread_statclock(int user);
967struct kse_upcall *upcall_alloc(void);
968void upcall_free(struct kse_upcall *ku);
969void upcall_link(struct kse_upcall *ku, struct ksegrp *kg);
970void upcall_unlink(struct kse_upcall *ku);
971void upcall_remove(struct thread *td);
972void upcall_stash(struct kse_upcall *ke);
973void thread_sanity_check(struct thread *td, char *);
974void thread_stopped(struct proc *p);
975void thread_switchout(struct thread *td);
976void thread_continued(struct proc *p);
977void thr_exit1(void);
978#endif /* _KERNEL */
979
980#endif /* !_SYS_PROC_H_ */