NetBSD Problem Report #59142

From www@netbsd.org  Thu Mar  6 13:42:06 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3AEEE1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Mar 2025 13:42:06 +0000 (UTC)
Message-Id: <20250306134205.098B71A923C@mollari.NetBSD.org>
Date: Thu,  6 Mar 2025 13:42:05 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: POSIX.1-2024: pthread_cond_clockwait and company
X-Send-Pr-Version: www-1.0

>Number:         59142
>Category:       lib
>Synopsis:       POSIX.1-2024: pthread_cond_clockwait and company
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 13:45:02 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The Clock of the POSIX NowBSD
>Environment:
>Description:
POSIX.1-2024 adds several functions for timed waits determined by a clock id:

https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_cond_clockwait.html
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_mutex_clocklock.html
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_rwlock_clockrdlock.html
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_rwlock_clockwrlock.html
https://pubs.opengroup.org/onlinepubs/9799919799/functions/sem_clockwait.html

These are missing from NetBSD.
>How-To-Repeat:
standards inspection

https://pubs.opengroup.org/onlinepubs/9799919799/xrat/V4_xsh_chap01.html
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.