The threshold for the resonant destabilisation of ion-temperature-gradient (ITG) driven instabilities that render the modes ubiquitous in both tokamaks and stellarators is investigated. We discover remarkably similar results for both confinement concepts if care is taken in the analysis of the effect of the global shearŝ. We revisit, analytically and by means of gyrokinetic simulations, accepted tokamak results and discover inadequacies of some aspects of their theoretical interpretation. In particular, for standard tokamak configurations, we find that global shear effects on the critical gradient cannot be attributed to the wave-particle resonance destabilising mechanism of Hahm & Tang (Phys. Plasmas, vol. 1, 1989, pp. 1185-1192, but are consistent with a stabilising contribution predicted by Biglari et al. (Phys. Plasmas, vol. 1, 1989, pp. 109-118). Extensive analytical and numerical investigations show that virtually no previous tokamak theoretical predictions capture the temperature dependence of the mode frequency at marginality, thus leading to incorrect instability thresholds. In the asymptotic limitŝι 1, where ι is the rotational transform, and such a threshold should be solely determined by the resonant toroidal branch of the ITG mode, we discover a family of unstable solutions below the previously known threshold of instability. This is true for a tokamak case described by a localŝ − α local equilibrium, and for the stellarator Wendelstein 7-X, where these unstable solutions are present even for configurations with a small trapped-particle population. We conjecture they are of the Floquet type and derive their properties from the Fourier analysis of toroidal drift modes of Connor & Taylor (Phys. Fluids, vol. 30, 1987, pp. 3180-3185), and to Hill's theory of the motion of the lunar perigee (Acta Math., vol. 8, 1886, pp. 1-36). The temperature dependence of the newly determined threshold is given for both confinement concepts. In the first case, the new temperature-gradient threshold is found to be rather insensitive to the temperature ratio T i /T e , at least for T i /T e 1, and to be a growing function of the density gradient scale for T i /T e 1. For Wendelstein 7-X, the new critical temperature gradient is a growing function of the temperature ratio. The importance of these findings for the assessment of turbulence in stellarators and low-shear tokamak configurations is discussed.