This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, vstinner
Date 2015-03-18.09:47:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426672039.32.0.262518702664.issue23648@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2015-03-18 09:47:19vstinnersetrecipients: + vstinner, neologix
2015-03-18 09:47:19vstinnersetmessageid: <1426672039.32.0.262518702664.issue23648@psf.upfronthosting.co.za>
2015-03-18 09:47:19vstinnerlinkissue23648 messages
2015-03-18 09:47:18vstinnercreate