summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-08-26 13:24:37 +0400
committerAlexander Gavrilov2012-08-26 14:43:14 +0400
commit3402a3cd5d473d26c115145e19f4113db51e8435 (patch)
treeda9c6f3d86823a6469a46b71fc276483d1a8748a /library/include
parent7f1e4b46bc102014533c015f09a20eef38aab13c (diff)
downloaddfhack-3402a3cd5d473d26c115145e19f4113db51e8435.tar.gz
dfhack-3402a3cd5d473d26c115145e19f4113db51e8435.tar.bz2
dfhack-3402a3cd5d473d26c115145e19f4113db51e8435.tar.xz
Fix a deadlock problem between suspend in (un)load, and onupdate.
Diffstat (limited to 'library/include')
-rw-r--r--library/include/PluginManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/include/PluginManager.h b/library/include/PluginManager.h
index 25b05ad4..38f0e2e5 100644
--- a/library/include/PluginManager.h
+++ b/library/include/PluginManager.h
@@ -128,7 +128,9 @@ namespace DFHack
{
PS_UNLOADED,
PS_LOADED,
- PS_BROKEN
+ PS_BROKEN,
+ PS_LOADING,
+ PS_UNLOADING
};
friend class PluginManager;
friend class RPCService;