Results 1 to 2 of 2

Thread: Threading

  1. #1
    kaptan_singh is offline Member
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    Default Threading

    hello i am kaptan.
    what is moniter and mutex in threading ?

    =============================
    avater

  2. #2
    golan2 is offline Member
    Join Date
    Jan 2011
    Posts
    5
    Rep Power
    0

    Default 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

  1. threading help
    By the reporter in forum AWT / Swing
    Replies: 19
    Last Post: 06-21-2010, 05:50 PM
  2. Threading
    By hedonist in forum Advanced Java
    Replies: 3
    Last Post: 03-13-2010, 02:21 PM
  3. need some help with threading
    By dinosoep in forum New To Java
    Replies: 3
    Last Post: 12-03-2009, 05:31 PM
  4. Threading
    By jon80 in forum New To Java
    Replies: 1
    Last Post: 06-13-2009, 10:53 PM
  5. Threading in EJB
    By java08 in forum Advanced Java
    Replies: 2
    Last Post: 08-12-2008, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •