[m-dev.] response to fjh's review of the parallelism changes

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jun 3 16:32:47 AEST 1998


On 03-Jun-1998, Thomas Charles CONWAY <conway at cs.mu.OZ.AU> wrote:
> +void *init_pthread(void *unsed)

I think you want s/unsed/unused/

> +	switch (when_to_use) {
> +		case (int) MR_use_later :
> +			call_engine(ENTRY(do_runnext));
> +
> +			destroy_engine(eng);
> +			return;
> +
> +		case (int) MR_use_now :
> +			return;
> +		
> +		default:
> +			fatal_error("init_thread was passed a bad value");

The casts to (int) are not needed anymore.

Otherwise, that looks great!

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list