NetBSD Problem Report #57001

From www@netbsd.org  Fri Sep  9 06:04:45 2022
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 484C71A921F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  9 Sep 2022 06:04:45 +0000 (UTC)
Message-Id: <20220909060444.156FF1A923A@mollari.NetBSD.org>
Date: Fri,  9 Sep 2022 06:04:44 +0000 (UTC)
From: hopkinsza@gmail.com
Reply-To: hopkinsza@gmail.com
To: gnats-bugs@NetBSD.org
Subject: sigevent(3) man page is outdated
X-Send-Pr-Version: www-1.0

>Number:         57001
>Category:       toolchain
>Synopsis:       sigevent(3) man page is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 09 06:05:00 +0000 2022
>Originator:     Zach Hopkins
>Release:        9.3
>Organization:
n/a
>Environment:
NetBSD netbsdvm 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
sigevent(3) man page says: "not yet fully functional in NetBSD: neither realtime signals nor SIGEV_THREAD are currently supported. Realtime functions that can generate realtime signals include... Expiration of per-process timers; see timer_create(2)."

I'm working on something that is currently using timer_create(2) to generate SIGUSR1 and SIGUSR2 on timer expiration and was a little sad to see that I would have to find a different solution to work on netbsd...

Except I tested it and it works! Noting Problem Report #42434 after a search, using SIGEV_SIGNAL, has worked (at least in some capacity / basic usage) since at least 2010. Not sure on the state of SIGEV_THREAD.
>How-To-Repeat:
n/a
>Fix:
Update sigevent(3) to document what is currently functional.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.