<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/regress/lib/libpthread, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/regress/lib/libpthread?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/regress/lib/libpthread?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-04-06T00:01:08Z</updated>
<entry>
<title>Update my email address.</title>
<updated>2020-04-06T00:01:08Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2020-04-06T00:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8855e28c066fcedf8b2ce6df476d3f9b3d0ee8f9'/>
<id>urn:sha1:8855e28c066fcedf8b2ce6df476d3f9b3d0ee8f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the sem_timedwait(3) test.</title>
<updated>2019-12-20T23:39:01Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2019-12-20T23:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c672e670483e64beb92e18b92467ba4bf2b73852'/>
<id>urn:sha1:c672e670483e64beb92e18b92467ba4bf2b73852</id>
<content type='text'>
The recent clock_getres(2) changes made it so that clock_getres(2) returns
the granularity of the active timecounter.  This is usually much finer
than that of hardclock(9), so we can no longer use clock_getres(2) to
fudge our upper timeout return bound.  The test is failing because it
thinks our sem_timedwait(3) call is returning with too much latency.

We can still get the hardclock(9) granularity via the kern.clockrate
sysctl(2), though, so just use that to fudge the upper bound.

While here, we ought to be checking that we return after the requested
absolute timeout, not that we were asleep for a particular interval.

Breakage reported by mpi@.

ok mpi@
</content>
</entry>
<entry>
<title>enable malloc_duel; "tests want to run" bluhm@</title>
<updated>2019-05-16T05:24:13Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2019-05-16T05:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=611b9c11b0910a7208519d120ce922f0013d0740'/>
<id>urn:sha1:611b9c11b0910a7208519d120ce922f0013d0740</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turn the 2 thread duel into a 11 thread melee.</title>
<updated>2019-05-15T18:53:03Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2019-05-15T18:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e4efe07b52543a50251ca3843f3f4a1dbdded5fc'/>
<id>urn:sha1:e4efe07b52543a50251ca3843f3f4a1dbdded5fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the REGRESS_MAXTIME feature from regress framework.  The</title>
<updated>2019-05-14T16:43:26Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-05-14T16:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a06b5f1b2f3bda5cc27353c34b7d9739a2a57822'/>
<id>urn:sha1:a06b5f1b2f3bda5cc27353c34b7d9739a2a57822</id>
<content type='text'>
timeout based on CPU seconds is pretty useless, most hanging tests
sleep and do not spin.  The timeout could not be distinguished from
failure.  Only 3 tests used it.
OK anton@ schwarze@ cheloha@ otto@
</content>
</entry>
<entry>
<title>link pthread_rwlock2 test</title>
<updated>2019-03-04T08:26:55Z</updated>
<author>
<name>semarie</name>
<email>semarie@openbsd.org</email>
</author>
<published>2019-03-04T08:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2e1db61736fefdeae1d71b444395050a3d90f650'/>
<id>urn:sha1:2e1db61736fefdeae1d71b444395050a3d90f650</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a new pthread_rwlock test based on concurrent rw/rd access on a buffer.</title>
<updated>2019-03-04T08:23:05Z</updated>
<author>
<name>semarie</name>
<email>semarie@openbsd.org</email>
</author>
<published>2019-03-04T08:23:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=306ecd85836f33d809eb3a084391e1e85d6f703f'/>
<id>urn:sha1:306ecd85836f33d809eb3a084391e1e85d6f703f</id>
<content type='text'>
discussed with visa@
</content>
</entry>
<entry>
<title>In general I like verbose tests as output makes debugging easier.</title>
<updated>2018-05-21T10:14:50Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-05-21T10:14:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd167ee385d0038677eead52b249a8fc2e50a461'/>
<id>urn:sha1:fd167ee385d0038677eead52b249a8fc2e50a461</id>
<content type='text'>
But this one just fills the log file by writing characters from the
running threads.  Pipe stdout to wc to show performance.  Run test
multiple times with various number of threads and print cpu time.
Replace atoi(3) with strtonum(3).  Fix white spaces.
</content>
</entry>
<entry>
<title>Fix sem_timedwait regress test. Needs SA_RESTART to block now.</title>
<updated>2018-04-27T11:31:17Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2018-04-27T11:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd181be8702dedce8ecf811742c92216629b6d8e'/>
<id>urn:sha1:fd181be8702dedce8ecf811742c92216629b6d8e</id>
<content type='text'>
Hug and OK guenther@
</content>
</entry>
<entry>
<title>pthread_join() must not return EINTR</title>
<updated>2018-04-27T06:47:34Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-04-27T06:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=620a9b404b726ec717bfcdc51d972ccb99863b14'/>
<id>urn:sha1:620a9b404b726ec717bfcdc51d972ccb99863b14</id>
<content type='text'>
Simplify sem_trywait()

ok pirofti@ mpi@
</content>
</entry>
</feed>
