Skip to main content



      Home
Home » Newcomers » Newcomers » MultiThreading java program not working in eclipse(I am setting priority for threads execution and it won't work.)
MultiThreading java program not working in eclipse [message #1848117] Sun, 21 November 2021 11:53 Go to next message
Eclipse UserFriend
I am a new eclipse user and, I was trying a program where I need to set the priorities for threads to get a proper execution order as desired but even after setting the priority for threads, upon execution the program behaves the same as of without any threads priority and the output varies every time (which is normal if we haven't set any priority but it is not normal when I have given the priority).
I have tried integer value (1 to 10) and also tried MAX_PRIORITY, MIN_PRIORITY but still the output order is random.
any help in this regard will be much appreciated.
Re: MultiThreading java program not working in eclipse [message #1848147 is a reply to message #1848117] Mon, 22 November 2021 09:45 Go to previous message
Eclipse UserFriend
This is not a question specific to Eclipse but rather a general Java question. It would be better to ask on a general forum such as https://stackoverflow.com/
Previous Topic:Unable to Install ADT software in Eclipse
Next Topic:Failed to create Virtual Machine
Goto Forum:
  


Current Time: Wed Jul 30 13:39:14 EDT 2025

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

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

Back to the top