<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libpthread/thread, branch releng/6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFR6:</title>
<updated>2006-12-23T00:59:50+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2006-12-23T00:59:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc0f33fe0aa00181bc5936e51f04e1f36d5db802'/>
<id>cc0f33fe0aa00181bc5936e51f04e1f36d5db802</id>
<content type='text'>
	return EINVAL if thread was detached.

Approved by: re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	return EINVAL if thread was detached.

Approved by: re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC rev. 1.127 thr_private.h, rev. 1.85 thr_sig.c, rev. 1.24 thr_sigaction.c:</title>
<updated>2006-06-23T10:51:36+00:00</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2006-06-23T10:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e58a056dcabf16adf41807ff14691913f3c2d58'/>
<id>5e58a056dcabf16adf41807ff14691913f3c2d58</id>
<content type='text'>
make signal(SIGINFO, handler) work for libpthread.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
make signal(SIGINFO, handler) work for libpthread.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC following revisions:</title>
<updated>2006-05-23T11:33:57+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2006-05-23T11:33:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4f81ff13cd848ca2ce79ab85978f4ca5ab882c6b'/>
<id>4f81ff13cd848ca2ce79ab85978f4ca5ab882c6b</id>
<content type='text'>
	pthread.map		1.18
	thread/thr_symbols.c	1.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	pthread.map		1.18
	thread/thr_symbols.c	1.4
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Relevent commit logs are below.</title>
<updated>2006-03-16T23:29:08+00:00</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-16T23:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=40837c5215e9e4c23b101a3189cd6c208d173e0c'/>
<id>40837c5215e9e4c23b101a3189cd6c208d173e0c</id>
<content type='text'>
  Only catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG
  is defined in the environment.

  Modify the code path of the ifdef NOTYET part of _kse_single_thread():

  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.

  Eliminate a race condition in timed waits (cv, mutex, and sleeps).

  Don't forget to initialize a tailq before using it.

  For the ``#ifdef NOTYET'' code that allows calling non-async-safe
  functions in the child after a fork() from a threaded process,
  use __sys_setprocmask() rather than setprocmask() to keep our
  signal handling sane.  Without this fix, signals are essentially
  ignored in said child and things such as protection violations
  result in an endless busy loop.

  Allocate a thread's tcb last so it is easier to handle failures to
  malloc() siginfo.

  Include needed headers that were obtained through &lt;pthread.h&gt;.  Sort headers
  while here.

  amd64
  -----
  Fix a race condition introduced when redzones were added.  Use an
  atomic operation to return and adjust the stack (amd64).

  test
  -----
  o  Include &lt;string.h&gt;
  o  Make this ILP32/LP64 clean: cast pointers to long.

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Only catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG
  is defined in the environment.

  Modify the code path of the ifdef NOTYET part of _kse_single_thread():

  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.

  Eliminate a race condition in timed waits (cv, mutex, and sleeps).

  Don't forget to initialize a tailq before using it.

  For the ``#ifdef NOTYET'' code that allows calling non-async-safe
  functions in the child after a fork() from a threaded process,
  use __sys_setprocmask() rather than setprocmask() to keep our
  signal handling sane.  Without this fix, signals are essentially
  ignored in said child and things such as protection violations
  result in an endless busy loop.

  Allocate a thread's tcb last so it is easier to handle failures to
  malloc() siginfo.

  Include needed headers that were obtained through &lt;pthread.h&gt;.  Sort headers
  while here.

  amd64
  -----
  Fix a race condition introduced when redzones were added.  Use an
  atomic operation to return and adjust the stack (amd64).

  test
  -----
  o  Include &lt;string.h&gt;
  o  Make this ILP32/LP64 clean: cast pointers to long.

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-12-15T07:22:24+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2005-12-15T07:22:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=740665e92684028b53a27c5aa94012cee156c091'/>
<id>740665e92684028b53a27c5aa94012cee156c091</id>
<content type='text'>
	Add file thr_mattr_pshared.c and thr_condattr_pshared.c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Add file thr_mattr_pshared.c and thr_condattr_pshared.c.
</pre>
</div>
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_6'.</title>
<updated>2005-10-24T05:35:41+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-10-24T05:35:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c888b750d42ba0f2cf81e33a849e8993d0830538'/>
<id>c888b750d42ba0f2cf81e33a849e8993d0830538</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC (by deischen)</title>
<updated>2005-10-08T17:57:49+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-10-08T17:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=569c4357be8e739482ce69197b2d0e68b1e6a2ee'/>
<id>569c4357be8e739482ce69197b2d0e68b1e6a2ee</id>
<content type='text'>
|  Add a cancellation point for usleep().
|
|  Revision  Changes    Path
|  1.9       +16 -1     src/lib/libpthread/thread/thr_sleep.c

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
|  Add a cancellation point for usleep().
|
|  Revision  Changes    Path
|  1.9       +16 -1     src/lib/libpthread/thread/thr_sleep.c

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix off-by-one nanosecond in macro TIMESPEC_ADD.</title>
<updated>2005-06-22T22:35:49+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2005-06-22T22:35:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=86a07ac0685eca0d7b9b01101df45ac559802b3c'/>
<id>86a07ac0685eca0d7b9b01101df45ac559802b3c</id>
<content type='text'>
Reviewed by: deischen
Approved by: re (dwhite)
MFC after  : 4 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: deischen
Approved by: re (dwhite)
MFC after  : 4 days
</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>
