mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 17:30:12 +00:00
Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
This commit is contained in:
parent
0ff4444118
commit
dae8b658da
@ -75,7 +75,7 @@ public:
|
||||
btSpinlock (SpinVariable* var)
|
||||
: spinVariable (var)
|
||||
{}
|
||||
#ifndef SPU
|
||||
#ifndef __SPU__
|
||||
void Init ()
|
||||
{
|
||||
//*spinVariable = 1;
|
||||
@ -83,7 +83,7 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef SPU
|
||||
#ifdef __SPU__
|
||||
void Lock ()
|
||||
{
|
||||
// lock semaphore
|
||||
@ -103,7 +103,7 @@ public:
|
||||
|
||||
private:
|
||||
SpinVariable* spinVariable;
|
||||
uint32_t atomic_buf[32] __attribute__((aligned(128)));
|
||||
ATTRIBUTE_ALIGNED128(uint32_t atomic_buf[32]);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user