Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Help me! This is so weird! (Java Thread error)(Java Thread)
icon5.gif  Help me! This is so weird! (Java Thread error) [message #1499394] Fri, 05 December 2014 05:01
Luke Lee is currently offline Luke LeeFriend
Messages: 1
Registered: December 2014
Junior Member
This drives me crazy and I have no idea what is going on this.

This code didn't work on my desktop computer (Windows 7).
It means that Patients can't go further after printing "arrived at the doctor."
(then my CPU goes up to 100%)
I thought the code is just wrong but it went through all the way on my friend's computer(Mac). So I formatted my desktop and re-installed Windows 7 and it is still not working. I tried two other windows computers and didn't work.
However, it is working on my another friend's Mac and he tried with windows computer and it worked.
So far, this code is working properly on 3 Macs and 1 Windows computer and it is NOT working properly on 3 Windows computers. How is it possible? This doesn't make any sense to me. How could the SAME CODE make different output?

It looks like Patient can't put themselves on Queue(q)
I don't know what's going on here and this is really bothering me.
Please help me, I'm dying!
Thank you so much for reading this.
  • Attachment:
    (Size: 1.62KB, Downloaded 90 times)
Previous Topic:What are the linker/builder/code completion/... directories?
Next Topic:random java.lang.IllegalStateException with Eclipse 4.4 and java 8
Goto Forum:

Current Time: Mon Apr 15 16:18:50 GMT 2024

Powered by FUDForum. Page generated in 0.03919 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top