Commit 85df1e40 authored by Kirill Smelkov's avatar Kirill Smelkov

sync: Fixup package documentation

- indicated that WorkGroup is not provided in Go version (amends
  40f3b90c "sync: Provide package documentation").
- fix typo in sync.pxd subject (amends 34b7a1f4 "golang: Expose Sema and
  Mutex as public Python and Cython/nogil API")
parent 45f4df9e
......@@ -17,7 +17,7 @@
#
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
"""Package sync mirrors Go package time.
"""Package sync mirrors Go package sync.
See _sync.pxd for package documentation.
"""
......
......@@ -19,12 +19,14 @@
# See https://www.nexedi.com/licensing for rationale and options.
"""Package sync mirrors and amends Go package sync.
- `WorkGroup` allows to spawn group of goroutines working on a common task.
- `WorkGroup` allows to spawn group of goroutines working on a common task(*).
- `Once` allows to execute an action only once.
- `WaitGroup` allows to wait for a collection of tasks to finish.
- `Sema` and `Mutex` provide low-level synchronization.
See also https://golang.org/pkg/sync for Go sync package documentation.
(*) not provided in Go version.
"""
from __future__ import print_function, absolute_import
......
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