The term gunsmith thread derives back from the days when there was no industry standard.
When any thread was made it was by either that individual or company and liable to change with those subsequent parts, hence the term gunsmith thread meaning it could be anything. Many a time had to make a die to cut a male tap so that original female thread either cleaned up or deepened with extra thread. Some of the threads can be really crude as in filed in by eye forming a female thread in the part.
Quality manufacturers today still use a mix of BA, UNF and BSF.
Barrel threading unless specified is usually done a UNF pitch, though an ever increasing 1mm pitch is available good enough for .338 Lap with spigot behind.