-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
What is happened if I'll remove @syncronized?
I’ve considered two options. Method handle() will execute on the storeThread or same thread.
Between lines of the code actions.offer(action) and handle(actions.poll()) it's possible that will add many items to the queue. But I'm not seeing problems without @syncronized.
I'm feeling that missed important stuff in the sample. Can you explain me about @synchronized in this case?
abhimuktheeswarar
Metadata
Metadata
Assignees
Labels
No labels