Tricky fix. If we were waiting for an oplock break response message from
authorJeremy Allison <jra@samba.org>
Tue, 21 May 2002 20:52:30 +0000 (20:52 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 21 May 2002 20:52:30 +0000 (20:52 +0000)
commit3bb26957e3e7fb5059d21115546d189eaca34646
tree9826f75f323fdc0e8dd62ba2b6ad1124be915b0c
parent5b3b65aafe38e767e9b7206ffe6d7c89edb267ba
Tricky fix. If we were waiting for an oplock break response message from
another smbd and an incoming SIGUSR1 message arrived we'd break out of
the wait early - as we have to use sys_select() to wait for an oplock
response message, not sys_select_intr() (which ignores EINTR errors)
because of the real time signal kernel interface.
Jeremy.
source/smbd/oplock.c