add pthread attribute handle