Threshold dynamics in hyperbolic partial differential equations