{"blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2","blog_url":"https://dk521123.hatenablog.com/","provider_url":"https://hatena.blog","height":"190","categories":["Java\u30fb\u30b9\u30ec\u30c3\u30c9 / \u30bf\u30a4\u30de\u30fc"],"title":"\u3010Java\u3011\u3010\u975e\u540c\u671f\u3011 ReentrantLock \uff5e \u6392\u4ed6\u5236\u5fa1 \uff5e","image_url":null,"author_name":"dk521123","type":"rich","url":"https://dk521123.hatenablog.com/entry/34254262","provider_name":"Hatena Blog","version":"1.0","description":"ReentrantLock * \u30ed\u30c3\u30af\u3092\u5236\u5fa1\u3067\u304d\u308b\u3002 \u69cb\u6587 final Lock lock = new ReentrantLock(); // \u30ed\u30c3\u30af\u3059\u308b lock.lock(); try { // \u51e6\u7406 } finally { // \u30ed\u30c3\u30af\u3092\u89e3\u653e\u3002 lock.unlock(); } \u53c2\u8003\u6587\u732e \u4ed5\u69d8 https://docs.oracle.com/javase/jp/6/api/java/util/concurrent/locks/ReentrantLock.html \u4e00\u822c\u30b5\u30a4\u30c8 http://d.hatena.ne.jp/unageanu/20070419/1176959204 http:/\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F34254262\" title=\"\u3010Java\u3011\u3010\u975e\u540c\u671f\u3011 ReentrantLock \uff5e \u6392\u4ed6\u5236\u5fa1 \uff5e - \u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","published":"2014-11-17 22:51:39","author_url":"https://blog.hatena.ne.jp/dk521123/"}