static void EraseErrorElements( void );
None.
Erases error information corresponding to the thread that calls this API from the SystemError
class.
When a thread is created on the application side and that thread calls a NEX API, be sure to call this API from inside that thread just before that thread is terminated.
With NEX, error information is recorded for each thread (more accurately, for each thread ID). The system must allocate memory to record error information for each created thread. If threads that call NEX APIs are created and destroyed frequently, the system will eventually crash because memory will be exhausted due to memory leaks. This function is provided to avoid this situation.
This function does not need to be called if threads are run using nn::nex::ObjectThread
. This is because this information is erased by the nn::nex::ObjectThreadRoot
function.
nn::nex::ObjectThread
CONFIDENTIAL