What was your technique for cutting the threads?

Did you do cut them on the lathe, or run a die?