What is the use of DupLock() ?
why would one have two lockson the same file?
Are more locks 3,4 ..possible? i guess not, hence AddLock would be a better name .
DupLock()
- colinw
- AmigaOS Core Developer
- Posts: 207
- Joined: Mon Aug 15, 2011 9:20 am
- Location: Brisbane, QLD. Australia.
Re: DupLock()
It doesn't just work on files, and yes, you can have any number of SHARED_LOCKs.JosDuchIt wrote:What is the use of DupLock() ?
why would one have two lockson the same file?
Are more locks 3,4 ..possible? i guess not, hence AddLock would be a better name .
For example, how would you give a new process a copy of the spawners current directory lock. ?