You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iPhone Wax
I need do a lot of work in thread
it's better no to do in main thread
so i used
NSThread:detachNewThreadSelector_toTarget_withObject('load:',
Effect, nil)
but it does not work
is there any way to run a thread in lua under iphonewax frame?
有没有办法用lua启用一个线程NSThread?
Corey Johnson
unread,
Jun 11, 2012, 11:49:33 AM6/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ipho...@googlegroups.com
Lua code can only run in the main thread. If you want to do something in a separate thread you have to write the code in objective-c and call if from lua.