Mode-locking hysteresis in the globally coupled model of charge-density waves.