A first passage problem and its applications to the analysis of a class of stochastic models. (1992)