Complete specs for threaded environment detection.