Commit f0ac6e45 authored by Kirill Smelkov's avatar Kirill Smelkov

libgolang: Small cosmetics

- Fix references to time::sleep and _tasknanosleep in library overview.
- add golang::time:: comment before openeing corresponding namespace.
parent 9c795ca7
......@@ -38,8 +38,8 @@
// - `go` spawns new task.
// - `chan<T>`, and `select` provide channels with Go semantic and automatic
// lifetime management.
// - `sleep` pauses current task.
// - `panic` throws exception that represent C-level panic.
// - `time::sleep` pauses current task.
//
// For example:
//
......@@ -71,7 +71,7 @@
// - `_chanxincref` and `_chanxdecref` manage channel lifetime.
// - `_chansend` and `_chanrecv` send/receive over raw channel.
// - `_chanselect`, `_selsend`, `_selrecv`, ... provide raw select functionality.
// - `tasknanosleep` pauses current task.
// - `_tasknanosleep` pauses current task.
//
//
// Runtimes
......@@ -390,6 +390,7 @@ int select(const _selcase (&casev)[N]) {
}
// golang::time::
namespace time {
// sleep pauses current goroutine for at least dt seconds.
......
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