Description
ChainBase is not thread safe. For example there is a race condition in addCommand(CMD) where. The current implementation first checks the flag frozen and then acts based on the value of frozen. Another thread may have already altered the value of frozen.