gvisor/pkg/amutex
Jamie Liu 8dd1d5b75a Don't call kernel.Task.Block() from netstack.SocketOperations.Write().
kernel.Task.Block() requires that the caller is running on the task goroutine.
netstack.SocketOperations.Write() uses kernel.TaskFromContext() to call
kernel.Task.Block() even if it's not running on the task goroutine. Stop doing
that.

PiperOrigin-RevId: 311178335
2020-05-12 12:26:05 -07:00
..
BUILD Don't call kernel.Task.Block() from netstack.SocketOperations.Write(). 2020-05-12 12:26:05 -07:00
amutex.go Don't call kernel.Task.Block() from netstack.SocketOperations.Write(). 2020-05-12 12:26:05 -07:00
amutex_test.go New sync package. 2020-01-09 22:02:24 -08:00