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


Groups > comp.lang.c++ > #79731 > unrolled thread

Re: std::thread does not follow RAII principles

Started byJuha Nieminen <nospam@thanks.invalid>
First post2021-05-27 10:13 +0000
Last post2021-05-28 11:03 +0000
Articles 7 — 5 participants

Back to article view | Back to comp.lang.c++

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#79731 — Re: std::thread does not follow RAII principles

FromJuha Nieminen <nospam@thanks.invalid>
Date2021-05-27 10:13 +0000
SubjectRe: std::thread does not follow RAII principles
Message-ID<s8nrbn$1ave$1@gioia.aioe.org>
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.

[toc] | [next] | [standalone]


#79732

FromMrSpook_v1czYss@9slt8vr2tlp1ljrvd8h.net
Date2021-05-27 10:20 +0000
Message-ID<s8nrqb$1n1u$1@gioia.aioe.org>
In reply to#79731
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?

[toc] | [prev] | [next] | [standalone]


#79743

FromJuha Nieminen <nospam@thanks.invalid>
Date2021-05-27 12:24 +0000
Message-ID<s8o322$14rp$1@gioia.aioe.org>
In reply to#79732
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.

[toc] | [prev] | [next] | [standalone]


#79751

FromMrSpook_zdNaq@bltmyc.gov.uk
Date2021-05-27 15:39 +0000
Message-ID<s8oefu$t8o$1@gioia.aioe.org>
In reply to#79743
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.

[toc] | [prev] | [next] | [standalone]


#79849

FromJuha Nieminen <nospam@thanks.invalid>
Date2021-05-28 06:27 +0000
Message-ID<s8q2fj$1i5t$1@gioia.aioe.org>
In reply to#79751
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.

[toc] | [prev] | [next] | [standalone]


#79850

FromBonita Montero <Bonita.Montero@gmail.com>
Date2021-05-28 08:31 +0200
Message-ID<s8q2na$ahb$1@dont-email.me>
In reply to#79849
>> Oh dear, another bad day? Have a lie down and cuddle the therapy teddy.

> Just fuck off already, fucking asshole.

According to what he's telling he must be very frustrated.

[toc] | [prev] | [next] | [standalone]


#79864

FromMrSpook_9z69kfbo3x@082ssf7_0d.edu
Date2021-05-28 11:03 +0000
Message-ID<s8qimm$1jrb$1@gioia.aioe.org>
In reply to#79849
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? :)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web