[m-rev.] diff: declare MR_debug_threads
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Mar 7 00:40:33 AEDT 2003
Estimated hours taken: 0.25
Branches: main
Fix another bug in petdr's last change.
runtime/mercury_thread.h:
Declare MR_debug_threads.
This needs to be declared here since it is referenced from
mercury_wrapper.c.
Workspace: /home/ceres/fjh/mercury
Index: runtime/mercury_thread.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_thread.h,v
retrieving revision 1.14
diff -u -d -r1.14 mercury_thread.h
--- runtime/mercury_thread.h 3 Mar 2003 16:30:44 -0000 1.14
+++ runtime/mercury_thread.h 6 Mar 2003 13:35:49 -0000
@@ -33,6 +33,8 @@
void MR_cond_signal(MercuryCond *cond);
void MR_cond_wait(MercuryCond *cond, MercuryLock *lock);
+ extern bool MR_debug_threads;
+
#ifndef MR_DEBUG_THREADS
/*
** The following macros should be used once the
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list