<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/thread/rthread.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/thread/rthread.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/thread/rthread.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-05-13T16:21:26Z</updated>
<entry>
<title>Add memory barriers to libc's _spinlock() to make the mechanism</title>
<updated>2018-05-13T16:21:26Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-05-13T16:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=88a78cd113e6cec81fa5e3c8e60dfaf14174b740'/>
<id>urn:sha1:88a78cd113e6cec81fa5e3c8e60dfaf14174b740</id>
<content type='text'>
serialize memory accesses properly.

_spinlock()'s backend, _atomic_lock(), already issues an entry barrier
on some architectures, but that practice has not been consistent. This
patch generalizes the barrier use.

OK kettenis@, mpi@
</content>
</entry>
<entry>
<title>Implement __cxa_thread_atexit to support C++11 thread_local scope.  The</title>
<updated>2017-12-05T13:45:31Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-12-05T13:45:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0afcdeda897cccf53b8f99c1eb030fd52ee9ee99'/>
<id>urn:sha1:0afcdeda897cccf53b8f99c1eb030fd52ee9ee99</id>
<content type='text'>
interface is also made available as __cxa_thread_atexit_impl to satisfy the
needs of GNU libstdc++.

ok guenther@, millert@
</content>
</entry>
<entry>
<title>Revert recent changes to unbreak ports/net/samba</title>
<updated>2017-11-04T22:53:57Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2017-11-04T22:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a318b99d5fc4aa6b07d4c22670471e27e4e35499'/>
<id>urn:sha1:a318b99d5fc4aa6b07d4c22670471e27e4e35499</id>
<content type='text'>
While it is not clear (to me) why that ports ends up with corrupted
shared libs, reverting those changes fixes the issue and should allow us
to close p2k17 more smoothly.

Discussed with a bunch, ok ajacoutot@ guenther@
</content>
</entry>
<entry>
<title>Change pthread_cleanup_{push,pop} to macros that store the cleanup info</title>
<updated>2017-10-28T21:23:14Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-10-28T21:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1047ef5966317c9fab0ca6a81c79a32a903b0215'/>
<id>urn:sha1:1047ef5966317c9fab0ca6a81c79a32a903b0215</id>
<content type='text'>
on the stack instead of mallocing the list and move the APIs from libpthread
to libc so that they can be used inside libc.

Note: the standard was explicitly written to permit/support this
"macro with unmatched brace" style and it's what basically everyone
else already does.  We xor the info with random cookies with a
random magic to detect/trip-up overwrites.

Major bump to both libc and libpthread due to the API move.

ok mpi@
</content>
</entry>
<entry>
<title>Move mutex, condvar, and thread-specific data routes, pthread_once, and</title>
<updated>2017-09-05T02:40:54Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-09-05T02:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c'/>
<id>urn:sha1:a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c</id>
<content type='text'>
pthread_exit from libpthread to libc, along with low-level bits to
support them.  Major bump to both libc and libpthread.

Requested by libressl team.  Ports testing by naddy@
ok kettenis@
</content>
</entry>
<entry>
<title>s/DEF_STD/DEF_STRONG/ to match namespace.h differences between librthread</title>
<updated>2017-08-15T07:06:29Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-08-15T07:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8ae31f71c6cb136c023ec00ba984af952df06d4c'/>
<id>urn:sha1:8ae31f71c6cb136c023ec00ba984af952df06d4c</id>
<content type='text'>
and libc
</content>
</entry>
<entry>
<title>Sort headers per style(9)</title>
<updated>2017-08-15T06:38:41Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-08-15T06:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5be66c0191ff4143a111e7053876d5b9657450d1'/>
<id>urn:sha1:5be66c0191ff4143a111e7053876d5b9657450d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Copy files from ../librthread in preparation for moving functionality</title>
<updated>2017-08-15T06:13:24Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-08-15T06:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7e321ac128fdcd388c62dfa54aca790ebbd73ce1'/>
<id>urn:sha1:7e321ac128fdcd388c62dfa54aca790ebbd73ce1</id>
<content type='text'>
from libpthread to libc.  No changes to the build yet, just making it
easier to review the substantive diffs.

ok beck@ kettenis@ tedu@
</content>
</entry>
</feed>
