System call wrappers should only throw thread_interrupted on EINTR if the thread interruption flag is set.
System call wrappers should only throw thread_interrupted on EINTR if the thread interruption flag is set.

This avoids erroneously treating non-interruption-caused EINTR signals
to as interruption requests.

cgvarela/passenger,jawj/passenger,jawj/passenger,kewaunited/passenger,antek-drzewiecki/passenger,pkmiec/passenger,phusion/passenger,pkmiec/passenger,antek-drzewiecki/passenger,clemensg/passenger,bf4/passenger,antek-drzewiecki/passenger,bf4/passenger,cgvarela/passenger,bf4/passenger,phusion/passenger,jawj/passenger,phusion/passenger,kewaunited/passenger,clemensg/passenger,jawj/passenger,pkmiec/passenger,antek-drzewiecki/passenger,phusion/passenger,clemensg/passenger,bf4/passenger,kewaunited/passenger,pkmiec/passenger,phusion/passenger,clemensg/passenger,clemensg/passenger,antek-drzewiecki/passenger,pkmiec/passenger,kewaunited/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,kewaunited/passenger,cgvarela/passenger,kewaunited/passenger,bf4/passenger,jawj/passenger,jawj/passenger,phusion/passenger,cgvarela/passenger,cgvarela/passenger,jawj/passenger,kewaunited/passenger,clemensg/passenger,clemensg/passenger,cgvarela/passenger,bf4/passenger,antek-drzewiecki/passenger,pkmiec/passenger,cgvarela/passenger,phusion/passenger,clemensg/passenger,kewaunited/passenger,pkmiec/passenger,phusion/passenger,cgvarela/passenger,bf4/passenger