<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5b36b4ea4766e1f571dc786a8d9f896e6f8cd2de - pthread: Add tests for pthread user stack allocation.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#5b36b4ea4766e1f571dc786a8d9f896e6f8cd2de</link>
        <description>pthread: Add tests for pthread user stack allocation.PR lib/57721XXX pullup-10XXX pullup-9XXX pullup-8

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Fri, 24 Nov 2023 16:21:17 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a11399dd2de363aa74746fa5d1cdad71cc7cdac7 - fix build of h_thread_local_dtor.cpp</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#a11399dd2de363aa74746fa5d1cdad71cc7cdac7</link>
        <description>fix build of h_thread_local_dtor.cpp

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Sun, 21 Jun 2020 07:06:05 +0000</pubDate>
        <dc:creator>lukem &lt;lukem@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a9ca1710c000a62165d496a9444222e7ac02d70f - Add a complete C11 threads(3) implementation</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#a9ca1710c000a62165d496a9444222e7ac02d70f</link>
        <description>Add a complete C11 threads(3) implementationC11 Thread support library is a portable threading C API between OSs,similar to std::threads in the C++ world.The library is implemented as a thin shim over POSIX interfaces.NetBSD implements the API as a part of the POSIX threading library(libpthread(3)).C11 threads(3) are in the process of making them an integral partof the POSIX standard. The interface has been implemented in majorOSs and used with stopgap libraries for older versions of them.C11 threading library is already used (with a stopgap implementation)in the NetBSD distribution in MESA.Original implementation by myself from 2016.ATF tests are new and cover almost all interfaces.Proposed on tech-userlevel@.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Wed, 24 Apr 2019 11:43:19 +0000</pubDate>
        <dc:creator>kamil &lt;kamil@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e5678be828932e6f3c8f31897ff2b79723f3129b - Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#e5678be828932e6f3c8f31897ff2b79723f3129b</link>
        <description>Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. Thisfunctions are used for destructors of thread_local objects.If a pending destructor exists, prevent unloading of shared objects.Introduce __dl_cxa_refcount interface for this purpose. When the lastreference is gone and the object has been dlclose&apos;d before, theunloading is finalized.Ideally, __cxa_thread_atexit_impl wouldn&apos;t exist, but libstdc++ insistson providing __cxa_thread_atexit as direct wrapper without furtherpatching.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Tue, 11 Jul 2017 15:21:31 +0000</pubDate>
        <dc:creator>joerg &lt;joerg@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>53e134ea9efd113dd75cd0057fb0cb10c274758b - Add new test t_timedmutex</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#53e134ea9efd113dd75cd0057fb0cb10c274758b</link>
        <description>Add new test t_timedmutexThis test is a clone on t_mutex with additional two tests for timed-mutexspecific block.All simple-mutex (not with the timed property according to the C11 wording)specific tests are covered by pthread_mutex_timedlock(3) with parameterts_lengthy of sufficiently large tv_sec value (right now UINT16_MAX). If,a test will hang, it won&apos;t wait UINT16_MAX seconds, but will be terminatedwithin the default timeout for ATF tests (right now 300 [sec] in myNetBSD/amd64 setup).This test was inspired by a classic selflock test failure ofpthread_mutex_timedlock(3) of the following form:#include &lt;assert.h&gt;#include &lt;errno.h&gt;#include &lt;pthread.h&gt;#include &lt;stdio.h&gt;#include &lt;time.h&gt;int main(int argc, char **argv){	pthread_mutex_t mtx;        struct timespec ts;        ts.tv_sec = 0;        ts.tv_nsec = 1000;        printf(&quot;ts{.tv_sec = %d, .tv_nsec=%ld}\n&quot;, ts.tv_sec, ts.tv_nsec);        fflush(stdout);        printf(&quot;mtx_init\n&quot;);	assert(pthread_mutex_init(&amp;mtx, NULL) == 0);        printf(&quot;mtx_lock\n&quot;);	assert(pthread_mutex_lock(&amp;mtx) == 0);        printf(&quot;mtx_timedlock\n&quot;);	assert(pthread_mutex_timedlock(&amp;mtx, &amp;ts) == ETIMEDOUT);        printf(&quot;mtx_unlock\n&quot;);	assert(pthread_mutex_unlock(&amp;mtx) == 0);	printf(&quot;mtx_destroy\n&quot;);        assert(pthread_mutex_destroy(&amp;mtx) == 0);	return 0;}Current NetBSD implementation wrongly hangs on this test.The issue was detected during development of the C11 portable threads.My local tests in chroot presents that the are further issues:t_timedmutex (21/25): 10 test cases    mutex1: [0.001142s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:75: *param != 20    mutex2: [0.261499s] Passed.    mutex3: [0.261496s] Passed.    mutex4: [0.001204s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:265: pthread_mutex_timedlock(&amp;mutex, &amp;ts_lengthy): Connection timed out    mutex5: [0.001235s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:337: pthread_mutex_timedlock(&amp;mutex5, &amp;ts_lengthy): Connection timed out    mutex6: [21.218497s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:512: start != 1    mutexattr1: [0.001328s] Passed.    mutexattr2: [0.001175s] Passed.    timedmutex1: [301.119397s] Failed: Test case timed out after 300 seconds    timedmutex2: [301.123081s] Failed: Test case timed out after 300 seconds[623.990659s]I&apos;m also receiveing the same failure in the mutex6 test in t_mutex, sothere might be a false positives due to local chroot(8) issues.Commit approved by &lt;christos&gt;.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Sun, 30 Oct 2016 16:17:16 +0000</pubDate>
        <dc:creator>kamil &lt;kamil@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1e971735177d785eb0cf4110a994f36d4bb35e85 - loosen the test only for qemu.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#1e971735177d785eb0cf4110a994f36d4bb35e85</link>
        <description>loosen the test only for qemu.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Fri, 12 Apr 2013 17:18:11 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>dd14258bb51a95d4b17236806f0f9e1f73f43581 - Add pthread_cond_timedwait(3) test from PR/47703</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#dd14258bb51a95d4b17236806f0f9e1f73f43581</link>
        <description>Add pthread_cond_timedwait(3) test from PR/47703

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Thu, 28 Mar 2013 18:50:01 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a4ddc2c8fb9af816efe3b1c375a5530aef0e89e9 - new dlopen tests for libpthread from manu@</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#a4ddc2c8fb9af816efe3b1c375a5530aef0e89e9</link>
        <description>new dlopen tests for libpthread from manu@

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Thu, 21 Mar 2013 16:50:21 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bba80928a8e56a4c71f630c473d35391888cc3e9 - setcontext() used to be incompatible with -lpthread since it affected</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#bba80928a8e56a4c71f630c473d35391888cc3e9</link>
        <description>setcontext() used to be incompatible with -lpthread since it affectedthe TLS pointer, therefore wrecking the pthread environement.Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)that controlled whether setcontext() would change the TLS pointer.This change let libpthread override setcontext() with its own versionthat unsets _UC_TLSBASE, enabling safe usage of setcontext() with-lpthread.We also have the following required changes here:- rename alpha&apos;s _UC_UNIQUE into _UC_TLSBASE- add _UC_TLSBASE definition in header file for all ports  (powerpc, sh3, sparc and sparc64 lack the implementation for now)- introduce a libc stub that can be overriden for setcontext()- modify MD libcs swapcontext() implementations so that they use the  setcontext() libc stub instead of doing a plain system call.While we are there:- document various MD _UC_* flags in header file- add libc and libpthread tests for swapcontext() behavior  (hopefully helpful to spot MD problems introduced with this change)Future work:- Deciding whether kernel support or _UC_TLSBASE should be added for  powerpc, sh3, sparc and sparc64 is left to portmasters  sparc64Approved by core@

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Wed, 12 Sep 2012 02:00:51 +0000</pubDate>
        <dc:creator>manu &lt;manu@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>710017dde4ef8fa1b03a00160dd05014064d16ae - As per PR lib/44818, remove &apos;lib/libpthread/t_status&apos;. It takes two minutes</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#710017dde4ef8fa1b03a00160dd05014064d16ae</link>
        <description>As per PR lib/44818, remove &apos;lib/libpthread/t_status&apos;. It takes two minutesto rewrite this properly if someone misses this.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Wed, 06 Apr 2011 16:04:16 +0000</pubDate>
        <dc:creator>jruoho &lt;jruoho@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>68f3621e3d2cefa77bfbcc2477b697b9a6a8e00a - A dummy conformance-test for pthread_detach(3). I will extend this later.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#68f3621e3d2cefa77bfbcc2477b697b9a6a8e00a</link>
        <description>A dummy conformance-test for pthread_detach(3). I will extend this later.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Thu, 24 Mar 2011 13:52:04 +0000</pubDate>
        <dc:creator>jruoho &lt;jruoho@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c3917926fd38ac03d4a06d9e9cf3af8d5d69cb21 - A dummy conformance-test of pthread_equal(3).</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#c3917926fd38ac03d4a06d9e9cf3af8d5d69cb21</link>
        <description>A dummy conformance-test of pthread_equal(3).

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Thu, 24 Mar 2011 12:40:59 +0000</pubDate>
        <dc:creator>jruoho &lt;jruoho@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1b0b4551484cd727d131671fc060b76cc63c97a7 - Link t_fpu against libm if the compiler doesn&apos;t want to inline sin/cos.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#1b0b4551484cd727d131671fc060b76cc63c97a7</link>
        <description>Link t_fpu against libm if the compiler doesn&apos;t want to inline sin/cos.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Wed, 08 Dec 2010 23:50:14 +0000</pubDate>
        <dc:creator>joerg &lt;joerg@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>236a44094ddf0c236794a7f6717c587e88195c26 - Test alignment of constructor / destructor calls as well as the stack</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#236a44094ddf0c236794a7f6717c587e88195c26</link>
        <description>Test alignment of constructor / destructor calls as well as the stackof new threads. Currently implement for i386 and AMD64.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Tue, 30 Nov 2010 18:38:53 +0000</pubDate>
        <dc:creator>joerg &lt;joerg@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b226f3d0e3999c6558bab3e4afa4d4da3e8f1509 - Add a simple test for pthread_join(3).</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#b226f3d0e3999c6558bab3e4afa4d4da3e8f1509</link>
        <description>Add a simple test for pthread_join(3).

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Wed, 28 Jul 2010 21:29:15 +0000</pubDate>
        <dc:creator>jruoho &lt;jruoho@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ac555471cafe6fc06b9337a8708e2b398bf714c8 - Convert the libpthread tests to atf.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/history/netbsd-src/tests/lib/libpthread/Makefile#ac555471cafe6fc06b9337a8708e2b398bf714c8</link>
        <description>Convert the libpthread tests to atf.Initial work from the GSoC 2008 project by Lukasz Strzygowski.I think that this, together with the previous conversion of librt, obsoletesthe tests in the semaphore/ directory.  Will investigate later.

            List of files:
            /netbsd-src/tests/lib/libpthread/Makefile</description>
        <pubDate>Fri, 16 Jul 2010 15:42:53 +0000</pubDate>
        <dc:creator>jmmv &lt;jmmv@NetBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
