summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/WebWorldThreads.html
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-08-12 08:25:29 +0200
committerMattes D <github@xoft.cz>2015-08-12 08:25:29 +0200
commitd118550a5bdf761cc90ff722ff8dd7391df7285f (patch)
tree482062f5cdc11520ff0d0496e419524be01f1299 /MCServer/Plugins/APIDump/WebWorldThreads.html
parentMerge pull request #2423 from cuberite/JsonCppCheck (diff)
parentUpdated APIDump to follow the namechange (diff)
downloadcuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar
cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.gz
cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.bz2
cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.lz
cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.xz
cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.zst
cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/WebWorldThreads.html')
-rw-r--r--MCServer/Plugins/APIDump/WebWorldThreads.html4
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>