<div dir="ltr">Hi.<div><br><div>I'm developing an external that starts a separate pthread to poll some hardware inputs. When the outputs change, I need to send a message like [34 56( to one of two outlets in the external from my thread. </div>

<div><br></div><div>Do I need to use my own mutex? or the sys_lock(), sys_unlock() calls around the outlet_whatever() calls? or nothing at all, just call outlet_whatever()?</div><div><br></div><div>Anyone cares to give a two line explanation of the logic around this?</div>

<div><br></div><div>Thanks!</div><div><div><br></div>-- <br><div dir="ltr"><div>Rafael Vega<br></div><a href="mailto:email.rafa@gmail.com" target="_blank">email.rafa@gmail.com</a></div>
</div></div></div>