FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

sio2WindowShutdown, attaching and detaching from a UIView?

Go down

sio2WindowShutdown, attaching and detaching from a UIView? Empty sio2WindowShutdown, attaching and detaching from a UIView?

Post  yarri Sat Apr 25, 2009 2:39 am

Hi, I'm having trouble making SIO2 reentrant when trying to attach and then detach from a UIView. Forcing a call to the sio2WindowShutdown() function works but there's a race condition on the physics thread (using Tutorial06 as a template) and the templateLoading() function is not reentrant.

Does anyone have some advice on how to attach and detach SOI2 to a UIView?

--yarri

yarri

Posts : 81
Join date : 2009-04-10

Back to top Go down

sio2WindowShutdown, attaching and detaching from a UIView? Empty Re: sio2WindowShutdown, attaching and detaching from a UIView?

Post  yarri Sat Apr 25, 2009 2:52 am

Sorry, got it... I was thinking ObjC not c++. Need to update templateShutdown() to reset all static vars. --yarri

yarri

Posts : 81
Join date : 2009-04-10

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum