()
Construct a new shared state with initialized mutex.
(EventLoop * loop, CompletionPolicy policy)
Construct with EventLoop and policy.