java - Testing Conflation of data in Dequeue -


i have data structure implemented involves linkedblockingdequeue need test. suppose have 10 data inserted 1 end , other end retrieve values. these 2 threads run simultaneously. while inserting data possible particular "key" second update comes on key, if value corresponding data has not been retrieved, user should on retrieval new data.

i need test operation operating. can tell me how that?


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -