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

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -