<?xml version="1.0"?>
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
<sgpem>
  <resources>
    <resource name="$ 1" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
    <resource name="$ 5" id="reskey1" arrival-time="0" how-many="1" pre-emptible="false"/>
    <resource name="$ 10" id="reskey2" arrival-time="0" how-many="1" pre-emptible="false"/>
    <resource name="$ 50" id="reskey3" arrival-time="0" how-many="1" pre-emptible="false"/>
  </resources>
  <schedulables>
    <process name="Donald Duck" priority="0" arrival-time="0">
      <threads>
        <thread name="go for a walk" priority="3" arrival-delta="0" lasts-for="6">
          <requests/>
        </thread>
        <thread name="collect money" priority="0" arrival-delta="4" lasts-for="3">
          <requests>
            <request arrival-time="0">
              <subrequest resource="2" lasts-for="3"/>
            </request>
            <request arrival-time="1">
              <subrequest resource="1" lasts-for="2"/>
            </request>
            <request arrival-time="2">
              <subrequest resource="3" lasts-for="1"/>
            </request>
          </requests>
        </thread>
      </threads>
    </process>
    <process name="Uncle Scrooge" priority="0" arrival-time="1">
      <threads>
        <thread name="go for a walk" priority="3" arrival-delta="0" lasts-for="6">
          <requests/>
        </thread>
        <thread name="collect money" priority="0" arrival-delta="3" lasts-for="1">
          <requests>
            <request arrival-time="0">
              <subrequest resource="0" lasts-for="1"/>
            </request>
            <request arrival-time="0">
              <subrequest resource="1" lasts-for="1"/>
            </request>
            <request arrival-time="0">
              <subrequest resource="2" lasts-for="1"/>
            </request>
            <request arrival-time="0">
              <subrequest resource="3" lasts-for="1"/>
            </request>
          </requests>
        </thread>
      </threads>
    </process>
  </schedulables>
</sgpem>
