7. Application Server Process Handler
The Application Server Process Handler manages:
Setup Application Server Processes / Instances (fork)
SHM Requests / Synchronization for all AS Instances
SHM Writes / Synchronization for all AS Instances
7.1. Program Logic
7.1.1. Initialization
ASIndex = 0
* Loop on Config::VirtualDomains
- Loop on VirtualDomain::ASCount
- Fork AS[Index] Process / SHM Reference
- Index++
Workflow diagram see: 15. Graphical Workflows Section 1.1.1.
7.1.2. Main Loop
* Loop
- Check CanRead == 1 && WriteReady == 0
- If yes: Process Python Request
- Write CanRead == 0 && WriteReady = 1
Workflow diagram see: 15. Graphical Workflows Section 1.1.2.