<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc_r/uthread/uthread_spec.c, branch release/5.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2002-03-19T22:58:56Z</updated>
<entry>
<title>Add the ability to recognize old references to keys, and return NULL</title>
<updated>2002-03-19T22:58:56Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2002-03-19T22:58:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3003bdb5983ac249a54696112d841e1d6ed28d00'/>
<id>urn:sha1:3003bdb5983ac249a54696112d841e1d6ed28d00</id>
<content type='text'>
when old keys are referenced (after pthread_key_delete()) via
pthread_getspecific().
</content>
</entry>
<entry>
<title>To be consistent, use the __weak_reference macro from &lt;sys/cdefs.h&gt;</title>
<updated>2001-04-10T04:19:21Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2001-04-10T04:19:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=437df4859af22264a2c620a3720c776bf0c4a58d'/>
<id>urn:sha1:437df4859af22264a2c620a3720c776bf0c4a58d</id>
<content type='text'>
instead of #pragma weak to create weak definitions.

Suggested by:	bde
</content>
</entry>
<entry>
<title>Add weak definitions for wrapped system calls.  In general:</title>
<updated>2001-01-24T13:03:38Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2001-01-24T13:03:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5106342c6de9cbe26c4827e4e29bae309cd8cfb'/>
<id>urn:sha1:e5106342c6de9cbe26c4827e4e29bae309cd8cfb</id>
<content type='text'>
	_foo - wrapped system call
	foo - weak definition to _foo

and for cancellation points:

	_foo - wrapped system call
	__foo - enter cancellation point, call _foo(), leave
	        cancellation point
	foo - weak definition to __foo

Change use of global _thread_run to call a function to get the
currently running thread.

Make all pthread_foo functions weak definitions to _pthread_foo,
where _pthread_foo is the implementation.  This allows an application
to provide its own pthread functions.

Provide slightly different versions of pthread_mutex_lock and
pthread_mutex_init so that we can tell the difference between
a libc mutex and an application mutex.  Threads holding mutexes
internal to libc should never be allowed to exit, call signal
handlers, or cancel.

Approved by:	-arch
</content>
</entry>
<entry>
<title>-Wall and minor style(9) cleanups.</title>
<updated>1999-12-28T18:13:04Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>1999-12-28T18:13:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1752e66d49ea5d9653b0cec4df9949774de0b806'/>
<id>urn:sha1:1752e66d49ea5d9653b0cec4df9949774de0b806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add RCS IDs to those files without them.</title>
<updated>1999-08-05T12:15:30Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>1999-08-05T12:15:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa7c4d557556a90c64eaf10038c0d2a685801357'/>
<id>urn:sha1:fa7c4d557556a90c64eaf10038c0d2a685801357</id>
<content type='text'>
Fix copyrights (s/REGENTS/AUTHOR).

Suggested by:	tg
Approved by:	jb
</content>
</entry>
<entry>
<title>- Fixed bug where we NULL'd before we freed the data causing a memory leak.</title>
<updated>1999-05-14T21:36:16Z</updated>
<author>
<name>Nate Williams</name>
<email>nate@FreeBSD.org</email>
</author>
<published>1999-05-14T21:36:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=283f072c780578ffc6942307c7a46868da7b963c'/>
<id>urn:sha1:283f072c780578ffc6942307c7a46868da7b963c</id>
<content type='text'>
Submitted by:	 Ralf S. Engelschall
Obtained from:	PR i386/11713
</content>
</entry>
<entry>
<title>NULL a pointer after it is freed to avoid trying to free it again.</title>
<updated>1998-09-30T06:24:57Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-09-30T06:24:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=92ce833722f80de44bcc340f24019228565ee33f'/>
<id>urn:sha1:92ce833722f80de44bcc340f24019228565ee33f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement compile time debug support instead of tracking file name and</title>
<updated>1998-06-09T23:21:05Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-06-09T23:21:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ddc8afd422568750de7698d8a92b79b27599dd2f'/>
<id>urn:sha1:ddc8afd422568750de7698d8a92b79b27599dd2f</id>
<content type='text'>
line number every time a file descriptor is locked.

This looks like a big change but it isn't. It should reduce the size
of libc_r and make it run slightly faster.
</content>
</entry>
<entry>
<title>Simplify the handling of thread specific data. Only track if a key</title>
<updated>1998-06-06T07:24:24Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-06-06T07:24:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6831395f47e99ed4db1a41f680ca1c0177682a9'/>
<id>urn:sha1:c6831395f47e99ed4db1a41f680ca1c0177682a9</id>
<content type='text'>
is allocated or not, rather than keeping a count and attempting to
know it it is in-use. POSIX says that once a key is deleted, using the
key again results in undefined behaviour.
</content>
</entry>
</feed>
