This is the thread rolling process to screw spikes. This will give threads to the shank.
Source: www.rail-fastening.com via rail-fastening on Social Social Social