Hi,

i'm getting a crash when running my app and i wonder if i'm doing it wrong.

The situation is like this:
I have a native C++ application wich has a Lua interpreter embedded. This 
embedded interpreter load a lua script that contains wxLua. The idea is, the 
native code is multithraeded a modifies interal structures (protected with 
mutex) and i want to observe that values so i load the lua script with wxLua. 


I think my problem is that my native app do call the lua state to notify that 
changes to the internal data have occur, and the same?¿ lua state is called by 
wx as callbacks to the GUI events, could be this the reason for crash? Is there 
a way to avoid this? Not ideal but would be OK to do pooling in the MainLoop, 
so i could (every second for example) retrieve the new data from the native 
side and update the GUI with the current data.

I hope i have been clear.
Thanks in advance.
Javier Monge.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to