Java 3D is thread-safe only in that it is permissible to make scene
graph modifications, including branch graph insertion and removal, from
any thread while Java 3D is running. It is also permissible to make
modifications to two different objects from different threads. For
example, you can have an interpolator behavior operating on one
transform group in your scene graph, while an AWT event behavior
modifies another transform group in parallel (all while Java 3D is
rendering the scene). It is not permissible to modify the same Java 3D
object from two different threads without externally synchronizing the
access.
--
Kevin Rushforth
Java 3D Team
Sun Microsystems
[EMAIL PROTECTED]
>Date: Thu, 4 Jan 2001 17:11:38 -0500
>From: Mark Montana <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Java3D and thread safety?
>To: [EMAIL PROTECTED]
>
>Hi all, I am a new user of Java3D, and I was wondering if Java3D was
>thread safe. I noticed that using Java3D in an application will cause over
>a dozen new threads to start running. (Well, at least in our application
>because we are using several behaviors and such.) We enabled the write
>capability on many Transform nodes in our Java3D scene graph. Then we
>modify these nodes from a different thread than the rendering thread. I
>assume Java3D would be thread safe in this scenario (especially since we
>have to tell it that we wanted write capability on those nodes). Is this
>correct? Also, is there a good manual or technical paper that discusses
>threads and thread safety in Java3D?
>
>Thanks,
>Mark
>
>===========================================================================
>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".