<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Yuriy Zisin</title>
	<atom:link href="http://www.yzisin.com/blog/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.yzisin.com/blog</link>
	<description>Development as a lifestyle</description>
	<lastBuildDate>Sun, 28 Mar 2010 15:16:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Application semaphores using MySQL by Yuriy Zisin</title>
		<link>http://www.yzisin.com/blog/?p=9&#038;cpage=1#comment-139</link>
		<dc:creator>Yuriy Zisin</dc:creator>
		<pubDate>Sun, 28 Mar 2010 15:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.yzisin.com/blog/?p=9#comment-139</guid>
		<description>Yes, I wrote it from my personal experience. I usually use it in cronjobs to guarantee that I run only single script instance.</description>
		<content:encoded><![CDATA[<p>Yes, I wrote it from my personal experience. I usually use it in cronjobs to guarantee that I run only single script instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Application semaphores using MySQL by youngie</title>
		<link>http://www.yzisin.com/blog/?p=9&#038;cpage=1#comment-134</link>
		<dc:creator>youngie</dc:creator>
		<pubDate>Sat, 13 Mar 2010 10:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.yzisin.com/blog/?p=9#comment-134</guid>
		<description>You have tested it and writing form your personal experience or you find some information online?</description>
		<content:encoded><![CDATA[<p>You have tested it and writing form your personal experience or you find some information online?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Application semaphores using MySQL by Yuriy Zisin</title>
		<link>http://www.yzisin.com/blog/?p=9&#038;cpage=1#comment-50</link>
		<dc:creator>Yuriy Zisin</dc:creator>
		<pubDate>Thu, 20 Aug 2009 08:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.yzisin.com/blog/?p=9#comment-50</guid>
		<description>Agree, but the next paragraph on the same page tells:
&gt;&gt;&gt;

This function can be used to implement application locks or to simulate record locks. Names are locked on a server-wide basis. If a name has been locked by one client, GET_LOCK() blocks any request by another client for a lock with the same name. This allows clients that agree on a given lock name to use the name to perform cooperative advisory locking.

&lt;&lt;&lt;

I have successfully used it in cronjobs to prevent multiple job instances running at the same time.

I added a notice. Thank you for warning.</description>
		<content:encoded><![CDATA[<p>Agree, but the next paragraph on the same page tells:<br />
>>></p>
<p>This function can be used to implement application locks or to simulate record locks. Names are locked on a server-wide basis. If a name has been locked by one client, GET_LOCK() blocks any request by another client for a lock with the same name. This allows clients that agree on a given lock name to use the name to perform cooperative advisory locking.</p>
<p><<<</p>
<p>I have successfully used it in cronjobs to prevent multiple job instances running at the same time.</p>
<p>I added a notice. Thank you for warning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Application semaphores using MySQL by D</title>
		<link>http://www.yzisin.com/blog/?p=9&#038;cpage=1#comment-49</link>
		<dc:creator>D</dc:creator>
		<pubDate>Thu, 20 Aug 2009 03:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.yzisin.com/blog/?p=9#comment-49</guid>
		<description># GET_LOCK will fail if a lock with specified name already set and script can stop; -no it will not. what makes you to be 100% sure...

from http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock:
*If you have a lock obtained with GET_LOCK(), it is released when you execute RELEASE_LOCK(), !!!!execute a new GET_LOCK()!!!!, or your connection terminates (either normally or abnormally).</description>
		<content:encoded><![CDATA[<p># GET_LOCK will fail if a lock with specified name already set and script can stop; -no it will not. what makes you to be 100% sure&#8230;</p>
<p>from <a href="http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock</a>:<br />
*If you have a lock obtained with GET_LOCK(), it is released when you execute RELEASE_LOCK(), !!!!execute a new GET_LOCK()!!!!, or your connection terminates (either normally or abnormally).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
