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


Groups > comp.lang.c > #68625

Re: sht static guard locks

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.lang.c
Subject Re: sht static guard locks
Date 2015-08-29 12:38 +0200
Organization A noiseless patient Spider
Message-ID <mrs1vb$4e6$1@dont-email.me> (permalink)
References (1 earlier) <mrnuig$8rv$1@dont-email.me> <d49f2bFrgntU9@mid.individual.net> <mro4uh$jg$1@dont-email.me> <mrp55g$jna$1@dont-email.me> <mrr58n$j2e$1@dont-email.me>

Show all headers | View raw


On 29/08/15 04:30, Les Cargill wrote:
> David Brown wrote:
> <snip>
>>
>> All in all, in reality it is an extremely low-cost way to eliminate some
>> hard-to-trace potential bugs, and help people write correct code as
>> easily as possible.
>>
>
> Dang, David., Nice job.
>
> I think the worst of all possible worlds is one in which you write
> correct code and have no idea how that actually came to be.
>

That would be bad - but still better than writing /incorrect/ code with 
no idea how that came to be!

The C++ committee were trying here to make it as easy as possible to 
write correct code, even if you don't understand all the details of 
multi-threaded programming (and few people do).  It adds a little cost 
that is not always necessary - but it is seldom a noticeable cost.  And 
for experts, there are ways to avoid it.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sht static guard locks fir <profesor.fir@gmail.com> - 2015-08-27 11:11 -0700
  Re: sht static guard locks jacobnavia <jacob@jacob.remcomp.fr> - 2015-08-27 23:15 +0200
    Re: sht static guard locks Ian Collins <ian-news@hotmail.com> - 2015-08-28 09:51 +1200
      Re: sht static guard locks Les Cargill <lcargill99@comcast.com> - 2015-08-27 18:06 -0500
        Re: sht static guard locks David Brown <david.brown@hesbynett.no> - 2015-08-28 10:14 +0200
          Re: sht static guard locks Les Cargill <lcargill99@comcast.com> - 2015-08-28 21:30 -0500
            Re: sht static guard locks fir <profesor.fir@gmail.com> - 2015-08-29 00:46 -0700
              Re: sht static guard locks fir <profesor.fir@gmail.com> - 2015-08-29 01:39 -0700
                Re: sht static guard locks fir <profesor.fir@gmail.com> - 2015-08-29 03:09 -0700
                Re: sht static guard locks David Brown <david.brown@hesbynett.no> - 2015-08-29 12:43 +0200
              Re: sht static guard locks fir <profesor.fir@gmail.com> - 2015-08-29 03:20 -0700
              Re: sht static guard locks fir <profesor.fir@gmail.com> - 2015-08-29 04:28 -0700
            Re: sht static guard locks David Brown <david.brown@hesbynett.no> - 2015-08-29 12:38 +0200
    Re: sht static guard locks Ian Collins <ian-news@hotmail.com> - 2015-08-28 11:02 +1200
      Re: sht static guard locks Gareth Owen <gwowen@gmail.com> - 2015-08-31 18:15 +0100

csiph-web