Joists are de-nailed and re-sawn to rough floorboard thicknesses. Then the boards go through a planer and moulder to plane all four sides and adding a tongue to one side and a groove to the other. After this process the floorboards are out through a belt sander to make sure the top surface is smooth and ready to lay.
eBay