TThreadedQueue not capable of multiple consumers?

前端 未结 5 551
灰色年华
灰色年华 2020-11-29 02:11

Trying to use the TThreadedQueue (Generics.Collections) in a single producer multiple consumer scheme. (Delphi-XE). The idea is to push objects into a queue and let several

5条回答
  •  独厮守ぢ
    2020-11-29 02:41

    I recommend you to use OmniThreadLibrary http://www.thedelphigeek.com/search/label/OmniThreadLibrary when working with threads, parallelism, etc. Primoz made a very good job, and on the site you'll find a lot of useful documentation.

提交回复
热议问题