using boost::logic::tribool on selfpipe sample