diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-11 22:48:55 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-11 22:48:55 +0200 |
commit | 0958e167e89d2b3289c01905ebb8897e6bc86c43 (patch) | |
tree | 482062f5cdc11520ff0d0496e419524be01f1299 /MCServer/Plugins/APIDump/WebWorldThreads.html | |
parent | Merge pull request #2423 from cuberite/JsonCppCheck (diff) | |
download | cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.gz cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.bz2 cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.lz cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.xz cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.zst cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/WebWorldThreads.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/WebWorldThreads.html b/MCServer/Plugins/APIDump/WebWorldThreads.html index ee0b172e6..b6c5c34ca 100644 --- a/MCServer/Plugins/APIDump/WebWorldThreads.html +++ b/MCServer/Plugins/APIDump/WebWorldThreads.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <title>MCServer - Webserver vs World threads</title> + <title>Cuberite - Webserver vs World threads</title> <link rel="stylesheet" type="text/css" href="main.css" /> <link rel="stylesheet" type="text/css" href="prettify.css" /> <script src="prettify.js"></script> @@ -14,7 +14,7 @@ <p> This article will explain the threading issues that arise between the webserver and world threads are of concern to plugin authors.</p> <p> - Generally, plugins that provide webadmin pages should be quite careful about their interactions. Most operations on MCServer objects requires synchronization, that MCServer provides automatically and transparently to plugins - when a block is written, the chunkmap is locked, or when an entity is being manipulated, the entity list is locked. Each plugin also has a mutex lock, so that only one thread at a time may be executing plugin code.</p> + Generally, plugins that provide webadmin pages should be quite careful about their interactions. Most operations on Cuberite objects requires synchronization, that Cuberite provides automatically and transparently to plugins - when a block is written, the chunkmap is locked, or when an entity is being manipulated, the entity list is locked. Each plugin also has a mutex lock, so that only one thread at a time may be executing plugin code.</p> <p> This locking can be a source of deadlocks for plugins that are not written carefully.</p> |