On Mon, Apr 06, 2015 at 12:28:22AM +0800, Ming Lei wrote: > Another simpler way is to make lo_refcnt as atomic_t and remove > lo_ctrl_mutext in lo_open(), and freeze request queue during clearing > fd, and better to freeze queue during setting fd too, so will update in > v1 with this way.
Using an atomic_t sounds good to me. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Nbd-general mailing list Nbd-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nbd-general