HPlogo Accessing Files Programmer's Guide > Chapter 12 Sharing a File

Chapter 12 Sharing a File

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 6 ♥
E0692 Edition 5

Table of Contents
Simultaneous Access of Files
Exclusive access
Semi-exclusive access
Shared access
Multiaccess
Global multiaccess
Sharing the File Using FLOCK and FUNLOCK
Accessing and controlling a file that is open only to you is a relatively simple matter. When your file is being accessed by several users simultaneously, each user must be aware of special considerations for this shared file. As you read this chapter, keep these considerations in mind:
  • How will others be allowed concurrent access to your file?

  • Will the concurrent access need special management?


NOTE: In most cases, the following discussions pertain only to non-message files. For more information about using message files; refer to the Interprocess Communication Programmer's Guide.




New Intrinsics


Simultaneous Access of Files