while(nanosleep(&req,&req)==-1 && errno == EINTR)
continue;
or combine with clock_gettime() to control the sleep time more accurately.
Regards,
Paul
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных