[haiku-gsoc] Re: [HCD]: Bfs bug #1

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Sat, 21 Jun 2008 14:01:44 -0500

On Sat, Jun 21, 2008 at 1:15 PM, Salvatore Benedetto <emitrax@xxxxxxxxx> wrote:
> One question though, is it possible to see who is holding a semaphore?
> That is, not who created it,
> but who is holding it, because I haven't understand if the attached
> screenshot shows a deadlock or not.
>

From that screenshot it looks like the scsi bus service forgot to
release it somewhere..you'll notice thread 33 is in the waiting queue,
and the sem was also last acquired and released by 33. Which implies
that 33 tried to acquire it several times in a row without releasing
it.

Regards,

Rene

Other related posts: