aboutsummaryrefslogtreecommitdiff
path: root/src/internal/poll/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/poll/export_test.go')
-rw-r--r--src/internal/poll/export_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/internal/poll/export_test.go b/src/internal/poll/export_test.go
index 02664d9ea3..66d7c3274b 100644
--- a/src/internal/poll/export_test.go
+++ b/src/internal/poll/export_test.go
@@ -10,26 +10,26 @@ package poll
var Consume = consume
-type FDMutex struct {
+type XFDMutex struct {
fdMutex
}
-func (mu *FDMutex) Incref() bool {
+func (mu *XFDMutex) Incref() bool {
return mu.incref()
}
-func (mu *FDMutex) IncrefAndClose() bool {
+func (mu *XFDMutex) IncrefAndClose() bool {
return mu.increfAndClose()
}
-func (mu *FDMutex) Decref() bool {
+func (mu *XFDMutex) Decref() bool {
return mu.decref()
}
-func (mu *FDMutex) RWLock(read bool) bool {
+func (mu *XFDMutex) RWLock(read bool) bool {
return mu.rwlock(read)
}
-func (mu *FDMutex) RWUnlock(read bool) bool {
+func (mu *XFDMutex) RWUnlock(read bool) bool {
return mu.rwunlock(read)
}