• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to support advisory posix locks and detect deadlocks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to support advisory posix locks and detect deadlocks?


  • Subject: How to support advisory posix locks and detect deadlocks?
  • From: Paul Nelson <email@hidden>
  • Date: Mon, 15 Feb 2010 11:18:29 -0600

This appears impossible with the current set of KPI.

Looking at lf_advlock as a model, a VFS would look through struct proc uu_wchan to see if a a particular process is waiting on a lock held by the current process.
This is not possible given the set of KPI.

Is there another way to detect deadlocks?

Paul Nelson
Thursby Software Systems, Inc. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Get the underlying cache block size of a filesystem?
  • Next by Date: Re: Get the underlying cache block size of a filesystem?
  • Previous by thread: pthread_exit() may only be called against threads created...
  • Next by thread: nfs and resource forks
  • Index(es):
    • Date
    • Thread