paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

New umtx ops UMTX_OP_GET_MIN_TIMEOUT and UMTX_OP_SET_MIN_TIMEOUT #200

Closed paulfloyd closed 1 year ago

paulfloyd commented 1 year ago

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270785

paulfloyd commented 1 year ago

commit c5af71f5da178985c5bf42616134c6f083f689f1 Author: Paul Floyd pjfloyd@wanadoo.fr Date: Sun Aug 27 18:29:30 2023 +0200

FreeBSD: Add a new testcase for FreeBSD 14 _umtx_op set timeout

Uses an existing testcase with pthread APIs that use timeouts
and sets LIBPTHREAD_UMTX_MIN_TIMEOUT to 100 (ns, so almost no
effect other than exercising the syscall).

commit e6ee535c1064663ce1f5c2a96388f239bfd575be Author: Paul Floyd pjfloyd@wanadoo.fr Date: Sun Aug 27 16:14:00 2023 +0200

FreeBSD: add 2 new _umtx_op op codes for FreeBSD 14