> Wouldn't a thread-local global variable solve your problem?
>
> Best regards,
> --Edwin
Are thread-local variables supported on all platforms? If so, than
probably yes... both the pointers would probably be kept in the
processor cache, which would speed-wise probably be comparable (will
it be?) with keeping variables in the registers.
- Tom Primožič
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20090207/3cc45992/attachment.html>