home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- From: mike@imcldn.demon.co.uk (Michael P Simkins)
- Path: sparky!uunet!pipex!demon!imcldn.demon.co.uk!mike
- Subject: Possibly daft question but.....
- Distribution: world
- Organization: Independent Mail Centre, Enfield, Middx
- Reply-To: mike@imcldn.demon.co.uk
- X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.18)
- Lines: 21
- Date: Thu, 19 Nov 1992 18:55:33 +0000
- Message-ID: <722199333snz@imcldn.demon.co.uk>
- Sender: usenet@gate.demon.co.uk
-
- This is possibly a silly question but here goes....
-
- I have accuired to source code to the SoftFocus B-tree library, which was
- for single user use. Am I right in thinking that I can convert this
- library to network use, by placing the appropriate record locking calls
- around the physical read() and write() functions ?
-
- If this is the case, my only other question would be the handling of a
- new data record. I cannot lock the record, as it does not exist yet, but
- should I lock the file, add the record, lock the record, and then unlock
- the file. I know that locking beyond the length of the file (for DOS) is
- ok, but will this cause any problems.
-
- If possible please e-mail any responses, and I will post a summary to
- the net later
-
- Thanks for your help
-
- Mike
-
-
-