This is correct. All the bahaviors in a scheduling interval are guaranteed to complete before the behaviors in the next scheduling interval are started. Within a scheduling interval, the order of execution and whether or not behaviors are run in parallel is not specified.
Doug Twilleager Java 3D Team Sun Microsystems >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 >Subject: Re: [JAVA3D] On Threads >To: [EMAIL PROTECTED] > >----- Original Message ----- >From: "Justin Couch" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, January 04, 2002 5:12 AM >Subject: Re: [JAVA3D] On Threads > > >> Fred Klingener wrote: >> >> > I think that's overstating it a bit. If I understand Sun's >> > guidance on this, you are guaranteed two things: 1.) that >the >> > rendering thread will wait for you to finish with your >> > processStimulus(), and 2.) no other processStimulus() will >start >> > or run until you exit. >> >> >> That is not a correct assumption. Nominally all behaviours can >run in >> parallel. For example collision detection behaviours run in >parallel to >> the elapsedFrame behaviours and AWT stuff. Now, given that >most people >> use single CPU machines, then the above is a reasonable >assumption, but >> not necessarily correct. > >Isn't it true, though, that the new-to-1.3 >Behavior.setSchedulingInterval() gives you a measure of control >of this? > >Fred > >=========================================================================== >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". =========================================================================== 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".
