Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2011 17:15:03 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        Kostik Belousov <kostikbel@gmail.com>, threads@freebsd.org, arch@freebsd.org
Subject:   Re: [Patch] C1X threading support
Message-ID:  <20111218161503.GG1771@hoeg.nl>
In-Reply-To: <20111218132742.GA52983@stack.nl>
References:  <20111216214913.GA1771@hoeg.nl> <20111216220914.GW50300@deviant.kiev.zoral.com.ua> <20111216221959.GB1771@hoeg.nl> <20111216223126.GX50300@deviant.kiev.zoral.com.ua> <20111218132742.GA52983@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--vhOf6eAHdfH9MSjZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Jilles,

* Jilles Tjoelker <jilles@stack.nl>, 20111218 14:27:
> Another idea is to implement the functions as static inline (with the
> possible exception of thrd_create() and perhaps some more). This
> pollutes the namespace of C1x programs with pthread_* though.

Hmmm... Indeed. This would change the entire C1X threading API simply
into a compile-time translation mechanism to pthreads. Unfortunately, it
would make things like debugging a bit harder, as placing breakpoints on
the functions become a bit harder.

Are there any objections to such an approach?

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--vhOf6eAHdfH9MSjZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iQIcBAEBAgAGBQJO7hGHAAoJEG5e2P40kaK7XOsP/Rdn46756oot1DgWAvmLDGt8
pC2RhmwqU73w4vo9I3mRErTrbpQ398FUKMd/gouE4oqu4nOqVO/Hws2NjzmynWjv
uldqrVQ1dSrS0qNrSuo9SP1D5dAdZkoa1DjS19Fp4eyxk5ipS9ZvG2oaWe8mrWto
xiFLYFzAUUFOC3p+V+94vScziL+gyraQQZchfuSUkZHTQfBagmCfkMIxw6mACVpy
6y20xAKtyyPcfc76BesUHts/Tpx3vjPbMrrVP5yAJRtWRLDaDkfyn6+UhwGs3la5
rks+2saHfvtbAK3S6mHo1MReoQgfu7fy0OHzD6QzhIcwhbHyPWJHiX8lvkXVapJG
8dlEEFWQZNIKJB1+dEwVYWRGRNvXllxrxiuOvElnFSX8OONWCn8iSEnFKSP/+EWG
L0n0Z5NNujHDewJ4LUpnZcad8Y8ck9w+FTy+WrF3SbXz7b+DC5Kd6ZFRWd+FMGUv
epBgyeDo5q9dduvdaY2eNBQ6KjtOFvmGXo97eCh8laZt8IjNG33EoTQw+OF5zMup
ZccnP2v8KbaQ286w6N8T4545Mn/qUi/KHtGzBCTIDrWq8ekWH4oWNyUzedaXE31R
smm5XPNARFdbf3j6HFkS2JHZ4aU53ipS9BKg+gbHtRRYWHR24/FQ7FDLDazH1rpK
kt5legthEuTkBZ3EH7eJ
=lmo/
-----END PGP SIGNATURE-----

--vhOf6eAHdfH9MSjZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111218161503.GG1771>