simulate one-way traffic

simulate one-way traffic, a simple example of muti-thread, just for
learn