<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I don't believe SRP can support suspensions, since it could violate stack constraints.  To be honest, I haven't throughly reviewed the Litmus SRP implementation, so maybe this really isn't an issue and I can just use SRP as-is.<div><br></div><div>-Glenn<br><div><br></div><div><br><div><div>On Apr 25, 2012, at 2:30 PM, Björn Brandenburg wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Apr 25, 2012, at 8:21 PM, Glenn Elliott wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">I'd like to have an implementation of PCP (uniprocessor, for use with P-EDF).  Since SRP and PCP are so similar, I thought that I might be able to make a few changes to the SRP implementation to get PCP.  Is this true?  Björn, you've implemented PCP once or twice, haven't you?<br></span></blockquote><div><br></div><div>Yes. In fact, there's currently a port of the P-FP plugin with the PCP implementation to the main version in progress. It should be ready a few days.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">The reason why I want to use PCP instead of SRP is that resource-holding tasks in my system can self-suspend.  SRP doesn't support suspensions.</span></blockquote></div><br><div>Why wouldn't the SRP support self-suspensions? Is our implementation buggy? I vaguely recall fixing a bug related to the SRP and self-suspensions years ago.</div><div><br></div><div>- Björn</div><div><br></div></div>_______________________________________________<br>litmus-dev mailing list<br><a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>https://lists.litmus-rt.org/listinfo/litmus-dev<br></blockquote></div><br></div></div></body></html>