Message238393
I found a way to get a list of functions which can fail with EINTR: search for TEMP_FAILURE_RETRY in the source code of the glibc. TEMP_FAILURE_RETRY:
https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html#Interrupted-Primitives
Following functions are called with TEMP_FAILURE_RETRY (in glibc code, doc and examples):
- accept, send, sendfile, sendmsg, accept4, connect, sendto, recvmsg
- write, writev, read, readv, pwrite
- fdatasync, fsync
- waitpid
- select, poll
- mq_send, mq_timedsend, mq_receive, mq_timedreceive
- clock_nanosleep, timer_settime, nanosleep
- posix_fallocate
- sem_wait, sem_timedwait, sem_trywait
- aio_suspend
- fcntl(F_SETLK) |
|
Date |
User |
Action |
Args |
2015-03-18 09:47:19 | vstinner | set | recipients:
+ vstinner, neologix |
2015-03-18 09:47:19 | vstinner | set | messageid: <1426672039.32.0.262518702664.issue23648@psf.upfronthosting.co.za> |
2015-03-18 09:47:19 | vstinner | link | issue23648 messages |
2015-03-18 09:47:18 | vstinner | create | |
|