sio2WindowShutdown, attaching and detaching from a UIView?

View previous topic View next topic Go down

sio2WindowShutdown, attaching and detaching from a UIView?

Post  yarri on 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

View user profile

Back to top Go down

Re: sio2WindowShutdown, attaching and detaching from a UIView?

Post  yarri on 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

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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