/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2010-2010 - DIGITEO - Bruno JOFRET
+ * Copyright (C) 2013-2013 - LIP6 - Peter Senna Tschudin
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
class CORE_GW_IMPEXP Jitter
{
private :
- Jitter(ast::Exp* _theProgram, ast::JITVisitor *_visitor)
+ Jitter(ast::Exp* _theProgram, ast::JITVisitor *_visitor)
{
m_theProgram = _theProgram;
m_visitor = _visitor;
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
+ * Copyright (C) 2013-2013 - LIP6 - Peter Senna Tschudin
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
me->getProgram()->accept(*(me->getVisitor()));
ConfigVariable::clearLastError();
}
- catch(ScilabException se)
+ catch (ScilabException se)
{
scilabErrorW(se.GetErrorMessage().c_str());
}
//change thread status
ThreadId* pThread = ConfigVariable::getThread(currentThreadKey);
- if(pThread->getStatus() != ThreadId::Aborted)
+ if (pThread->getStatus() != ThreadId::Aborted)
{
pThread->setStatus(ThreadId::Done);
bdoUnlock = true;
delete me;
- if(bdoUnlock)
+ if (bdoUnlock)
{
UnlockPrompt();
}
LockPrompt();
types::ThreadId* pExecThread = ConfigVariable::getThread(threadKey);
- if(pExecThread == NULL)
- {//call pthread_join to clean stack allocation
+ if (pExecThread == NULL)
+ {
+ //call pthread_join to clean stack allocation
__WaitThreadDie(threadId);
}
}
- catch(ScilabException se)
+ catch (ScilabException se)
{
throw se;
}