Quantcast
Channel: Make two operations atomic - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



Make 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
Browsing latest articles
Browse All 2 View Live




Latest Images