Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.21 seconds.

  1. Replies
    7
    Views
    990

    Re: Synchronized is blocking

    You don't have to be adding and getting at the same time to see the Exception, you just have to be modifying the collection while you're iterating over that collection But like I said, without an...
  2. Replies
    7
    Views
    990

    Re: Synchronized is blocking

    That Exception is caused when you attempt to modify a Collection (such as a List or a Map) while you're iterating over it. I assume that one thread is iterating over a collection while another thread...
  3. Replies
    7
    Views
    990

    Re: Synchronized is blocking

    Why do you think that? Have you read through the tutorials? If not, start here: Lesson: Concurrency (The Java™ Tutorials > Essential Classes)



    What does "not run properly" mean? Where is the...
Results 1 to 3 of 3