.
D 2011-06-28T13:54:57
J icomment OK.\sIn\sfact,\sas\sKonstantin\sKhomoutov\smentioned\son\sthe\schat,\sthe\serror-resetting\sis\sdocumented,\sand\shence\snot\sso\skernel-dependent:\n\n\s\s\s\s\s\s\sSO_ERROR\n\s\s\s\s\s\s\s\s\s\s\s\s\s\sGet\sand\sclear\sthe\spending\ssocket\serror.\s\sOnly\svalid\sas\sa\sgetsockopt(2).\s\sExpects\san\sinteger.\n\nWhat\s*is*\skernel\sdependent,\sinstead,\sis\sthe\ssecondary\sside-effect\sof\sclearing\sthe\swritable\sstatus.\n\nSo,\sit\sseems\sthe\sway\sout\sis\sto\sarrange\sfor\sthe\scached\swritable-fileevents\sto\sbe\sposted\sdirectly,\swithout\sgoing\sagain\sthrough\sthe\snotifier's\sselect().\sOther\sfileevents\s(readable)\smust\sstill\sbe\shooked\snormally,\ssince\sat\sthat\sspot\swe\shave\sno\sproof\sthat\sthe\ssocket\sis/was\sreadable.\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3325339fffffffffffffffffffffffffffffffff
U ferrieux
Z caeae0dab3bc9c71e10b6bc6ab469573