Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <em4611f7b7-32f2-472a-a923-a60ddb730ccd@skarnet.org>
Date: Fri, 20 Feb 2026 20:43:16 +0000
From: "Laurent Bercot" <ska-dietlibc@...rnet.org>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: [PATCH] Implement pthread_mutex_clocklock


  Hello,

  This patch implements the new pthread_mutex_clocklock() function,
defined in The Open Group Base Specifications Issue 8:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_mutex_clocklock.html

  It basically renames pthread_mutex_timedlock.c into
pthread_mutex_clocklock.c, adds a clockid_t parameter where appropriate,
and rewrites pthread_mutex_timedlock() as a trivial wrapper.

  The futex() system call should probably also use the
FUTEX_CLOCK_REALTIME flag when the clockid is CLOCK_REALTIME, but that
can be added in a subsequent patch.

--
  Laurent

Download attachment "0001-Implement-pthread_mutex_clocklock.patch" of type "application/octet-stream" (8336 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.