[m-rev.] for review: coroutining for parallel conjunctions

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Jul 3 20:11:43 AEST 2006


On 03-Jul-2006, Julien Fischer <juliensf at cs.mu.OZ.AU> wrote:
> > +        MR_ENGINE(MR_eng_this_context)->MR_ctxt_resume = &&wait_resume;
> 
> Does taking the address of a label work in the none grades? (and the reg
> ones for that matter).

It depends not on the grade but on which compiler you are using; i.e. works
on gcc but not most other C compilers. This means the above code needs to be
changed to use another mechanism on platforms that don't support this gcc
extension. (With gcc, you want to use this mechanism because of its speed.)

Zoltan.
--------------------------------------------------------------------------
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