It turns out that I'd forgotten to change the joinable flag from a char to an int.
And thanks to the wonders of implicit casting, passing a char* to epicsAtomicCmpAndSwapIntT()
will compile. There was a warning, which I didn't see. Luckily the joinable flag was at end of the struct, and triggered a fault, or I might not have noticed at all.
WIN32 fix 46fa31020ed4c5d 3e4055eb63e4e34 ecd341ba0c
It turns out that I'd forgotten to change the joinable flag from a char to an int. ndSwapIntT( )
And thanks to the wonders of implicit casting, passing a char* to epicsAtomicCmpA
will compile. There was a warning, which I didn't see. Luckily the joinable flag was at end of the struct, and triggered a fault, or I might not have noticed at all.