aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cosNotification
diff options
context:
space:
mode:
authorAhmed Omar <[email protected]>2010-12-15 11:26:18 +0100
committerAhmed Omar <[email protected]>2010-12-15 11:26:18 +0100
commit638a610d0b7ada7b2099b6127410aafb9fae3313 (patch)
tree4ccebf3de17485b91a3d5c3137abe7c53bc993a1 /lib/cosNotification
parent9f4dd4934d427f0fb2caeb034115e0227cc4610a (diff)
downloadotp-638a610d0b7ada7b2099b6127410aafb9fae3313.tar.gz
otp-638a610d0b7ada7b2099b6127410aafb9fae3313.tar.bz2
otp-638a610d0b7ada7b2099b6127410aafb9fae3313.zip
Fixes a race condition found in percept_db start/1 function.
When function start/1 finds an instance of percept_db running, it will send a message to stop it and spawn a process to start a new one, which leads to a race condition. The function will return {restarted, pid()} but the pid() will die once it tries to create the ets table.
Diffstat (limited to 'lib/cosNotification')
0 files changed, 0 insertions, 0 deletions