MCPcopy Create free account
hub / github.com/devkitPro/libctru / getThreadLocalStorage

Function getThreadLocalStorage

libctru/include/3ds/svc.h:531–536  ·  view source on GitHub ↗

* @brief Gets the thread local storage buffer. * @return The thread local storage buffer. */

Source from the content-addressed store, hash-verified

529 * @return The thread local storage buffer.
530 */
531static inline void* getThreadLocalStorage(void)
532{
533 void* ret;
534 __asm__ ("mrc p15, 0, %[data], c13, c0, 3" : [data] "=r" (ret));
535 return ret;
536}
537
538/**
539 * @brief Gets the thread command buffer.

Callers 6

getThreadVarsFunction · 0.85
RecursiveLock_LockFunction · 0.85
RecursiveLock_TryLockFunction · 0.85
threadOnExceptionFunction · 0.85
getThreadCommandBufferFunction · 0.85
getThreadStaticBuffersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected