Email List: Xaustin-group-lX
[All Lists]

Re: XSH/XRAT conflict over cancellation points

To: Dave Butenhof <yyyyyyyyyyyyyy@xxxxxx>
Subject: Re: XSH/XRAT conflict over cancellation points
From: Alexander Terekhov <yyyyyyyy@xxxxxxxxxx>
Date: Fri, 21 May 2004 15:09:40 +0200
Cc: Schwarz Konrad <yyyyyyyyyyyyyy@xxxxxxxxxxx>, yyyyyyyyyyyyyy@xxxxxxxxxxxxx
[setjmp/longjmp "exceptions"]

> you're "publishing" the address of 'i' via the pthread_cleanup_push()

That's irrelevant. In C, "values of objects of automatic 
storage duration that are local to the function containing 
the invocation of the corresponding setjmp macro that do 
not have volatile-qualified type and have been changed 
between the setjmp invocation and longjmp call are 
indeterminate." Actually, your own docu goes far beyond 
that and says "The requirement to use the volatile type 
qualifier pertains to a variable regardless of its C 
storage clas -- that is, for both automatic and static 
variables". Next flame, please.

regards,
alexander.

<Prev in Thread] Current Thread [Next in Thread>