MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / Abort

Method Abort

src/server/angelscript/angelscript/source/as_context.cpp:1170–1185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168
1169
1170int asCContext::Abort()
1171{
1172 if( m_engine == 0 ) return asERROR;
1173
1174 // TODO: multithread: Make thread safe. There is a chance that the status
1175 // changes to something else after being set to ABORTED here.
1176 if( m_status == asEXECUTION_SUSPENDED )
1177 m_status = asEXECUTION_ABORTED;
1178
1179 m_doSuspend = true;
1180 m_regs.doProcessSuspend = true;
1181 m_externalSuspendRequest = true;
1182 m_doAbort = true;
1183
1184 return 0;
1185}
1186
1187// interface
1188int asCContext::Suspend()

Callers 14

LineCallbackMethod · 0.80
LineCallbackFunction · 0.80
mainFunction · 0.80
LineCallbackFunction · 0.80
ScriptObjectCopyFactoryFunction · 0.80
CallDestructorMethod · 0.80
CopyFromAsMethod · 0.80
InterpretCommandMethod · 0.80
operator==Method · 0.80
FindMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected