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


Groups > comp.lang.c++ > #79864

Re: std::thread does not follow RAII principles

From MrSpook_9z69kfbo3x@082ssf7_0d.edu
Newsgroups comp.lang.c++
Subject Re: std::thread does not follow RAII principles
Date 2021-05-28 11:03 +0000
Organization Aioe.org NNTP Server
Message-ID <s8qimm$1jrb$1@gioia.aioe.org> (permalink)
References (2 earlier) <s8nrbn$1ave$1@gioia.aioe.org> <s8nrqb$1n1u$1@gioia.aioe.org> <s8o322$14rp$1@gioia.aioe.org> <s8oefu$t8o$1@gioia.aioe.org> <s8q2fj$1i5t$1@gioia.aioe.org>

Show all headers | View raw


On Fri, 28 May 2021 06:27:01 +0000 (UTC)
Juha Nieminen <nospam@thanks.invalid> wrote:
>MrSpook_zdNaq@bltmyc.gov.uk wrote:
>> On Thu, 27 May 2021 12:24:36 +0000 (UTC)
>> Juha Nieminen <nospam@thanks.invalid> wrote:
>>>MrSpook_v1czYss@9slt8vr2tlp1ljrvd8h.net wrote:
>>>> On Thu, 27 May 2021 10:13:13 +0000 (UTC)
>>>> Juha Nieminen <nospam@thanks.invalid> wrote:
>>>>>MrSpook_0crgrbi6@q0jfxa33c.biz wrote:
>>>>>> On Wed, 26 May 2021 11:51:24 +0000 (UTC)
>>>>>> Juha Nieminen <nospam@thanks.invalid> wrote:
>>>>>>>the program will still crash, because std::thread does not like being
>>>>>>>destroyed without being joined or detached, so it just terminates if
>that's
>>>
>>>>>>>the case.
>>>>>> 
>>>>>> I'll have to add this to my list of why the C++ threading library is
>crap.
>>>>>> I would suggest if your code doesn't need to be portable to either use
>>>>>> posix threads on *nix or its Windows equivalent.
>>>>>
>>>>>Why don't you just fuck off, asshole? You aren't contributing to the
>>>>>dicussion. You are just being an asshole.
>>>> 
>>>> Good morning Mr Happy, things going well in Finland today?
>>>
>>>Fuck off, asshole.
>> 
>> Oh dear, another bad day? Have a lie down and cuddle the therapy teddy.
>
>Just fuck off already, fucking asshole.

Awww, poppet, wasn't Teddy available? Never mind, maybe sucking your thumb
will help until he comes back? :)

Back to comp.lang.c++ | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: std::thread does not follow RAII principles Juha Nieminen <nospam@thanks.invalid> - 2021-05-27 10:13 +0000
  Re: std::thread does not follow RAII principles MrSpook_v1czYss@9slt8vr2tlp1ljrvd8h.net - 2021-05-27 10:20 +0000
    Re: std::thread does not follow RAII principles Juha Nieminen <nospam@thanks.invalid> - 2021-05-27 12:24 +0000
      Re: std::thread does not follow RAII principles MrSpook_zdNaq@bltmyc.gov.uk - 2021-05-27 15:39 +0000
        Re: std::thread does not follow RAII principles Juha Nieminen <nospam@thanks.invalid> - 2021-05-28 06:27 +0000
          Re: std::thread does not follow RAII principles Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-28 08:31 +0200
          Re: std::thread does not follow RAII principles MrSpook_9z69kfbo3x@082ssf7_0d.edu - 2021-05-28 11:03 +0000

csiph-web