<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4345066302652424538.post6735373188641884561..comments</id><updated>2010-12-29T14:58:35.202+01:00</updated><category term='Personal'/><category term='Python'/><category term='This blog'/><category term='Development'/><category term='DSNP'/><category term='Internet'/><category term='Django'/><category term='IT'/><category term='Applications'/><category term='Django-i18n'/><category term='Systems'/><category term='Google'/><category term='Google App Engine'/><category term='Offtopic'/><title type='text'>Comments on The Python &amp;amp; Marc Garcia: Restrict multiple simultaneos executions of a Pyth...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vaig.be/feeds/6735373188641884561/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4345066302652424538/6735373188641884561/comments/default'/><link rel='alternate' type='text/html' href='http://vaig.be/2009/03/restrict-multiple-simultaneos.html'/><author><name>Marc Garcia</name><uri>http://www.blogger.com/profile/01286849404527531329</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4345066302652424538.post-3056176344736224619</id><published>2010-12-29T14:58:35.202+01:00</published><updated>2010-12-29T14:58:35.202+01:00</updated><title type='text'>Since the check and lock part of the code is not a...</title><content type='html'>Since the check and lock part of the code is not atomic, I think there&amp;#39;s a very small chance that if you run two programs, both might end up starting. Is there a way to create a lock atomically?&lt;br /&gt;Hmm, just came across this - http://stackoverflow.com/questions/489861/locking-a-file-in-python</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4345066302652424538/6735373188641884561/comments/default/3056176344736224619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4345066302652424538/6735373188641884561/comments/default/3056176344736224619'/><link rel='alternate' type='text/html' href='http://vaig.be/2009/03/restrict-multiple-simultaneos.html?showComment=1293631115202#c3056176344736224619' title=''/><author><name>lmwangi</name><uri>http://www.blogger.com/profile/01711702719887683798</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://vaig.be/2009/03/restrict-multiple-simultaneos.html' ref='tag:blogger.com,1999:blog-4345066302652424538.post-6735373188641884561' source='http://www.blogger.com/feeds/4345066302652424538/posts/default/6735373188641884561' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-776561541'/></entry></feed>
