aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/chan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/chan.h')
-rw-r--r--src/pkg/runtime/chan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/chan.h b/src/pkg/runtime/chan.h
index 52eb20099d..a439fa7c9a 100644
--- a/src/pkg/runtime/chan.h
+++ b/src/pkg/runtime/chan.h
@@ -26,7 +26,7 @@ struct Hchan
uintgo recvx; // receive index
WaitQ recvq; // list of recv waiters
WaitQ sendq; // list of send waiters
- Lock lock;
+ Mutex lock;
};
// Buffer follows Hchan immediately in memory.