<div dir="ltr">Alex,<div><br></div><div>Just realized what you mean by systick. This may help.</div><div><br></div><div><a href="https://stackoverflow.com/questions/156330/get-timer-ticks-in-python">https://stackoverflow.com/questions/156330/get-timer-ticks-in-python</a><br></div><div><br></div><div>Carl</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 2:56 PM, Alex Davis <span dir="ltr"><<a href="mailto:alexd@matrixwide.com" target="_blank">alexd@matrixwide.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><span class=""><div><br><blockquote type="cite"><div>On Nov 14, 2017, at 2:49 PM, Carl Nobile <<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a>> wrote:</div><br class="m_-6489578266264342908Apple-interchange-newline"><div><div dir="ltr">Alex,<div><br></div><div>If you want Python threading to work with multiple processors it won't work because of the GIL (Global Interpreter Log) in Python. It is generally better to use processes than threading.</div><div><br></div><div>With that said both threading and processes are not very difficult in Python and if running on a Linux OS the speed will be about the same.</div><div><br></div><div>The python docs for both  are:</div><div><a href="https://docs.python.org/3.6/library/threading.html" target="_blank">https://docs.python.org/3.6/<wbr>library/threading.html</a><br></div><div><a href="https://docs.python.org/3.6/library/multiprocessing.html" target="_blank">https://docs.python.org/3.6/<wbr>library/multiprocessing.html</a><br></div><div><br></div><div>Both of these methods follow a similar paradigm.</div><div><br></div><div>The docs above have examples. In general, if you have Python question consult the docs they are very well written and complete.</div><div><br></div><div>At the top of the screen, you can flip to Python 2.7.x.</div><div><br></div></div></div></blockquote><br></div></span><div>Thanks! Looks like processes will work. I don’t see anything like a systick, so I’ll just poll in each process.</div><span class=""><br><div>
<div style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_-6489578266264342908Apple-interchange-newline">|\ |  (¯  \/ |¯\  |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯   /¯  /\ |V|</div><div style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">|-||_ (_  /\ |_/ @| | |-| |  | \ | /\ |^| | |_/ (_ . \_  \/ | |</div><br style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="color:rgb(0,0,0);font-family:Monaco;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
</div>
<br></span></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>-------------------------------------------------------------------------------</div>
</div>