<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Working on Thaimeo Blog</title><link>https://blog.thaimeo.info/tag/working/</link><description>Recent content in Working on Thaimeo Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 30 Jun 2009 02:33:33 +0000</lastBuildDate><atom:link href="https://blog.thaimeo.info/tag/working/index.xml" rel="self" type="application/rss+xml"/><item><title>To do</title><link>https://blog.thaimeo.info/2009/06/30/to-do/</link><pubDate>Tue, 30 Jun 2009 02:33:33 +0000</pubDate><guid>https://blog.thaimeo.info/2009/06/30/to-do/</guid><description>&amp;lt;?php $fp = fopen(“/tmp/lock.txt”, “w+”); if (flock($fp, LOCK_EX)) { // do an exclusive lock fwrite($fp, “Write something heren”); flock($fp, LOCK_UN); // release the lock } else { echo “Couldn’t lock the file !”; } fclose($fp); ?&amp;gt; http://us3.php.net/flock read – write Berkeley DB Response handling in response.c</description></item></channel></rss>