Date: Mon, 9 Apr 2001 21:45:14 -0700 (PDT) From: <deischen@FreeBSD.org> To: Heikki.Tuuri@innobase.inet.fi, deischen@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/26247: Does pthread_mutex_trylock really work on the latest FreeBSD release if the mutex is already reserved? Message-ID: <200104100445.f3A4jEa44256@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: Does pthread_mutex_trylock really work on the latest FreeBSD release if the mutex is already reserved? State-Changed-From-To: open->closed State-Changed-By: deischen State-Changed-When: Mon Apr 9 21:41:37 PDT 2001 State-Changed-Why: This was really an application bug, not a bug in the threads library. The application had a low priority thread that held a mutex needed by a higher priority thread. The higher priority thread kept spinning (pthread_mutex_trylock) waiting for the lower priority thread to release the mutex. The lower priority thread got starved and never got a chance to run. http://www.freebsd.org/cgi/query-pr.cgi?pr=26247 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104100445.f3A4jEa44256>