On 15-Dec-05, at 4:26 PM, Marco Bambini wrote:
On Dec 15, 2005, at 10:06 PM, Frank Condello wrote:
You mentioned you're using a pthread for the updates, so from what
I understand creating/disposing of Rb objects from the DrawScene
event might be a very bad thing to do on Mac OS X. I moved the
scene drawing into an Rb Timer as a test and it ran fine, so the
DrawScene pthread is very suspect at this point.
I wonder why I haven't had any crash... anyway, I agree that I
should use extra caution with my current implementation...
Are you using a single-processor Mac? If I turn off one of my CPU's
with CHUD tools it doesn't crash (at least not immediately, I haven't
left it running for very long) but this reinforces that assumption
that this is indeed a multithreading problem.
Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|