change more linux thread code, remove more linux seq_file deps