| United States-English |
|
|
|
![]() |
HP 9000 Networking: HP FTAM/9000 Programmer's Guide > Chapter 3 HP FTAM/9000 Data StructuresFt_concurrency_control |
|
Concurrency locks define whether users can simultaneously access a file. Ft_concurrency_control specifies the type of available concurrency locks for each action on a file.
Each value is of type enum Ft_file_lock which specifies the type of concurrency locks on a file. Setting allowable file actions and locks requires that you follow a few rules. Familiarize yourself with struct Ft_concurrency_control and enum Ft_file_lock, and then review the rules in the "Rules for Ft_concurrency_control" section.
Ft_file_lock enumerates the type of locks on a file. It is the enumerated type for values in struct Ft_concurrency_control. For example, if you want to be able to read a file, but you do not want other users to be able to, set the concurrency_control.read lock to FT_EXCLUSIVE.
Table 3-1 Concurrency Control: Default Settings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||