Next | Prev | Up | Top | Contents | Index

Record Locking Across Multiple Systems

Record locking, whether mandatory or advisory, is effective only within a single copy of the IRIX kernel. Locking is effective within a multiprocessor, because processes running in different CPUs of the multiprocessor share a single copy of the IRIX kernel.

Record locking is also effective on processes that execute in different systems connected by a network using NFS to mount the files. However, deadlock detection is not possible between processes in different systems.

If a process needs to maintain locks over several systems, it is suggested that the process avoid the sleep-when-blocked features of fcntl() or lockf() and that the process maintain its own deadlock detection. If the process uses the sleep-when-blocked feature, then a timeout mechanism should be provided by the process so that it does not hang waiting for a lock to be cleared.

Documents how fonts are installed, named, stored and accessed in Silicon Graphics systems.



Next | Prev | Up | Top | Contents | Index