[solved] gadget:Initialize() - spring vs. spring-mt
Posted: 15 Aug 2013, 02:51
Hi,
I stumbled about a (at least to me) strange problem when playing around with a KotH gadget I tested in my local BA install. The gadget behaves differently depending on whether I use the spring or the spring-multithreaded binary:
In the function gadget:Initialize() in the synced part everything runs as expected when using the spring-multithreaded binary.
When I use the spring binary it seems that some parts are not executed:
For example a Spring.Echo command I put in the first line for "debugging" doesn't give a message output (and a second one later in the function neither). Also a SendToUnsynced(..) that is there isn't working.
Some other lines that set variables for the synced part and call a function there work normal with both binaries.
Has anybody a hint where this could come from?
... And maybe how to work around it?
Thanks a lot in advance for any tip!
CU qray.
I stumbled about a (at least to me) strange problem when playing around with a KotH gadget I tested in my local BA install. The gadget behaves differently depending on whether I use the spring or the spring-multithreaded binary:
In the function gadget:Initialize() in the synced part everything runs as expected when using the spring-multithreaded binary.
When I use the spring binary it seems that some parts are not executed:
For example a Spring.Echo command I put in the first line for "debugging" doesn't give a message output (and a second one later in the function neither). Also a SendToUnsynced(..) that is there isn't working.
Some other lines that set variables for the synced part and call a function there work normal with both binaries.
Has anybody a hint where this could come from?
... And maybe how to work around it?

Thanks a lot in advance for any tip!
CU qray.