access window controls from worker thread
Hi, I was looking for method how to access window controls like buttons, listboxes etc from a worker thread.. like:
local thread = thread.new(function(queue) while true do local t,v,l = queue:pop(1000) if t then win.title = v -- and here is a trouble with access to win -- it is not possible to send table/cdata etc as an argument in thread.new(..) end end end, queue )
Has anyone resolved such situation?
What's the exact problem? Since from the function thread.new(...) it should be possible.