Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exploring locks in darwin



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.


Thanks in advance,
YOGESH PAHILWAN 
(SOFTWARE ENGINNER) 

S P Software Technologies (I) Pvt. Ltd. 
(An ISO 9001:2000 Company) 
Pune, Maharashtra, India - 411 004. 

Tel : 91-20-4006154, 4006983, 4007503. 
Fax : 91-20-4006153. 

Email : email@hidden
Visit us at : www.spsoftindia.com






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.