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

Doc fixes.

parent cb971b59
......@@ -585,8 +585,7 @@ const (
More = Status(C.vsl_more + 1)
// Stopped indicates that the read handler has returned false,
// to stop log reads, or that the read goroutine was stopped
// by Log.Release().
// to stop log reads.
Stopped = More + 1
)
......@@ -663,9 +662,8 @@ type ReadHandler func([]Tx, Status) bool
//
// If you use your own implementation of an EOLHandler, it is strongly
// recommended to pause for a brief time (for example with
// Time.sleep). Otherwise, the goroutine can become a busy-wait loop
// while there are no new log transactions, with heavy CPU
// consumption.
// Time.sleep). Otherwise, Read can become a busy-wait loop while
// there are no new log transactions, with heavy CPU consumption.
//
// 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
......
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