compile with pthread param
make static_deflate as thread function
create two threads and join them. Add new struct io