Just a note: you shouldn't be creating a proc that is both async _and_ a 
thread. Create a thread and then run async procs in it, something like:
    
    
    proc myThread() {.thread.} =
      asynCheck(asyncProc1)
      waitFor(longRunningAsyncProc2)
    
    
    
    Run

Reply via email to