Function pthread_attr_setdetachstate

fn pthread_attr_setdetachstate()

See the module comment.