webmcp
diff framework/env/execute/prefork_initializers.lua @ 208:2c2bcde0df79
Pre/postfork initializers and finalizers via coroutines
author | jbe |
---|---|
date | Sat Jan 10 00:11:52 2015 +0100 (2015-01-10) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/framework/env/execute/prefork_initializers.lua Sat Jan 10 00:11:52 2015 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +--[[-- 1.5 +execute.prefork_initializers() 1.6 + 1.7 +Executes all initializers prior to forking. 1.8 + 1.9 +--]]-- 1.10 + 1.11 +function execute.prefork_initializers() 1.12 + execute._initializers("_prefork") 1.13 +end