Junio C Hamano wrote: >Another thing we might want to consider to make this logic much more >simpler would be to move everything out of child_handler(), except the >write() whose sole purpose is to allow us break out of the poll(). As a general rule, keep the work done in a signal handler down to the bare minimum (like setting an integer flag, and perhaps unblocking the main thread through a write to this signallingpipe). -- Sincerely, Stephen R. van den Berg. A truly wise man never plays leapfrog with a unicorn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html