Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Server

The Server primitive is a system resource identified by its server ID, which is a unique 32-bit ID. AEECLSID_SERVERHOST is the default IMain implementation hosting the server's primordial thread.

primordial thread IMain server
Server { 
serverid = AEECLSID_UMSTESTSERVER, 
mainid = AEECLSID_SERVERHOST, 
priority = 10, 
stacksize = 8192, 
maxservices = 512, 
maxmemory = 0x200000, 
args = "threads=1;stacksize=64240;priority=12"; 
privs = { AEECLSID_CTFHOST } 
}
  • serverid: System resource.
  • mainid: Class ID of IMain to run in the created process.
  • priority: Priority of the primordial thread for this process.
  • stacksize: Stack size of primordial thread.
  • maxservices: Maximum number of services allowed in this process.
  • maxmemory: Maximum amount of memory given to this process.
  • args: Arguments supplied to the IMain.
  • privs: Privileges given to the new process.