aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sync/map.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sync/map.go b/src/sync/map.go
index f27450ce5..cd8a1967d 100644
--- a/src/sync/map.go
+++ b/src/sync/map.go
@@ -1,10 +1,12 @@
package sync
+import "internal/task"
+
// This file implements just enough of sync.Map to get packages to compile. It
// is no more efficient than a map with a lock.
type Map struct {
- lock Mutex
+ lock task.PMutex
m map[interface{}]interface{}
}