view libtommath/mess.sh @ 929:9d40ed1da686

Experiment of always writing data if available. Might waste a writev() with EAGAIN but always saves a select() - needs testing with bandwidth-limited and CPU-limited situations.
author Matt Johnston <matt@ucc.asn.au>
date Sat, 15 Mar 2014 11:37:02 +0800
parents 5ff8218bcee9
children
line wrap: on
line source

#!/bin/bash
if cvs log $1 >/dev/null 2>/dev/null; then exit 0; else echo "$1 shouldn't be here" ; exit 1; fi