Some quick implementations of single thread pipes