mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 22:20:12 +00:00
disable per-thread tsan issue, todo: checkout why it fails
This commit is contained in:
parent
e3c03401c8
commit
74223ced56
@ -247,7 +247,9 @@ void btDbvtBroadphase::rayTest(const btVector3& rayFrom, const btVector3& rayTo,
|
||||
// instead of just a local.
|
||||
int threadIndex = btGetCurrentThreadIndex();
|
||||
btAlignedObjectArray<const btDbvtNode*> localStack;
|
||||
if (threadIndex < m_rayTestStacks.size())
|
||||
//todo(erwincoumans, "why do we get tsan issue here?")
|
||||
if (0)//threadIndex < m_rayTestStacks.size())
|
||||
//if (threadIndex < m_rayTestStacks.size())
|
||||
{
|
||||
// use per-thread preallocated stack if possible to avoid dynamic allocations
|
||||
stack = &m_rayTestStacks[threadIndex];
|
||||
|
Loading…
Reference in New Issue
Block a user