title: How to control Lua script from C (Pause, Resume, Terminate)?
body: <p>I have a c application that runs some LUA scripts.
  Lua scripts run a separate task.</p>
  
  <p>I want to know how to pause Lua script and resume it again, I mean the whole script not just one function?</p>
  
  <p>I want also to terminate a running script completely. </p>