CVS User Account cvsuser
Wed Jan 5 22:22:56 PST 2005
Log Message:
-----------
Additions and modifications to comments

Modified Files:
--------------
    slony1-engine/src/slon:
        sync_thread.c (r1.13 -> r1.14)

-------------- next part --------------
Index: sync_thread.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/sync_thread.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -Lsrc/slon/sync_thread.c -Lsrc/slon/sync_thread.c -u -w -r1.13 -r1.14
--- src/slon/sync_thread.c
+++ src/slon/sync_thread.c
@@ -1,7 +1,7 @@
 /*-------------------------------------------------------------------------
  * sync_thread.c
  *
- *	Implementation of the thread generating SYNC evens.
+ *	Implementation of the thread that generates SYNC events.
  *
  *	Copyright (c) 2003-2004, PostgreSQL Global Development Group
  *	Author: Jan Wieck, Afilias USA INC.
@@ -11,6 +11,9 @@
  */
 
 
+/* Note that in 1.1, generate_sync_event() is a stored procedure that
+   does roughly the same thing as this... */
+
 #include <pthread.h>
 
 #include <stdio.h>
@@ -107,7 +110,7 @@
 			break;
 		}
 		/*
-		 * Check if it's identical to the last know seq or if the
+		 * Check if it's identical to the last known seq or if the
 		 * sync interval timeout has arrived.
 		 */
 		if (sync_interval_timeout != 0)
@@ -184,3 +187,11 @@
 	slon_log(SLON_DEBUG1, "syncThread: thread done\n");
 	pthread_exit(NULL);
 }
+
+/*
+ * Local Variables:
+ *  tab-width: 4
+ *  c-indent-level: 4
+ *  c-basic-offset: 4
+ * End:
+ */


More information about the Slony1-commit mailing list