add pthread startup logic in main, and logic to split srcmac data into each threads