提交 c4009062 authored 作者: Noel Grandin's avatar Noel Grandin

Fix race condition in FILE_LOCK=SOCKET, which could result in the watchdog thread not running

上级 2fe774a1
......@@ -21,6 +21,8 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul>
<li>Fix race condition in FILE_LOCK=SOCKET, which could result in the watchdog thread not running
</li>
<li>Experimental support for datatype TIMESTAMP WITH TIMEZONE
</li>
<li>Add support for ALTER TABLE ... RENAME CONSTRAINT .. TO ...
......
......@@ -439,6 +439,7 @@ public class FileLock implements Runnable {
return;
}
save();
locked = true;
watchdog = new Thread(this,
"H2 File Lock Watchdog (Socket) " + fileName);
watchdog.setDaemon(true);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论