3 ms·
> So long as you're not using this technique to unlock mutexes, you'll be fine. This does not sound good. In addition, it is worth mentioning that your hack w
by avianes 6y ago
> So long as you're not using this technique to unlock mutexes, you'll be fine.
This does not sound good.
In addition, it is worth mentioning that your hack will probably break the return stack buffer of the x86 superscalar processors.
While a "defer" implementation would have neither of these two flaws.
No doubt it's a pretty neat hack, but I would be sceptical about using it extensively in place of a "defer".