<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">> so one from the new millenium: locking a network ressource (e.g. an<br clear="none">gigabit IP-camera that saturates the the network once it's told to start<br clear="none"><div id="yui_3_16_0_1_1453245019169_3579">delivering frames).</div><div id="yui_3_16_0_1_1453245019169_3580"><br></div><div id="yui_3_16_0_1_1453245019169_3581">What happens currently if you click <ctrl-c> in the terminal on a Pd <br></div><div id="yui_3_16_0_1_1453245019169_3649" dir="ltr">instance that's using that network resource?</div><div id="yui_3_16_0_1_1453245019169_3582" dir="ltr"><br></div><div id="yui_3_16_0_1_1453245019169_3583" dir="ltr">Is LB_PANIC a public interface (having an external and/or pd class interface)? <br></div><div id="yui_3_16_0_1_1453245019169_3584" dir="ltr">Or is it a private interface that Pd would use to call free methods?</div><div id="yui_3_16_0_1_1453245019169_3585" dir="ltr"><br></div><div id="yui_3_16_0_1_1453245019169_3927" dir="ltr">Is there a deep reason to have it named "panic" which clashes with its meaning <br></div><div id="yui_3_16_0_1_1453245019169_3928" dir="ltr">in Linux?</div><div id="yui_3_16_0_1_1453245019169_3972" dir="ltr"><br></div><div id="yui_3_16_0_1_1453245019169_4025" dir="ltr">> I don't have any examples to<br clear="none">> hand, except a rather lame one: sending an all-notes-off message to some MIDI<br clear="none">> output.</div><div id="yui_3_16_0_1_1453245019169_7243" dir="ltr"><br></div><div id="yui_3_16_0_1_1453245019169_7294" dir="ltr">A naive question-- suppose I have a [foo] external in my patch and click <ctrl-c>.</div><div id="yui_3_16_0_1_1453245019169_7295" dir="ltr">If LB_PANIC calls foo_free, and I have a blocking call there to free up <br></div><div id="yui_3_16_0_1_1453245019169_7296" dir="ltr">resources for libborksalot.so, what happens?  If that resource just hangs, is <br></div><div id="yui_3_16_0_1_1453245019169_7376" dir="ltr">my terminal likewise now hanging, unresponsive?<br> </div><div id="yui_3_16_0_1_1453245019169_7297"><br></div><div id="yui_3_16_0_1_1453245019169_3930" dir="ltr">-Jonathan<br></div><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Tuesday, January 19, 2016 3:52 PM, IOhannes m zmoelnig <zmoelnig@iem.at> wrote:<br></font></div>  <br><br> <div class="y_msg_container">On 2016-01-19 20:59, Miller Puckette wrote:<br clear="none">> Sort of.  I think it's a bad idea to go through and close all the windows<br clear="none">> (sometimes closing a window takes time) - but just send objects a message<br clear="none">> in case they need to get off some resource. <br clear="none"><br clear="none">i'm not really interesting about "closing windows".<br clear="none">what i do want is to call the "free" method of each object though<br clear="none">(assuming that those objects are written properly to free any open<br clear="none">ressources in their destructor).<br clear="none"><br clear="none"><br clear="none">> I don't have any examples to<br clear="none">> hand, except a rather lame one: sending an all-notes-off message to some MIDI<br clear="none">> output.<br clear="none"><br clear="none">so one from the new millenium: locking a network ressource (e.g. an<br clear="none">gigabit IP-camera that saturates the the network once it's told to start<br clear="none">delivering frames).<br clear="none"><br clear="none">fgamsd<div class="yqt4563485067" id="yqtfd59951"><br clear="none">IOhannes<br clear="none"></div><br><div class="yqt4563485067" id="yqtfd48146">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>