The code below behaves very strangely. The GUI thread is blocked, even though "work" is a totally different thread. If I put a print statement in mouseClicked, the print executes, work keeps running.
package dustin.examples.jmx.threading; import static java.lang.System.out; /** * Example of a class that often will lead to deadlock adapted from the * Java Tutorials ...
Sommige resultaten zijn verborgen omdat ze mogelijk niet toegankelijk zijn voor u.
Niet-toegankelijke resultaten weergeven