MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / threadStartup

Function threadStartup

third-party/embreeSrc/common/sys/thread.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 };
98
99 DWORD WINAPI threadStartup(LPVOID ptr)
100 {
101 ThreadStartupData* parg = (ThreadStartupData*) ptr;
102 _mm_setcsr(_mm_getcsr() | /*FTZ:*/ (1<<15) | /*DAZ:*/ (1<<6));
103 parg->f(parg->arg);
104 delete parg;
105 return 0;
106 }
107
108#if !defined(PTHREADS_WIN32)
109

Callers

nothing calls this directly

Calls 3

_mm_setcsrFunction · 0.85
_mm_getcsrFunction · 0.85
setAffinityFunction · 0.85

Tested by

no test coverage detected