<p>To test, run the included unit tests. Also test it on OpenWRT, make sure the node retains connectivity as expected.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/commotiond scheduler</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/commotiond/pull/56'>https://github.com/opentechinstitute/commotiond/pull/56</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>added scheduler functionality</li>
  <li>added unit tests for scheduler</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/56/files#diff-0">CMakeLists.txt</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/56/files#diff-1">src/CMakeLists.txt</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/56/files#diff-2">src/loop.c</a>
    (172)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/56/files#diff-3">src/loop.h</a>
    (36)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/56/files#diff-4">test/CMakeLists.txt</a>
    (47)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/56/files#diff-5">test/scheduler.cpp</a>
    (134)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/56.patch'>https://github.com/opentechinstitute/commotiond/pull/56.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/56.diff'>https://github.com/opentechinstitute/commotiond/pull/56.diff</a></li>
</ul>