I'm studying a course in Java programming at University. We use Borland JBuilder 4 as our IDE. I run JBuilder on Windows XP under Parallels RC3 on my MacBook Pro using a BootCamp installation.
We've just started studying threads and concurrent programming. We wrote a very simple program to demonstrate the use of threaded applications. Running this program while booted into BootCamp shows that the program is running threaded, but if I then boot the same XP system in Parallels and run the same Java program the output shows that one thread runs first and then the other, not concurrent at all!
I have to write a fairly complex fully threaded client/server program in Java for an exam next month and it looks like I'll have to use BootCamp instead of Parallels for that to make sure it all works.
EDIT: Hmm, we're just written another program using threads and that one worked fine in Parallels, so maybe it was just some strange glitch!
We've just started studying threads and concurrent programming. We wrote a very simple program to demonstrate the use of threaded applications. Running this program while booted into BootCamp shows that the program is running threaded, but if I then boot the same XP system in Parallels and run the same Java program the output shows that one thread runs first and then the other, not concurrent at all!
I have to write a fairly complex fully threaded client/server program in Java for an exam next month and it looks like I'll have to use BootCamp instead of Parallels for that to make sure it all works.
EDIT: Hmm, we're just written another program using threads and that one worked fine in Parallels, so maybe it was just some strange glitch!
Last edited: