[openssl-dev] [openssl-team] Discussion: design issue: async and -lpthread

Kurt Roeckx kurt at roeckx.be
Tue Dec 15 18:54:35 UTC 2015


On Tue, Dec 15, 2015 at 09:57:32AM -0600, Benjamin Kaduk wrote:
> On 12/15/2015 06:43 AM, Kurt Roeckx wrote:
> > On Tue, Dec 15, 2015 at 01:24:12PM +0100, Florian Weimer wrote:
> >> * Nico Williams:
> >> Not on Windows.
> >>
> >>> What's the alternative anyways?
> >> Using C++11.
> > I think this is a relevant article:
> > http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/
> >
> 
> I think an article from 2012 is no longer current; something like
> http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx
> might be a better source.

That's all about C++, except for library functions from C99,
offsetof, __func__, and "long long" that are now also part of
C++.

The point of the article I pointed to is that they only do C90.
They have no intention of adding support for newer C standards
except for the cases where C++ just happens to be compatible.

And the C++11 and C11 atomics are compatible, they just have a
slightly different syntax, and as the URL I pointed to says are
implemented in it.

Also, if you want to use atomics we really want the C11 / C++11
memory model which prevents certain important optimazations.


Kurt



More information about the openssl-dev mailing list