?
Solved

Real Time Thread

Posted on 2003-03-14
5
Medium Priority
?
230 Views
Last Modified: 2010-04-17
Hi,
 i am designing a multithreaded java application which requires that all the threads in the system access the resource in a cyclic order. Ofcourse i cannot use Java Thread class to do that because under race condition the OS will give any thread the access to that resource ....

regards ...
rupak kumar ....
0
Comment
Question by:rupak_kumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 

Author Comment

by:rupak_kumar
ID: 8134886
I am looking for a framework which allows any process to be scheduled like that.
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 80 total points
ID: 8135154
I guess if you use Thread with no sleep () or wait () or notify () and no different priorities, then all of them will get access serially (I mean - in a cyclic order as you want).

Mayank.
0
 

Expert Comment

by:CleanupPing
ID: 9447150
rupak_kumar:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 9472007
Recommendation: Accept mayankeagle's comment as answer.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Starting up a Project
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question