Sujet : Re: best approach for multithreading (?)
De : profesor.fir (at) *nospam* gmail.com (fir)
Groupes : comp.lang.cDate : 03. Dec 2024, 15:33:44
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <27f884067deb6c7cfe577af69f1cd6f725198182@i2pn2.org>
References : 1 2
User-Agent : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
Bonita Montero pisze:
That's how thread-pools work. In C++ you'd simply feed a deque<> of
function<>-objects to a limited number of threads. In C that's possible
similar but with ten lines the code.
i probably would need to see that but i guess probably there are some
differences
(here for exampe yu dont need to use a term 'thread' its like more
low lewel integrated)