equal
deleted
inserted
replaced
33 the ready queue to the working set queue if all current sessions in the working |
33 the ready queue to the working set queue if all current sessions in the working |
34 set queue are blocked and there are less than eight sessions in it. This is |
34 set queue are blocked and there are less than eight sessions in it. This is |
35 anchored in the <codeph>DMMCStack::iWorkSet</codeph> private member. </p> </li> |
35 anchored in the <codeph>DMMCStack::iWorkSet</codeph> private member. </p> </li> |
36 </ul> <p>All three queues are circular queues as implemented using the internal |
36 </ul> <p>All three queues are circular queues as implemented using the internal |
37 Symbian platform class <codeph>TMMCSessionRing</codeph>. </p> <fig id="GUID-E8B1FA7F-1759-52BC-A9D8-80FF7E39FE51"> |
37 Symbian platform class <codeph>TMMCSessionRing</codeph>. </p> <fig id="GUID-E8B1FA7F-1759-52BC-A9D8-80FF7E39FE51"> |
38 <image href="GUID-B30D6027-EB0F-578F-9B2F-AFC2DFD27E39_d0e393768_href.png" placement="inline"/> |
38 <image href="GUID-B30D6027-EB0F-578F-9B2F-AFC2DFD27E39_d0e399621_href.png" placement="inline"/> |
39 </fig> </section> |
39 </fig> </section> |
40 <section id="GUID-FF74AAF0-D1F6-59A7-A859-B73DF946C92F"><title>The scheduler</title> <p>Every |
40 <section id="GUID-FF74AAF0-D1F6-59A7-A859-B73DF946C92F"><title>The scheduler</title> <p>Every |
41 time one of the following events occurs, the MultiMediaCard stack invokes |
41 time one of the following events occurs, the MultiMediaCard stack invokes |
42 its scheduler to deal with that event: </p> <ul> |
42 its scheduler to deal with that event: </p> <ul> |
43 <li id="GUID-06C336CB-581E-59A3-96BA-D9C4BD43154E"><p>a client submitting |
43 <li id="GUID-06C336CB-581E-59A3-96BA-D9C4BD43154E"><p>a client submitting |
66 passed to that function. </p> <p>Internally, the <codeph>DMMCSession::iBlockOn</codeph> private |
66 passed to that function. </p> <p>Internally, the <codeph>DMMCSession::iBlockOn</codeph> private |
67 data member is set when a session is blocked. This is a bit-mask variable |
67 data member is set when a session is blocked. This is a bit-mask variable |
68 containing the reason that the session is blocked. </p></section> |
68 containing the reason that the session is blocked. </p></section> |
69 <section id="GUID-E0D63F8B-D4BC-48E5-8601-D1B0FCFB1644"><title>Scheduler algorithm</title><p>The |
69 <section id="GUID-E0D63F8B-D4BC-48E5-8601-D1B0FCFB1644"><title>Scheduler algorithm</title><p>The |
70 following flow-diagram shows the algorithm used by the scheduler. </p> <fig id="GUID-78F3CD78-61F3-5DD8-8D0D-9D5251D11158"> |
70 following flow-diagram shows the algorithm used by the scheduler. </p> <fig id="GUID-78F3CD78-61F3-5DD8-8D0D-9D5251D11158"> |
71 <image href="GUID-AA53650C-664C-53F0-8BE9-445677FC1FE2_d0e393841_href.png" placement="inline"/> |
71 <image href="GUID-AA53650C-664C-53F0-8BE9-445677FC1FE2_d0e399694_href.png" placement="inline"/> |
72 </fig> <p>The <xref href="GUID-B5193656-9819-3E00-A335-EEF1726115A5.dita"><apiname>DMMCStack</apiname></xref> private members referenced in this |
72 </fig> <p>The <xref href="GUID-B5193656-9819-3E00-A335-EEF1726115A5.dita"><apiname>DMMCStack</apiname></xref> private members referenced in this |
73 diagram have the following meaning: </p> <table id="GUID-E1F971E8-949B-527B-B0EC-8D21BBB0EDE0"> |
73 diagram have the following meaning: </p> <table id="GUID-E1F971E8-949B-527B-B0EC-8D21BBB0EDE0"> |
74 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
74 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
75 <tbody> |
75 <tbody> |
76 <row> |
76 <row> |