<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic pthread_create创建sched_rr权限线程失败 in S32G</title>
    <link>https://community.nxp.com/t5/S32G/pthread-create%E5%88%9B%E5%BB%BAsched-rr%E6%9D%83%E9%99%90%E7%BA%BF%E7%A8%8B%E5%A4%B1%E8%B4%A5/m-p/1774289#M5541</link>
    <description>&lt;P&gt;我的linux应用程序在.service文件中的execstartpre使用"echo $$ &amp;gt; /sys/fs/cgroup/cpu,cpuacct/tasks"希望将自己的pid加入到cgroup文件中，使得程序自身的子线程A可以创建出另一个子线程B，线程B拥有sched_rr权限且sched_priority=1和PTHREAD_CREATE_JOINABLE，为什么这么做线程B有概率会创建失败，提示"&lt;STRIKE&gt;&lt;U&gt;Operation not permitted&lt;/U&gt;&lt;/STRIKE&gt;"&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 01:21:27 GMT</pubDate>
    <dc:creator>lcax200000</dc:creator>
    <dc:date>2023-12-14T01:21:27Z</dc:date>
    <item>
      <title>pthread_create创建sched_rr权限线程失败</title>
      <link>https://community.nxp.com/t5/S32G/pthread-create%E5%88%9B%E5%BB%BAsched-rr%E6%9D%83%E9%99%90%E7%BA%BF%E7%A8%8B%E5%A4%B1%E8%B4%A5/m-p/1774289#M5541</link>
      <description>&lt;P&gt;我的linux应用程序在.service文件中的execstartpre使用"echo $$ &amp;gt; /sys/fs/cgroup/cpu,cpuacct/tasks"希望将自己的pid加入到cgroup文件中，使得程序自身的子线程A可以创建出另一个子线程B，线程B拥有sched_rr权限且sched_priority=1和PTHREAD_CREATE_JOINABLE，为什么这么做线程B有概率会创建失败，提示"&lt;STRIKE&gt;&lt;U&gt;Operation not permitted&lt;/U&gt;&lt;/STRIKE&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 01:21:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/pthread-create%E5%88%9B%E5%BB%BAsched-rr%E6%9D%83%E9%99%90%E7%BA%BF%E7%A8%8B%E5%A4%B1%E8%B4%A5/m-p/1774289#M5541</guid>
      <dc:creator>lcax200000</dc:creator>
      <dc:date>2023-12-14T01:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: pthread_create创建sched_rr权限线程失败</title>
      <link>https://community.nxp.com/t5/S32G/pthread-create%E5%88%9B%E5%BB%BAsched-rr%E6%9D%83%E9%99%90%E7%BA%BF%E7%A8%8B%E5%A4%B1%E8%B4%A5/m-p/1775518#M5549</link>
      <description>&lt;P&gt;Hi dfds sdfds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this is kernel related&amp;nbsp;query. we suggest you please go kernel related Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Tushar&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 10:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/pthread-create%E5%88%9B%E5%BB%BAsched-rr%E6%9D%83%E9%99%90%E7%BA%BF%E7%A8%8B%E5%A4%B1%E8%B4%A5/m-p/1775518#M5549</guid>
      <dc:creator>nxf92355</dc:creator>
      <dc:date>2023-12-15T10:08:46Z</dc:date>
    </item>
  </channel>
</rss>

