<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libthr, branch releng/11.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-04-19T12:31:16Z</updated>
<entry>
<title>MFC r346158:</title>
<updated>2019-04-19T12:31:16Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-04-19T12:31:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=324fa16db3ea12ca27e807e3da62705476ea4f2c'/>
<id>urn:sha1:324fa16db3ea12ca27e807e3da62705476ea4f2c</id>
<content type='text'>
Do not access mutex memory after unlock.

PR:	237195
</content>
</entry>
<entry>
<title>MFC r345703:</title>
<updated>2019-04-12T15:15:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-04-12T15:15:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df1b1afc355eb43abd04ea3d7764fabf21f85575'/>
<id>urn:sha1:df1b1afc355eb43abd04ea3d7764fabf21f85575</id>
<content type='text'>
Fix initial exec TLS mode for dynamically loaded shared objects.
</content>
</entry>
<entry>
<title>MFC r337992, r338125:</title>
<updated>2018-09-17T02:51:08Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-09-17T02:51:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=90d5476ca19bc82f8c76c38e8ed5141e70a40b82'/>
<id>urn:sha1:90d5476ca19bc82f8c76c38e8ed5141e70a40b82</id>
<content type='text'>
POSIX compliance improvements in the pthread(3) functions.

This basically adds makes use of the C99 restrict keyword, and also
adds some 'const's to four threading functions: pthread_mutexattr_gettype(),
pthread_mutexattr_getprioceiling(), pthread_mutexattr_getprotocol(), and
pthread_mutex_getprioceiling. The changes are in accordance to POSIX/SUSv4-2018.

Hinted by:	DragonFlyBSD

Relnotes:	yes
</content>
</entry>
<entry>
<title>MFC r337983, r338044:</title>
<updated>2018-08-31T05:21:33Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-08-31T05:21:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b3932670ea4fdc2dc05c0032cd91a00a66e368c2'/>
<id>urn:sha1:b3932670ea4fdc2dc05c0032cd91a00a66e368c2</id>
<content type='text'>
Add pthread_get_name_np(3).
</content>
</entry>
<entry>
<title>MFC r335258:</title>
<updated>2018-06-23T00:38:44Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-06-23T00:38:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=696a9fd27ae255463f80b4cabbc4f078bf448efb'/>
<id>urn:sha1:696a9fd27ae255463f80b4cabbc4f078bf448efb</id>
<content type='text'>
Remove unused file.
</content>
</entry>
<entry>
<title>MFC 331324: Ensure thread library is initialized in pthread_testcancel().</title>
<updated>2018-04-16T20:45:21Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-04-16T20:45:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8aec51edd37e5f5747dce91bea44f864b026b4b2'/>
<id>urn:sha1:8aec51edd37e5f5747dce91bea44f864b026b4b2</id>
<content type='text'>
Call _thr_check_init() before reading curthread in pthread_testcancel().

If a constructor in a library creates a semaphore via sem_init() and
then waits for it via sem_wait(), the program can core dump in
_pthread_testcancel() called from sem_wait().  This is because the
semaphore implementation lives in libc, so the library's constructors
can be run before libthr's constructors.

Sponsored by:	DARPA / AFRL
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFC r325103:</title>
<updated>2017-11-02T07:09:38Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2017-11-02T07:09:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2bd0e0b9a5ab0133bfd0e2aaeee52296f5fd1281'/>
<id>urn:sha1:2bd0e0b9a5ab0133bfd0e2aaeee52296f5fd1281</id>
<content type='text'>
  Fix misleading comment.  Not a functional change.
</content>
</entry>
<entry>
<title>MFC r320990, r321011:</title>
<updated>2017-08-01T01:23:55Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-08-01T01:23:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cca5339780469a1972d6bcd08ccb4de58d4c4d07'/>
<id>urn:sha1:cca5339780469a1972d6bcd08ccb4de58d4c4d07</id>
<content type='text'>
libthr: Avoid checking for negative values in usigned count.

Check for overflow instead.
</content>
</entry>
</feed>
