Answer by Solomon Slow for Make two operations atomic
The problem is - I think - that I have to release the lock to modify, followed by a call to sync.wait()Sounds like lost notification. Understand that sync.notify() does nothing at all if there is not...
View ArticleMake two operations atomic
I'm implementing a custom datastructure that should follow these requirements:Elements should be searchable (i.e., locate and retrieve an element according to .equals())When I try to retrieve an...
View Article
More Pages to Explore .....