From: Yuan X. <xuy...@gm...> - 2007-03-15 11:37:35
|
Hi all, I tried again today, but it still does not work. Firstly, I create a global mutex that all ruby functions should call before doing anything. But it will cause dead lock, because there are recursive calls between Ruby and C++. And then, I make the whole run loop in a single thread, but not the main thread, ie. After the initialization, the main thread create a new thread. The new thread run the simulation loops, while the main thread do nothing. However the strange phenomenon remains ;-( Do you have any suggestion? -- Best wishes! Xu Yuan School of Automation Southeast University, Nanjing, China mail: xuy...@gm... xy...@ya... web: http://xuyuan.cn.googlepages.com -------------------------------------------------- |