<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/libthread/sysofiles.sh, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>libthread: simplify</title>
<updated>2020-12-30T12:53:28+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-12-30T12:18:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=18571208068d5fe2f0bf7b4e980525a7f577c503'/>
<id>18571208068d5fe2f0bf7b4e980525a7f577c503</id>
<content type='text'>
Now that everything uses pthreads and pthreadperthread,
can delete various conditionals, all the custom context code,
and so on. Also update documents.

Fixes #355.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that everything uses pthreads and pthreadperthread,
can delete various conditionals, all the custom context code,
and so on. Also update documents.

Fixes #355.
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: delete NetBSD special case</title>
<updated>2020-12-30T05:06:35+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-12-30T05:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=5b37d9126474864b5299426e27b2af37fcc96dd0'/>
<id>5b37d9126474864b5299426e27b2af37fcc96dd0</id>
<content type='text'>
I added a direct call from thread.c to pthread.c's _threadpthreadstart
in May, and no one has complained about NetBSD being broken.
So probably no one is using this on NetBSD at all.
Make pthread the only option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I added a direct call from thread.c to pthread.c's _threadpthreadstart
in May, and no one has complained about NetBSD being broken.
So probably no one is using this on NetBSD at all.
Make pthread the only option.
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: use libc functions in ucontext for macOS (#417)</title>
<updated>2020-06-16T03:18:03+00:00</updated>
<author>
<name>Xiao-Yong</name>
<email>xjin@anl.gov</email>
</author>
<published>2020-06-16T03:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=329831171dd6ef81c113f101093c7b4947381003'/>
<id>329831171dd6ef81c113f101093c7b4947381003</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: clean up sysofiles.sh a bit more</title>
<updated>2020-01-20T04:04:58+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-20T04:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=4698bde2367f971fed3924f2dee736e0dfe37bb9'/>
<id>4698bde2367f971fed3924f2dee736e0dfe37bb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: use consistent stack calculation code in makecontext</title>
<updated>2020-01-20T04:04:58+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-20T03:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=41b3e8b9893a8561af7e85ca98444bc284b4013d'/>
<id>41b3e8b9893a8561af7e85ca98444bc284b4013d</id>
<content type='text'>
Also reduce duplication: makecontext is per-arch not per-os-arch.

May fix #353.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also reduce duplication: makecontext is per-arch not per-os-arch.

May fix #353.
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: rm NetBSD pthread reference in sysofiles.sh</title>
<updated>2020-01-20T04:04:58+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-20T02:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=ac8042dfa9819f76ccfedd4aa36c1239322808b8'/>
<id>ac8042dfa9819f76ccfedd4aa36c1239322808b8</id>
<content type='text'>
It may be that pthreads on NetBSD is now good enough,
but the build as written (introduced in 23a2368 at my suggestion)
is certainly broken, since both NetBSD.c and pthread.c define
the same functions.

If NetBSD does support pthreads now, then a few things
should happen together:

 - libthread/sysofiles.sh should drop its top NetBSD case entirely
 - libthread/NetBSD.c should be deleted
 - libthread/NetBSD-*-asm.s should be deleted
 - include/u.h's NetBSD case should define PLAN9PORT_USING_PTHREADS
   and #include &lt;pthread.h&gt;

For now, restore to less clearly broken build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It may be that pthreads on NetBSD is now good enough,
but the build as written (introduced in 23a2368 at my suggestion)
is certainly broken, since both NetBSD.c and pthread.c define
the same functions.

If NetBSD does support pthreads now, then a few things
should happen together:

 - libthread/sysofiles.sh should drop its top NetBSD case entirely
 - libthread/NetBSD.c should be deleted
 - libthread/NetBSD-*-asm.s should be deleted
 - include/u.h's NetBSD case should define PLAN9PORT_USING_PTHREADS
   and #include &lt;pthread.h&gt;

For now, restore to less clearly broken build.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: remove Linux 2.4 vs 2.6 detection</title>
<updated>2020-01-20T04:04:58+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-20T02:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c'/>
<id>cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c</id>
<content type='text'>
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: rm Darwin pre-11.0.0 support</title>
<updated>2020-01-20T02:26:30+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-20T01:57:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=52397aaf2b240015533fa46f1767c20f45296465'/>
<id>52397aaf2b240015533fa46f1767c20f45296465</id>
<content type='text'>
Darwin 11.0.0 was Mac OS X 10.7.0 aka Lion.
The previous version was Snow Leopard, which
has been unsupported by Apple since February 2014.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Darwin 11.0.0 was Mac OS X 10.7.0 aka Lion.
The previous version was Snow Leopard, which
has been unsupported by Apple since February 2014.
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: NetBSD supports pthreads, remove ancient systems in sysofiles.sh</title>
<updated>2020-01-16T17:01:44+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-16T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=23a23689807560ee80806a339be0f7e7cef6340d'/>
<id>23a23689807560ee80806a339be0f7e7cef6340d</id>
<content type='text'>
Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: use mmap to allocate OpenBSD stacks</title>
<updated>2020-01-14T18:58:47+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-14T17:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=8c573cab6819c69142389d36b978b3c683771afe'/>
<id>8c573cab6819c69142389d36b978b3c683771afe</id>
<content type='text'>
Should fix faults on OpenBSD.

Fixes #218.
Fixes #226.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fix faults on OpenBSD.

Fixes #218.
Fixes #226.
</pre>
</div>
</content>
</entry>
</feed>
