On Fri, 20 Apr 2012 11:18:45 +0800, David Crayford <[email protected]> wrote:
>Of course, fcntl() can be used to implement byte-range-locking. So in >theory you could use it to implement >row-level locking in a dictionary library. ENQ is not that granular. ENQ is as granular as the application wants to make it, depending on how clever the application programmer is at encoding information into the RNAME the application will use. The key point about UNIX files, though, is that all the locking is advisory, and controlled by the applications that use the file. If they all implement the same locking mechanism (whatever that may be), the locking will work. If they don't, it won't work. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

