🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #309606

Re: future i threads pools

#309606
From: Sebastian Biały
Date: Fri, 12 Jan 2018 18:39
8 lines
1175 bytes
On 1/12/2018 4:51 PM, Borneq wrote:
> Jaka różnica future i threads 
> pools w porównaniu z wątkami?

Czas inicjacji. Z grubsza nowy watek wymaga allokacji stosu i kontekstu 
cpu. W przypadku thread poola to już jest gotowe.

Future może działa z poolami i bez. Bez wielkiego znaczenia koncepcyjnie.
Technical Details
Message-ID: <p3avd5$jl3$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <p3alhe$9nn$1@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Sebastian Biały <heby@poczta.onet.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: future i threads pools
Date: Fri, 12 Jan 2018 19:39:27 +0100
Organization: ATMAN - ATM S.A.
Lines: 8
Message-ID: <p3avd5$jl3$1@node1.news.atman.pl>
References: <p3alhe$9nn$1@node1.news.atman.pl>
NNTP-Posting-Host: 176.115.86.42
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1515782373 20131 176.115.86.42 (12 Jan 2018 18:39:33 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Fri, 12 Jan 2018 18:39:33 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
In-Reply-To: <p3alhe$9nn$1@node1.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit