More examples and tweaks

* Signal dispatch() method now uses own pid as default value
* SharedData now updates checksum cache on set()
This commit is contained in:
2018-04-15 17:25:55 +02:00
parent 86ff40274b
commit 176f9aa5ec
8 changed files with 148 additions and 3 deletions

View File

@ -113,6 +113,7 @@ class SharedData extends SharedMemory
// Update the data
$this[self::IDX_DATA + $index] = [ md5($value), $value ];
$this->checks[$key] = md5($value);
$this->unlock();
return true;
}