<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libkse/thread/thr_init.c, branch stable/8</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove hacks to allow libkse to export its symbols in the LIBTHREAD_1_0</title>
<updated>2007-12-16T23:29:57+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2007-12-16T23:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d6d3ed091441cddcca7d6be6afe95715ec2dfc7'/>
<id>3d6d3ed091441cddcca7d6be6afe95715ec2dfc7</id>
<content type='text'>
version namespace which was needed before the library version was
bumped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
version namespace which was needed before the library version was
bumped.
</pre>
</div>
</content>
</entry>
<entry>
<title>WARNS=3'ify.</title>
<updated>2007-11-30T17:20:29+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2007-11-30T17:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eb63e604ea287ed64a1f0d5ad0dc137af8ffa31f'/>
<id>eb63e604ea287ed64a1f0d5ad0dc137af8ffa31f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add _pthread_mutex_init_calloc_cb() to libthr and libkse, so that malloc(3)</title>
<updated>2007-11-27T03:16:44+00:00</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2007-11-27T03:16:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e1636e1f97719df6689efd9d352d31bccad13184'/>
<id>e1636e1f97719df6689efd9d352d31bccad13184</id>
<content type='text'>
(part of libc) can use pthreads mutexes without causing infinite recursion
during initialization.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(part of libc) can use pthreads mutexes without causing infinite recursion
during initialization.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove 3rd clause, renumber, ok per email</title>
<updated>2007-01-12T07:26:21+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-01-12T07:26:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fed32d75449d7d05afdd7ddb7703bfa69a3027f3'/>
<id>fed32d75449d7d05afdd7ddb7703bfa69a3027f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add compatibility symbol maps.  libpthread (.so.1 and .so.2)</title>
<updated>2006-03-13T00:59:51+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-13T00:59:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e62165c8b0f7d6452c0033127a0fd8ad1d9e34d3'/>
<id>e62165c8b0f7d6452c0033127a0fd8ad1d9e34d3</id>
<content type='text'>
used LIBTHREAD_1_0 as its version definition, but now needs
to define its symbols in the same namespace used by libc.
The compatibility hooks allows you to use libraries and
binaries built and linked to libpthread before libc was
built with symbol versioning.  The shims can be removed if
libpthread is given a version bump.

Reviewed by:	davidxu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
used LIBTHREAD_1_0 as its version definition, but now needs
to define its symbols in the same namespace used by libc.
The compatibility hooks allows you to use libraries and
binaries built and linked to libpthread before libc was
built with symbol versioning.  The shims can be removed if
libpthread is given a version bump.

Reviewed by:	davidxu
</pre>
</div>
</content>
</entry>
<entry>
<title>Only catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG</title>
<updated>2006-03-06T05:02:28+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-06T05:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4f0d668324e97c2ce556dd4d6d0a7189e4bd155c'/>
<id>4f0d668324e97c2ce556dd4d6d0a7189e4bd155c</id>
<content type='text'>
is defined in the environment.

Requested by:	jmg &amp; a few others
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is defined in the environment.

Requested by:	jmg &amp; a few others
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some more pthread stubs so that librt can use them.</title>
<updated>2006-03-05T18:10:28+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-05T18:10:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f4cd2a5b5cd449583e601d84f31639cf3c5bbe14'/>
<id>f4cd2a5b5cd449583e601d84f31639cf3c5bbe14</id>
<content type='text'>
The thread jump table has been resorted, so you need to
keep libc, libpthread, and libthr in sync.

Submitted by:	xu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The thread jump table has been resorted, so you need to
keep libc, libpthread, and libthr in sync.

Submitted by:	xu
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify the code path of the ifdef NOTYET part of _kse_single_thread():</title>
<updated>2005-09-24T01:19:53+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2005-09-24T01:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=225721f00bb36b2f3b6560c5d62c046a72f46776'/>
<id>225721f00bb36b2f3b6560c5d62c046a72f46776</id>
<content type='text'>
o  Don't reinitialise the atfork() handler list in the child.  We
   are meant to call the child handler, and on subsequent fork()s
   should call all three functions as normal.
o  Don't reinitialise the thread specific keyed data in the
   child after a fork.  Applications may require this for context.
o  Reinitialise curthread-&gt;tlflags after removing ourselves from
   (and reinitialising) the various internal thread lists.
o  Reinitialise __malloc_lock in the child after fork() (to balance
   our explicitly taking the lock prior to the fork()).

With these changes, it is possible to enable the NOTYET code in
thr_kern.c to allow the use of non-async-safe functions after
fork()ing from a threaded program.

Reviewed by:	Daniel Eischen &lt;deischen@freebsd.org&gt;
[_malloc_lock reinitialisation has since been moved to avoid polluting the
!NOTYET code]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o  Don't reinitialise the atfork() handler list in the child.  We
   are meant to call the child handler, and on subsequent fork()s
   should call all three functions as normal.
o  Don't reinitialise the thread specific keyed data in the
   child after a fork.  Applications may require this for context.
o  Reinitialise curthread-&gt;tlflags after removing ourselves from
   (and reinitialising) the various internal thread lists.
o  Reinitialise __malloc_lock in the child after fork() (to balance
   our explicitly taking the lock prior to the fork()).

With these changes, it is possible to enable the NOTYET code in
thr_kern.c to allow the use of non-async-safe functions after
fork()ing from a threaded program.

Reviewed by:	Daniel Eischen &lt;deischen@freebsd.org&gt;
[_malloc_lock reinitialisation has since been moved to avoid polluting the
!NOTYET code]
</pre>
</div>
</content>
</entry>
<entry>
<title>Somewhere along the line, tick accumulation for SA threads was</title>
<updated>2005-02-18T16:07:05+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2005-02-18T16:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0e963ec574581ca98367cf204f6758a0ebb49bb7'/>
<id>0e963ec574581ca98367cf204f6758a0ebb49bb7</id>
<content type='text'>
changed to use the statclock.  Make sure we calculate the value
of a tick correctly in userland.

Noticed by:	Kazuaki Oda &lt;kaakun at highway dot ne dot jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
changed to use the statclock.  Make sure we calculate the value
of a tick correctly in userland.

Noticed by:	Kazuaki Oda &lt;kaakun at highway dot ne dot jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Set the default guardsize and stacksize in the default thread</title>
<updated>2005-02-15T15:02:11+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2005-02-15T15:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=888ab0185e141301037d4fc9e045bf700ccc6446'/>
<id>888ab0185e141301037d4fc9e045bf700ccc6446</id>
<content type='text'>
attribute when the library is initialized.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
attribute when the library is initialized.
</pre>
</div>
</content>
</entry>
</feed>
