summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-06-14 17:24:13 +0000
committerThomas Schwinge <tschwinge@gnu.org>2007-06-14 17:24:13 +0000
commit491852dc7478016c3a90f45877cbaa2ef79bf64b (patch)
tree2a90dd6a0d4405683921f7a8d86c6aff1f8ce645
parent2a7fb4a54c2ac9cb8396da117f0a05055330599c (diff)
2007-06-14 Thomas Schwinge <tschwinge@gnu.org>
* cthread_internals.h (cproc_block): Add prototype.
-rw-r--r--libthreads/ChangeLog4
-rw-r--r--libthreads/cthread_internals.h18
2 files changed, 21 insertions, 1 deletions
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 <tschwinge@gnu.org>
+
+ * cthread_internals.h (cproc_block): Add prototype.
+
2002-08-26 Roland McGrath <roland@frob.com>
* 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 <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.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);