13 Jun
2010
13 Jun
'10
9:07 p.m.
Hello, On Sun, Jun 13, 2010 at 08:37:20PM +0200, Jens Vollinga wrote:
As far as I understand GCD code is not any worse in this regard (that said, it's not any better either). I might be wrong (I'm just a human being), so I'd be grateful if someone could point out any non-reentrant code in GCD routines.
Well, someone says: you have static variables inside functions there.
Could you please be more specific? I can see several static const variables, for instance, static const int immediate_bits = 8*sizeof(void *) - __alignof__(void *); but most likely GCC will eliminate these at the compile time. Best regards, Alexei