4 ms·
> multithreading ... but can it actually use multiple cores without limit, like the JVM itself? Is it a bug or a feature that I can not move the swing window
by Traubenfuchs 3y ago
> multithreading
... but can it actually use multiple cores without limit, like the JVM itself?
Is it a bug or a feature that I can not move the swing window despite it having a top-bar and closing X button?
- apignotti 3y agoWindow movement is implemented in the current production release (CheerpJ 2.x), but not yet as part of the CheerpJ 3.0 rework.
- pulse7 3y agoRE Multithreading: just tried this: public class JavaFiddle { public static void main(String[] args) { new Thread(() -> System.out.println("Hello World from another thread!")).start(); System.out.println("Hello World!"); } } on https://javafiddle.leaningtech.com/ https://javafiddle.leaningtech.com/ and it works...
- lxgr 3y agoBeing able to execute Java threads does not imply that they are being mapped to actual OS-level threads (or any other concurrent construct). Back in the days of J2ME, some embedded JVMs emulated threads at the VM level, for example (due to the OS they were running on itself not supporting any threads, which was true for e.g. Palm OS and many non-smartphone OSes). This was called "green threads", as far as I remember.