{"body":"\tfunction self.recv()\n\t\tcoroutine.yield()\n\n\t\t--[[\n\t\t\tIt is possible for a process to be force-resumed using scheduler.enqueue()\n\t\t\tIf this happens, and we are in the middle of a recv() call, then we might\n\t\t\tassume that some process wants to break an existing recv() call:\n\t\t--]]\n\t\tif self.inbox() == 0 then return ':error', 'Wakeup: broke out of recv() loop' end\n\n\t\treturn ':ok', table.remove(outbox[current], 1)\n\tend","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/rViDJXwt","modified":1527205789,"id":"rViDJXwt","size":418,"lines":12,"own_paste":false,"theme":"","date":1527205789}