Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2002 11:58:09 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Josef Karthauser <joe@FreeBSD.org>
Cc:        cvs-all@freebsd.org, cvs-committers@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/usb ohci.c
Message-ID:  <Pine.BSF.4.21.0212091149270.25027-100000@root.org>
In-Reply-To: <20021209014609.9F72F37B50C@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Dec 2002, Josef Karthauser wrote:
> joe         2002/12/08 17:41:24 PST
> 
>   Modified files:
>     sys/dev/usb          ohci.c 
>   Log:
>   MFNetBSD: (partial 1.133)
>   - In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
>     condition.
>   
>   Approved by:    re (rwatson)

Wouldn't it be better to use a mtx or tsleep/wakeup?  A delay leaves the
race, only making it non-deterministic.

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0212091149270.25027-100000>