class Core : public nn::nex::RefCountedObject
Class that sets the thread mode in which the system operates. Also sets the NgsFacade
and NetZ destruction modes.
An instance of this class is created when NgsFacade
or NetZ is created, and it is destroyed when both are destroyed.
Always set the thread mode with the Core::SetThreadMode
function after calling the GlobalVariables::AcquireInstance
function.
ThreadMode | The enumerator type for threads settings according to purpose. Used as the argument for the SetThreadMode function. |
---|
S | GetInstance | Returns a pointer to a Core instance. |
---|---|---|
S | SetThreadMode | Enables you to set the NEX thread mode. |
S | GetThreadMode | Gets the currently set thread mode. |
S | IsUsingThreadAutoStack | Gets whether AutoStack is being used for the thread's stack memory. The default value is false . |
S | UseThreadAutoStack | Sets whether to use AutoStack for the thread's stack memory. |
S | IsThreadSafe | Gets whether NetZ processing is currently thread-safe. |
S | SetThreadStackSize | Sets the size of the thread stack. |
S | GetThreadStackSize | Gets the size of the thread stack. |
SetTerminateImmediately | Sets the mode to terminate-immediately mode. | |
GetTerminateImmediately | Gets whether the mode has been set to terminate-immediately mode. | |
AcquireRef | Increments the reference count by 1. (Inherits RefCountedObject .) |
|
ReleaseRef | Decrements the reference count by 1. Deletes itself when the count reaches 0 . (Inherits RefCountedObject .) |
nn::nex::RootObject
nn::nex::RefCountedObject
nn::nex::Core
Core
class are created and destroyed.Core::UseThreads
, Core::UseTransportBufferThread
, and Core::SelectThreadSafeExecution
functions were made private.CONFIDENTIAL