he became aware , in his dream , of his erection in real life , a rigid , pounding , monstrous thing as painful in its hardness as the erections he 'd had as a boy , when he was crashing into puberty .