🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wektory i mapy bezpieczne wątkowo

#309005
From: Borneq
Date: Tue, 24 Jan 2017 13:15
8 lines
1315 bytes
W dniu 24.01.2017 o 13:47, godek.maciek@gmail.com pisze:
> W dniu wtorek, 24 stycznia 2017 13:40:08 UTC+1 użytkownik Borneq napisał:
>> W wątku chcę wypełniać, w pętli w głównym czytać i kasować. Czy vector i
>> map są bezpieczne wątkowo?
>
> Nie
A co zamiast nich można użyć? A może użyć te struktury, tylko dostęp 
poprzez jakiś mutex?
Technical Details
Message-ID: <o67k0q$tqa$1@node2.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: <o67hv8$s16$1@node2.news.atman.pl> <27de4961-6dec-47f9-8846-f6b1ba2ac7c9@googlegroups.com>

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: Borneq <borneq@antyspam.hidden.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: Wektory i mapy bezpieczne wątkowo
Date: Tue, 24 Jan 2017 14:15:08 +0100
Organization: ATMAN - ATM S.A.
Lines: 10
Message-ID: <o67k0q$tqa$1@node2.news.atman.pl>
References: <o67hv8$s16$1@node2.news.atman.pl> <27de4961-6dec-47f9-8846-f6b1ba2ac7c9@googlegroups.com>
NNTP-Posting-Host: 91.239.205.105
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1485263706 30538 91.239.205.105 (24 Jan 2017 13:15:06 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Tue, 24 Jan 2017 13:15:06 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
In-Reply-To: <27de4961-6dec-47f9-8846-f6b1ba2ac7c9@googlegroups.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit