Commit b69aa23470ce18d0f69d3a4f986aa555daf34637

Con Kolivas 2011-12-26T10:49:27

Use control_lock to protect thr->pth for thread creation/destruction.