<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libpthread, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-06-06T09:13:43Z</updated>
<entry>
<title>MFC: r179358,179434 - make libc's fcntl symbol weak and extend the limited</title>
<updated>2008-06-06T09:13:43Z</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>2008-06-06T09:13:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1424a45d00c6e313ef28a18e966018d4701c3132'/>
<id>urn:sha1:1424a45d00c6e313ef28a18e966018d4701c3132</id>
<content type='text'>
forward ABI compatibility for fcntl to the thread libraries.
</content>
</entry>
<entry>
<title>MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c</title>
<updated>2008-02-04T20:05:20Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2008-02-04T20:05:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1191d3e7a09d5c3943048cfbcd7db215dfcd748f'/>
<id>urn:sha1:1191d3e7a09d5c3943048cfbcd7db215dfcd748f</id>
<content type='text'>
this copes with the fact that during a fork the child may get
really screwy state in the threading system due to the
sudden vaporisation of it's sibling threads.
</content>
</entry>
<entry>
<title>MFC: rev 1.126</title>
<updated>2007-12-02T23:42:38Z</updated>
<author>
<name>Joe Marcus Clarke</name>
<email>marcus@FreeBSD.org</email>
</author>
<published>2007-12-02T23:42:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=18dfd6ac9c27cd45a2b55a11aaaebe44f5c50b20'/>
<id>urn:sha1:18dfd6ac9c27cd45a2b55a11aaaebe44f5c50b20</id>
<content type='text'>
This is a partial MFC of rev 1.126 from HEAD's libkse.  This only merges the
fix which causes stderr_debug to write output to STDERR_FILENO instead
of STDOUT_FILENO.  This is known to fix (or workaround) some mono-related
build problems.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC revision 1.27:</title>
<updated>2007-11-26T02:44:05Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2007-11-26T02:44:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3e9e09e41dcce7b77efc028e117178058a1f0d11'/>
<id>urn:sha1:3e9e09e41dcce7b77efc028e117178058a1f0d11</id>
<content type='text'>
	In _pthread_key_create() ensure that libkse is initialized.

Approved by: re (kensmith)
</content>
</entry>
<entry>
<title>MFC: return EINVAL if thread was detached.</title>
<updated>2006-12-10T02:01:51Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2006-12-10T02:01:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=921a7fcc49ca2e3bc41eaefdd6e6c69b98c28653'/>
<id>urn:sha1:921a7fcc49ca2e3bc41eaefdd6e6c69b98c28653</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC rev. 1.58:</title>
<updated>2006-09-29T07:04:17Z</updated>
<author>
<name>Matteo Riondato</name>
<email>matteo@FreeBSD.org</email>
</author>
<published>2006-09-29T07:04:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5d5e95116181afac549881d5d90d630c30223d6b'/>
<id>urn:sha1:5d5e95116181afac549881d5d90d630c30223d6b</id>
<content type='text'>
Install shared libpthread library into /lib; needed by some
/sbin programs.

PR:		bin/88404
Reviewed by:	ru@
Approved by:	re@ (kensmith@)
</content>
</entry>
<entry>
<title>MFC TLS fixes.</title>
<updated>2006-09-02T19:41:21Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2006-09-02T19:41:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f17908103490007d6f1eec234adff7a6fad56b1'/>
<id>urn:sha1:7f17908103490007d6f1eec234adff7a6fad56b1</id>
<content type='text'>
</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:36Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2006-06-23T10:51:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5e58a056dcabf16adf41807ff14691913f3c2d58'/>
<id>urn:sha1:5e58a056dcabf16adf41807ff14691913f3c2d58</id>
<content type='text'>
make signal(SIGINFO, handler) work for libpthread.
</content>
</entry>
<entry>
<title>MFC following revisions:</title>
<updated>2006-05-23T11:33:57Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2006-05-23T11:33:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4f81ff13cd848ca2ce79ab85978f4ca5ab882c6b'/>
<id>urn:sha1:4f81ff13cd848ca2ce79ab85978f4ca5ab882c6b</id>
<content type='text'>
	pthread.map		1.18
	thread/thr_symbols.c	1.4
</content>
</entry>
<entry>
<title>MFC: Relevent commit logs are below.</title>
<updated>2006-03-16T23:29:08Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2006-03-16T23:29:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=40837c5215e9e4c23b101a3189cd6c208d173e0c'/>
<id>urn:sha1: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>
</entry>
</feed>
