[m-rev.] for review: fix thread debugging

Paul Bone pbone at csse.unimelb.edu.au
Mon May 4 11:06:15 AEST 2009


On Sun, May 03, 2009 at 10:26:49PM +1000, Ben Mellor wrote:
> Update the debugging thread synchronization procedures to match the pthread_*
> calls that are made when thread debugging is not enabled.
> 
> runtime/mercury_thread.c
> runtime/mercury_thread.h
> 	Update the functions to which the debug versions of MR_LOCK,
> 	MR_UNLOCK, MR_SIGNAL, etc, expand. Make them all return int error
> 	codes, as do the underlying pthread_* functions, make
> 	MR_cond_signal call pthread_cond_signal instead of
> 	pthread_cond_broadcast, and create an analogous MR_cond_broadcast
> 	function.
> 

This looks fine.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20090504/c13c3a5a/attachment.sig>


More information about the reviews mailing list