summaryrefslogtreecommitdiff
path: root/libthreads/rwlock.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-24 19:29:49 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-24 19:29:49 +0000
commit535f8e46a030eda99b08e7a4fd03b0e6cdaa6d5e (patch)
treee904d6648073efc7527440076f95c877f3fa2477 /libthreads/rwlock.c
parente55ef2526c963f88b0cfe1f39dab0131377a1ae4 (diff)
Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/csw.S (CALL_MCOUNT): New macro. (cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT. * rwlock.h: Change extern inline protection to use new canonical method. * rwlock.c: Rewritten.
Diffstat (limited to 'libthreads/rwlock.c')
-rw-r--r--libthreads/rwlock.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libthreads/rwlock.c b/libthreads/rwlock.c
index 6fcb08c4..93533a97 100644
--- a/libthreads/rwlock.c
+++ b/libthreads/rwlock.c
@@ -1,6 +1,2 @@
-/* This file defines the real functions for the inlines in rwlock.h. */
-
-#include <cthreads.h>
-
-#define _RWLOCK_DEFINE_FUNCTIONS /* Define the real functions. */
-#include <rwlock.h>
+#define RWLOCK_EI
+#include "rwlock.h"