1
0
mirror of https://github.com/golang/go synced 2024-11-12 03:00:22 -07:00

io: document that i/o is not necessarily safe for parallel access.

Updates #1599.

R=golang-dev, adg, dsymonds
CC=golang-dev
https://golang.org/cl/5704052
This commit is contained in:
Rob Pike 2012-02-29 13:30:08 +11:00
parent 5fea39d0b4
commit ee149d9a6b

View File

@ -6,6 +6,10 @@
// Its primary job is to wrap existing implementations of such primitives, // Its primary job is to wrap existing implementations of such primitives,
// such as those in package os, into shared public interfaces that // such as those in package os, into shared public interfaces that
// abstract the functionality, plus some other related primitives. // abstract the functionality, plus some other related primitives.
//
// Because these interfaces and primitives wrap lower-level operations with
// various implementations, unless otherwise informed clients should not
// assume they are safe for parallel execution.
package io package io
import ( import (