• 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
Re: Exploring locks in darwin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exploring locks in darwin


  • Subject: Re: Exploring locks in darwin
  • From: email@hidden
  • Date: Fri, 14 Jan 2005 23:14:21 +0800

On Fri, Jan 14, 2005 at 08:35:14PM +0530, Yogesh P wrote:
> Hi Folks,
>
> I am going through the implementation of the locking available in vfs
> for holding the write call for fraction of time to initialize the
> snapshot module.
>
> Can somebody point me about the vn_lock function which is used by lots
> of syscall under bsd kernel.
>
> Can we directly use the vn_lock function to lock the write calls?
>
> Is there any reference document which will make me understand the
> functionality of simple_lock,simple_unlock,VOP_LOCK and VOP_UNLOCK under
> darwin kernel.
>

Basically, Filesystem in Darwin is like Filesytem in *BSD system, *BSD
filesytem will are good reference for you.


--
Hu Gang       .-.
              /v\
             // \\
Linux User  /(   )\  [204016]
GPG Key ID   ^^-^^   http://soulinfo.com/~hugang/hugang.asc
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Exploring locks in darwin (From: Yogesh P <email@hidden>)

  • Prev by Date: Exploring locks in darwin
  • Next by Date: Re: Exploring locks in darwin
  • Previous by thread: Exploring locks in darwin
  • Next by thread: Re: Exploring locks in darwin
  • Index(es):
    • Date
    • Thread