NetBSD Problem Report #54440

From  Mon Aug  5 23:10:22 2019
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 959CF7A169
	for <>; Mon,  5 Aug 2019 23:10:22 +0000 (UTC)
Message-Id: <>
Date: Mon,  5 Aug 2019 23:10:21 +0000 (UTC)
Subject: Relax time constraint in pthread_cond_timedwait unit test
X-Send-Pr-Version: www-1.0

>Number:         54440
>Category:       lib
>Synopsis:       Relax time constraint in pthread_cond_timedwait unit test
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 05 23:15:00 +0000 2019
>Last-Modified:  Sat Aug 10 07:40:01 +0000 2019
>Originator:     Eric van Gyzen
You might want to import this commit from FreeBSD:

The commit log explains the problem.




Responsible-Changed-From-To: lib-bug-people->martin
Responsible-Changed-When: Wed, 07 Aug 2019 10:45:06 +0000

From: "Martin Husemann" <>
Subject: PR/54440 CVS commit: src/tests/lib/libpthread
Date: Sat, 10 Aug 2019 07:36:15 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Aug 10 07:36:15 UTC 2019

 Modified Files:
 	src/tests/lib/libpthread: t_condwait.c

 Log Message:
 PR lib/54440: adapt the FreeBSD change to this test and calculate time
 differences more exact, allowing between 0 and 1 s delay between the
 expected wakeup and the actual event happening.
 Also convert the QEMU special case code to the same scheme, but for now
 disable it (with XXX mark) and see if the proper timing limits fix that
 case too.
 If not, we will re-enable the QEMU special case.

 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libpthread/t_condwait.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.