Commit 7fd59f69 authored by Geoff Simmons's avatar Geoff Simmons

Doc fixes.

parent cb971b59
...@@ -585,8 +585,7 @@ const ( ...@@ -585,8 +585,7 @@ const (
More = Status(C.vsl_more + 1) More = Status(C.vsl_more + 1)
// Stopped indicates that the read handler has returned false, // Stopped indicates that the read handler has returned false,
// to stop log reads, or that the read goroutine was stopped // to stop log reads.
// by Log.Release().
Stopped = More + 1 Stopped = More + 1
) )
...@@ -663,9 +662,8 @@ type ReadHandler func([]Tx, Status) bool ...@@ -663,9 +662,8 @@ type ReadHandler func([]Tx, Status) bool
// //
// If you use your own implementation of an EOLHandler, it is strongly // If you use your own implementation of an EOLHandler, it is strongly
// recommended to pause for a brief time (for example with // recommended to pause for a brief time (for example with
// Time.sleep). Otherwise, the goroutine can become a busy-wait loop // Time.sleep). Otherwise, Read can become a busy-wait loop while
// while there are no new log transactions, with heavy CPU // there are no new log transactions, with heavy CPU consumption.
// consumption.
// //
// If the Log is reading from a binary log file, then there is never // If the Log is reading from a binary log file, then there is never
// an end-of-log condition -- the log read ends with status EOF. So no // an end-of-log condition -- the log read ends with status EOF. So no
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment