AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
setSwingThreadSafe (int state [, int locked]) yoix.swing
 
Sets the interpreter's thread-safe setting to state, which should be 1 (the default) if Swing components automatically get treatment that is supposed to guarantee thread-safe behavior and 0 if that job is left to the Yoix script. The optional locked argument, if it is non-zero, can be used to prevent future changes. setSwingThreadSafe returns the interpreter's new setting and does not complain if you try to change a locked value. The thread-safe setting can also be permanently set using the --threadsafe=true or --threadsafe=false command line options.
 
 Return:   int
 
 See Also:   getSwingThreadSafe

 

Yoix is a registered trademark of AT&T Inc.