Add pthread cases.