Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #5240

Re: random_device-question

Path csiph.com!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx34.am4.POSTED!not-for-mail
Newsgroups comp.programming.threads
From Melzzzzz <Melzzzzz@zzzzz.com>
Subject Re: random_device-question
References <qnrvpo$60b$1@news.albasani.net> <irfoF.1326006$qU.799212@fx20.am4> <qns02r$6bv$3@news.albasani.net>
User-Agent slrn/1.0.3 (Linux)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Lines 18
Message-ID <SLgoF.1058899$WI2.623950@fx34.am4> (permalink)
X-Complaints-To abuse@usenet-news.net
NNTP-Posting-Date Sat, 12 Oct 2019 09:10:10 UTC
Organization usenet-news.net
Date Sat, 12 Oct 2019 09:10:10 GMT
X-Received-Bytes 1413
X-Received-Body-CRC 2062632290
Xref csiph.com comp.programming.threads:5240

Show key headers only | View raw


On 2019-10-12, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>> Is there any guarantee the standard makes that random_device shoudn't
>>> start at the same internal state for all new threads, i.e. the output
>>> of the following code is likey to be different on both lines?
>
>> No.
>
> Maybe, but I don't believe _you_ since you're an idiot.

I guess that highly depends on compiler and OS... why don't you try out?
>


-- 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi 
bili naoruzani. -- Mladen Gogala

Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

random_device-question Bonita Montero <Bonita.Montero@gmail.com> - 2019-10-12 09:36 +0200
  Re: random_device-question Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-12 07:39 +0000
    Re: random_device-question Bonita Montero <Bonita.Montero@gmail.com> - 2019-10-12 09:41 +0200
      Re: random_device-question Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-12 09:10 +0000
        Re: random_device-question Bonita Montero <Bonita.Montero@gmail.com> - 2019-10-12 11:30 +0200
          Re: random_device-question Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-12 09:39 +0000
            Re: random_device-question Bonita Montero <Bonita.Montero@gmail.com> - 2019-10-12 11:42 +0200
  Re: random_device-question Bonita Montero <Bonita.Montero@gmail.com> - 2019-10-12 09:40 +0200

csiph-web