I'm trying to use the Support/ThreadLocal class, and I'm having some trouble because ThreadLocalImpl::getInstance returns a const void*, which I would like to be able to modify. Is there any particular reason this returns a const pointer rather than simply a void pointer? Pthreads and the Windows TLS API both seem to return plain void*. If there's no particular reason for this, could this be patched to not be const? Thanks, Stephen
Seemingly Similar Threads
- [LLVMdev] why 'const' void * return for ThreadLocalImpl::getInstance()?
- [LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
- [LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
- [nbdkit PATCH 2/4] threadlocal: Copy thread name
- Re: [nbdkit PATCH 2/4] threadlocal: Copy thread name