<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[linux进程运行一段时间就处于休眠态了？]]></title>
 <link><![CDATA[http://121.40.142.80/read.php?tid=11504]]></link>
 <description><![CDATA[Latest 20 replies of linux进程运行一段时间就处于休眠态了？]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Mon, 27 Jul 2026 22:43:30 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://121.40.142.80]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[好像是锁的问题


先申请两个锁 A,B

A加锁&nbsp;&nbsp;（pthread_mutex_lock）
&nbsp;&nbsp; B加锁
&nbsp;&nbsp; B解锁
&nbsp;&nbsp; B加锁
&nbsp;&nbsp; B解锁
&nbsp;&nbsp; B加锁
&nbsp;&nbsp; B解锁
A解锁&nbsp;&nbsp;（pthread_mutex_unlock）


这种用法在X86、ARM11平台运行没有什么问题，在ARM9平台上就出问题了。 ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=11504#75672]]></link>
 <author><![CDATA[ljt8015]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Mon, 18 Apr 2011 03:44:36 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第1楼hacker于2011-04-16 00:28发表的&nbsp;&nbsp;:
程序死锁了吧
[/quote]


我读写都加了锁的，如果是死锁的话，读的进程也会挂掉，现在读的进程是好的呢！~]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=11504#75412]]></link>
 <author><![CDATA[ljt8015]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Sun, 17 Apr 2011 06:00:58 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[程序死锁了吧]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=11504#75027]]></link>
 <author><![CDATA[hacker]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 15 Apr 2011 16:28:45 +0000]]></pubdate>
</item>
</channel></rss>