Results 1 to 2 of 2
Thread: Threading
- 01-15-2011, 09:11 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 1
- Rep Power
- 0
Threading
hello i am kaptan.
what is moniter and mutex in threading ?
=============================
avater
- 01-31-2011, 08:23 PM #2
Member
- Join Date
- Jan 2011
- Posts
- 5
- Rep Power
- 0
Be more specific
The word mutex (Mutual Exclusion) in the context of thread synchronization means that we want only a single thread to have access to a certain resource or to run a certain block of code (a.k.a. critical section).
In Java it can be implemented using monitors.
Any object can be a monitor but of course you must make all the relevant threads look on the same instance and synchronized by it.
But you will have to ask a more specific question . . .
Similar Threads
-
threading help
By the reporter in forum AWT / SwingReplies: 19Last Post: 06-21-2010, 05:50 PM -
Threading
By hedonist in forum Advanced JavaReplies: 3Last Post: 03-13-2010, 02:21 PM -
need some help with threading
By dinosoep in forum New To JavaReplies: 3Last Post: 12-03-2009, 05:31 PM -
Threading
By jon80 in forum New To JavaReplies: 1Last Post: 06-13-2009, 10:53 PM -
Threading in EJB
By java08 in forum Advanced JavaReplies: 2Last Post: 08-12-2008, 11:09 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks