I have a program that calls Behavior.postId() in a
thread with waits like so.

for(c=0; c<100; c++)
{
 behavior.postId(1);
 Thread.sleep(20);
 wait();
}

The behavior class calls notify() when it finishes so
the loop can continue, But I've noticed that if I set
the sleep too low the 3D thread will miss the behavior
post and get stuck at the wait() freezing my program.
Does anyone know how to guard against missed posts
like this?

thanks
Brad


=====
3790 Colorado Ave. G       Mobile: (303)641-8936
Boulder, CO                eFax:   (305)723-2968
80303                      [EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to