Stochastic processes and reliability