🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bezpieczeństwo dostępu dla wątków.

#310060
From: arekle
Date: Thu, 09 Jan 2020 11:32
10 lines
1370 bytes
Dane[] dane = new Dane[daneCount];
Parallel.ForEach(Partitioner.Create(0, daneCount), (przedzial) =>
{
     for (int i = przedzial.Item1; i < przedzial.Item2; i++)
     {
         dane [i] = new Dane(i);
     }
});

Czy to jest bezpieczne?
Technical Details
Message-ID: <5e170f34$0$17344$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!news.unit0.net!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!news.unit0.net!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: pl.comp.lang.c
X-Mozilla-News-Host: news://pl.comp.lang.c:119
From: arekle <arekle@poczta.wp.pl>
Subject: Bezpieczeństwo dostępu dla
 wątków.
Date: Thu, 9 Jan 2020 12:32:03 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
MIME-Version: 1.0
X-Antivirus: Avast (VPS 200106-2, 06.01.2020), Outbound message
X-Antivirus-Status: Clean
Lines: 10
Message-ID: <5e170f34$0$17344$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.4.188.209
X-Trace: 1578569524 unt-rea-a-01.news.neostrada.pl 17344 83.4.188.209:54491
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit