From nobody Thu Nov 03 18:39:54 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N3CGz34PCz4gPLV for ; Thu, 3 Nov 2022 18:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N3CGz1qjrz45TW for ; Thu, 3 Nov 2022 18:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N3CGz0w7Kzm7Z for ; Thu, 3 Nov 2022 18:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2A3IdtR4050615 for ; Thu, 3 Nov 2022 18:39:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A3IdtGm050614 for bugs@FreeBSD.org; Thu, 3 Nov 2022 18:39:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 267551] [PATCH] intro(3): Add `libstdthread` ISO C11 library Date: Thu, 03 Nov 2022 18:39:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alois+freebsd@aloisklink.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667500795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TAm+34Ll7DIk7eGp2a+aBmluefh5B3BuMe85e8f3Rrk=; b=G5r6kAij6nvdvhrpH933UjyVN5wgpl4AUXl2GKCVWFeue0bS5koAHBnJwv4vVTRHAuHFNh XMCB3K/f3HHfWf35m9OCF2n2jzKYcdlGMiqAvIfgi5BejfLq/j/hGYeqJXbAmknTIpaGGz aeVyenQda+PDAvW2LPsMWaL2v+/FRU8LELBjef710YGD/DPVFjcv6wmVSUoYg0tBlGNgR8 Al8ZVZM1bqoD+/UG5HoL7XuKONMlthK0Rf7rpuxgAHbXj+hOoa2Bbp7pWQtJ9gBCIGo+4x 6hUa9KzUV9ZTTSf41GS87zg0c9t+l9JfLFc25HAC36IaG2+gGymuGM4+ShAqPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667500795; a=rsa-sha256; cv=none; b=wvqsorbdq4GQz5V1hSor3wX4FdnJ/vfW1lQK/ACR4gQ0HF70daYhoILMkbjS9I7YGVw7FX etviR87pK0dLyq9rkVi655U1LvkQbR7SpGigocWHo8VHkJRiDJXiC3umxFWSKzW2rvUges LFXeudlAV+Y+FCv9YAm2pukD0ByY91Z4MHVBkVJznijXDg8cz61/P2tXnEP2AxP1DcCgqU e2O0yh8EPHbp4L+QknMTETg/rLyn34U4FNONwwf9Gwgzpy+Kq9GovZAjpAy9+z9o1zkwOr sMeHjAcbqjaIyhiE+lFuSy/8zMKSgFYOc4VIcLQQC8JN+Ztvrkh+T2p0n9GMsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267551 Bug ID: 267551 Summary: [PATCH] intro(3): Add `libstdthread` ISO C11 library Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: alois+freebsd@aloisklink.com CC: doc@FreeBSD.org Created attachment 237851 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237851&action= =3Dedit `git format-patch` patch file Document `libstdthreads` (aka the ISO C11 `` library) in the intro(3) manpage. It's still relatively uncommon to see C11 `` being used, but it's worth documenting, especially since FreeBSD requires a different library for C11 threads compared to glibc (part of `-lpthread`) or musl libc (included = by default). --- My patch is also available on GitHub if that's easier, or if you'd prefer m= e to make a PR there for CI to run, see https://github.com/aloisklink/freebsd-src/commit/ed23dd8e5012251c2467ecc8dd= 1347646d5b54bf https://www.freebsd.org/cgi/man.cgi?query=3Dthrd_create is the documentatio= n for `libstdthreads` in case that helps! Also, apologies if the formatting on this description is a bit weird, for s= ome reason the description **Preview** window on Bugzilla is blank for me. I ca= n't see any JavaScript errors in my browser, but I have noticed that my fetch requests to https://bugs.freebsd.org/bugzilla/jsonrpc.cgi for method `Bug.render_comment` seem to be returning `{result: {html: null}, version: "1.1"}`, so maybe it's a server-side bug. --=20 You are receiving this mail because: You are the assignee for the bug.=