Deleted Added
full compact
thr_private.h (292516) thr_private.h (295407)
1/*
2 * Copyright (C) 2005 Daniel M. Eischen <deischen@freebsd.org>
3 * Copyright (c) 2005 David Xu <davidxu@freebsd.org>
4 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
5 *
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
1/*
2 * Copyright (C) 2005 Daniel M. Eischen <deischen@freebsd.org>
3 * Copyright (c) 2005 David Xu <davidxu@freebsd.org>
4 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
5 *
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * $FreeBSD: head/lib/libthr/thread/thr_private.h 292516 2015-12-20 16:33:56Z jilles $
29 * $FreeBSD: head/lib/libthr/thread/thr_private.h 295407 2016-02-08 19:24:13Z kib $
30 */
31
32#ifndef _THR_PRIVATE_H
33#define _THR_PRIVATE_H
34
35/*
36 * Include files.
37 */

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

922int __thr_sigprocmask(int how, const sigset_t *set, sigset_t *oset);
923int __thr_sigsuspend(const sigset_t * set);
924int __thr_sigtimedwait(const sigset_t *set, siginfo_t *info,
925 const struct timespec * timeout);
926int __thr_sigwait(const sigset_t *set, int *sig);
927int __thr_sigwaitinfo(const sigset_t *set, siginfo_t *info);
928int __thr_swapcontext(ucontext_t *oucp, const ucontext_t *ucp);
929
30 */
31
32#ifndef _THR_PRIVATE_H
33#define _THR_PRIVATE_H
34
35/*
36 * Include files.
37 */

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

922int __thr_sigprocmask(int how, const sigset_t *set, sigset_t *oset);
923int __thr_sigsuspend(const sigset_t * set);
924int __thr_sigtimedwait(const sigset_t *set, siginfo_t *info,
925 const struct timespec * timeout);
926int __thr_sigwait(const sigset_t *set, int *sig);
927int __thr_sigwaitinfo(const sigset_t *set, siginfo_t *info);
928int __thr_swapcontext(ucontext_t *oucp, const ucontext_t *ucp);
929
930void __thr_map_stacks_exec(void);
931
930struct _spinlock;
931void __thr_spinunlock(struct _spinlock *lck);
932void __thr_spinlock(struct _spinlock *lck);
933
934struct tcb *_tcb_ctor(struct pthread *, int);
935void _tcb_dtor(struct tcb *);
936
937__END_DECLS
938
939#endif /* !_THR_PRIVATE_H */
932struct _spinlock;
933void __thr_spinunlock(struct _spinlock *lck);
934void __thr_spinlock(struct _spinlock *lck);
935
936struct tcb *_tcb_ctor(struct pthread *, int);
937void _tcb_dtor(struct tcb *);
938
939__END_DECLS
940
941#endif /* !_THR_PRIVATE_H */