Spinscale: create new namespace sscl
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
namespace smo {
|
||||
namespace sscl {
|
||||
|
||||
class MarionetteThread;
|
||||
class PuppetThread;
|
||||
@@ -148,17 +148,19 @@ public:
|
||||
class ThreadLifetimeMgmtOp;
|
||||
};
|
||||
|
||||
namespace mrntt {
|
||||
extern std::shared_ptr<MarionetteThread> thread;
|
||||
} // namespace mrntt
|
||||
} // namespace sscl
|
||||
|
||||
namespace smo {
|
||||
namespace mrntt {
|
||||
extern std::shared_ptr<sscl::MarionetteThread> thread;
|
||||
} // namespace mrntt
|
||||
} // namespace smo
|
||||
|
||||
// Forward declaration for spinscale namespace functions and variables
|
||||
// Must be after smo namespace so ThreadId is defined
|
||||
namespace spinscale {
|
||||
extern smo::ThreadId marionetteThreadId;
|
||||
void setMarionetteThreadId(smo::ThreadId id);
|
||||
// Forward declaration for sscl namespace functions and variables
|
||||
// Must be after sscl namespace so ThreadId is defined
|
||||
namespace sscl {
|
||||
extern sscl::ThreadId marionetteThreadId;
|
||||
void setMarionetteThreadId(sscl::ThreadId id);
|
||||
}
|
||||
|
||||
#endif // COMPONENT_THREAD_H
|
||||
|
||||
Reference in New Issue
Block a user