implement ShellContext

This commit is contained in:
Marty Kraimer
2004-07-09 16:05:53 +00:00
parent 23d4d7f790
commit b97efc9f7d
6 changed files with 90 additions and 0 deletions
+9
View File
@@ -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));
}