summaryrefslogtreecommitdiff
path: root/source/nmbd/nmbd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-30 15:58:17 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-30 15:58:17 +0000
commita350a54680e4170e2adf571b010ea508e7291780 (patch)
treea4b8c726d26cae29c2b8cbea3e3fd14c1fcee351 /source/nmbd/nmbd.c
parent425ccf9271ea44879d0940b9d95ae9b8f95aa092 (diff)
downloadsamba-a350a54680e4170e2adf571b010ea508e7291780.tar.gz
finished the asynchronous browse synchronisation code. It even seems
to work (not a lot of testing yet though). Now we just need to deal with people worried about having more than two nmbd processes sometimes. (the async processes are created on demand for browse sync, so you'll only see more than 2 occasionally)
Diffstat (limited to 'source/nmbd/nmbd.c')
-rw-r--r--source/nmbd/nmbd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c
index 3bb2584eaf2..9210ce4dcf8 100644
--- a/source/nmbd/nmbd.c
+++ b/source/nmbd/nmbd.c
@@ -396,6 +396,16 @@ static void process(void)
* (nmbd_packets.c)
*/
retransmit_or_expire_response_records(t);
+
+ /*
+ * check to see if any remote browse sync child processes have completed
+ */
+ sync_check_completion();
+
+ /*
+ * regularly sync with any other DMBs we know about
+ */
+ sync_all_dmbs(t);
}
} /* process */