Turboimage Database Enhancements - August 2001

Fork() Characteristics:
Forked process inherits characters
from its parent
Forked process has its own SR5
Duplicate some file system data
structures and share some
Runtime Control Block (DBUX/DBU)
- Not able to duplicate file system data structure of
DBUX and DBU
- Many fields not suitable for sharing
- State of the process while forking
Global Variables
- qlock_trace
- bti_global
- ccu_global
- chunk_control
Open Files
- except rootfile, not using file system intrinsics
- maintain own current record pointers
- use SMCB
Problems for forking:
fork() will fail if DB opened
Runtime control block
Global variables
Open files