at first I'd like to tell you what's my aim: I'd like to build a threadsafe list. (I can't use a Queue because afaik we should only use a Queue for FIFO) This list should be filled In one thread and in the other thread I'd like to work it off. With working off I mean, that I'd like to always analyze all the entries of the list and sort them against a specific Int-value. Then I'd like to do something with the "most important" entry of the list and so on...
Thank you!