my os threading code to experiment with OS threading