summaryrefslogtreecommitdiff
path: root/libthreads/cprocs.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-29 00:01:24 +0000
committerRoland McGrath <roland@gnu.org>2002-05-29 00:01:24 +0000
commitd95245b9e6eb19991ee97ca4f0c6fedcfe619fb4 (patch)
tree89c4c9cc4925ab47d799122bf9961fdaccbf1860 /libthreads/cprocs.c
parent9ddd3e4ffe133a2e60c16e1156324b3095c7d792 (diff)
2002-05-28 Roland McGrath <roland@frob.com>
* cprocs.c (cproc_block): Can't be static, called from cancel-cond.c.
Diffstat (limited to 'libthreads/cprocs.c')
-rw-r--r--libthreads/cprocs.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/libthreads/cprocs.c b/libthreads/cprocs.c
index 91e689f8..2195039c 100644
--- a/libthreads/cprocs.c
+++ b/libthreads/cprocs.c
@@ -28,7 +28,21 @@
* 26-Oct-94 Johannes Helander (jvh) Helsinki University of Technology
* Set the wait_type field.
*
- * $Log: cprocs.c,v $
+ * $Log: cprocs.c,v $
+ * Revision 1.16 2002/05/27 02:50:10 roland
+ * 2002-05-26 Roland McGrath <roland@frob.com>
+ *
+ * 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.18 93/03/09 10:59:10 danner
* Lint.
* [93/03/06 af]
@@ -609,7 +623,7 @@ cproc_waiter(void)
* You must hold cproc_self()->lock when called.
*/
-private void
+void
cproc_block(void)
{
extern unsigned int __hurd_threadvar_max; /* GNU */