implement ShellContext
This commit is contained in:
@@ -240,4 +240,13 @@ const char *epicsThread::getNameSelf ()
|
||||
return epicsThreadGetNameSelf ();
|
||||
}
|
||||
|
||||
bool epicsThread::isShellContext () const
|
||||
{
|
||||
return static_cast<int>(epicsThreadIsShellContext(this->id));
|
||||
}
|
||||
|
||||
void epicsThread::setShellContext(bool isShell)
|
||||
{
|
||||
epicsThreadSetShellContext(this->id,static_cast<int>(isShell));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user