mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
remove old interfaces
This commit is contained in:
parent
5063015cda
commit
e1d4257bed
@ -29,12 +29,6 @@
|
|||||||
|
|
||||||
class Thread;
|
class Thread;
|
||||||
|
|
||||||
// The Irix system headers may define this as a macro. Get it out of
|
|
||||||
// the way.
|
|
||||||
#ifdef atomic_set
|
|
||||||
#undef atomic_set
|
|
||||||
#endif
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Class : ThreadDummyImpl
|
// Class : ThreadDummyImpl
|
||||||
// Description : A fake thread implementation for single-threaded
|
// Description : A fake thread implementation for single-threaded
|
||||||
@ -56,10 +50,6 @@ public:
|
|||||||
INLINE static void bind_thread(Thread *thread);
|
INLINE static void bind_thread(Thread *thread);
|
||||||
INLINE static bool is_threading_supported();
|
INLINE static bool is_threading_supported();
|
||||||
INLINE static void sleep(double seconds);
|
INLINE static void sleep(double seconds);
|
||||||
|
|
||||||
INLINE int atomic_inc(int &var);
|
|
||||||
INLINE int atomic_dec(int &var);
|
|
||||||
INLINE int atomic_set(int &var, int new_value);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "threadDummyImpl.I"
|
#include "threadDummyImpl.I"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user