r20700: In the main processing loop we select() on the fam socket. If it fires, it
authorVolker Lendecke <vlendec@samba.org>
Fri, 12 Jan 2007 09:29:44 +0000 (09:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:04 +0000 (12:17 -0500)
commit7a915ec3a61b74b07564d93112a3fbc87970c48d
tree9cbb7ea9764957dc79d607ae490c1f1cf947e5c6
parent93433501021bf6df00df3135992ed021385cfce6
r20700: In the main processing loop we select() on the fam socket. If it fires, it
might be possible that we hang in the receive_smb() although that socket is
not the reason for the select() to return.

This immediately reacts to the fam socket to become readable, and goes into
the select loop again. This fixes delays in files showing up in Windows.

Jeremy, James please review this and merge to 3_0_24 if appropriate.

Thanks,

Volker
(This used to be commit c846153b2ed2f9aca82491888e391ccbe239e88a)
source3/smbd/process.c