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


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

Re: std::thread does not follow RAII principles

From Juha Nieminen <nospam@thanks.invalid>
Newsgroups comp.lang.c++
Subject Re: std::thread does not follow RAII principles
Date 2021-05-27 12:24 +0000
Organization Aioe.org NNTP Server
Message-ID <s8o322$14rp$1@gioia.aioe.org> (permalink)
References <s8lcnq$p2a$1@gioia.aioe.org> <s8lp80$1b4j$1@gioia.aioe.org> <s8nrbn$1ave$1@gioia.aioe.org> <s8nrqb$1n1u$1@gioia.aioe.org>

Show all headers | View raw


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.

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next 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