[core] allow self closing mailbox/actor

This commit is contained in:
Ivo van Dongen
2017-05-25 09:42:48 +03:00
committed by Ivo van Dongen
parent f0d0e7423b
commit b608d85db7
3 changed files with 36 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ public:
private:
Scheduler& scheduler;
std::mutex receivingMutex;
std::recursive_mutex receivingMutex;
std::mutex pushingMutex;
bool closed { false };