#32 new threaded PLC code
This commit is contained in:
@@ -330,7 +330,7 @@ function new_session(id, for_reactor, in_queue, out_queue)
|
||||
-- handle queue --
|
||||
------------------
|
||||
|
||||
if not self.in_q.empty() then
|
||||
if self.in_q.ready() then
|
||||
-- get a new message to process
|
||||
local message = self.in_q.pop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user