return $config;
}
+ function lockConfigs()
+ {
+ sem_acquire($this->semres);
+ }
+
+ function unlockConfigs()
+ {
+ sem_release($this->semres);
+ }
+
- // type = 0 for the main config
+ // type = 0 for the fs config
// type = 1 for the boot hardware config
+ // type = 2 for running config
+ // type = 3 for web config
function putConfig($config, $type=0)
{
global $MESSAGE_KEY, $LOCKING_KEY, $STORE_KEY;