From 491852dc7478016c3a90f45877cbaa2ef79bf64b Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 14 Jun 2007 17:24:13 +0000 Subject: 2007-06-14 Thomas Schwinge * cthread_internals.h (cproc_block): Add prototype. --- libthreads/ChangeLog | 4 ++++ libthreads/cthread_internals.h | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog index eff1ade9..93db8258 100644 --- a/libthreads/ChangeLog +++ b/libthreads/ChangeLog @@ -1,3 +1,7 @@ +2007-06-14 Thomas Schwinge + + * cthread_internals.h (cproc_block): Add prototype. + 2002-08-26 Roland McGrath * cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to diff --git a/libthreads/cthread_internals.h b/libthreads/cthread_internals.h index 7c557428..eec336cf 100644 --- a/libthreads/cthread_internals.h +++ b/libthreads/cthread_internals.h @@ -28,7 +28,21 @@ * 26-Oct-94 Johannes Helander (jvh) Helsinki University of Technology * Defined WAIT_DEBUG and initialized wait_enum * - * $Log: cthread_internals.h,v $ + * $Log: cthread_internals.h,v $ + * Revision 1.6 2002/05/27 02:50:10 roland + * 2002-05-26 Roland McGrath + * + * Changes merged from CMU MK83a version: + * * cthreads.h, options.h: Various cleanups. + * * call.c, cthread_data.c, sync.c, mig_support.c: Likewise. + * * i386/cthreads.h, i386/thread.c, i386/lock.s: Likewise. + * * cthread_internals.h: Add decls for internal functions. + * (struct cproc): Use vm_offset_t for stack_base and stack_size members. + * Use natural_t for context member. + * * cprocs.c: Use prototypes for all defns. + * * cthreads.c: Likewise. + * (cthread_exit): Cast any_t to integer_t before int. + * * Revision 2.17 93/05/10 21:33:36 rvb * Context is a natural_t. Assumming, that is, that on * some future architecture one word might be enough. @@ -260,6 +274,8 @@ extern vm_offset_t cproc_init(void); extern void cproc_waiting(cproc_t _waiter); +extern void cproc_block(void); + extern cproc_t cproc_create(void); extern void cproc_fork_prepare(void); -- cgit v1.2.3