diff options
Diffstat (limited to 'libgo/go/sync/xadd_test.go')
-rw-r--r-- | libgo/go/sync/xadd_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgo/go/sync/xadd_test.go b/libgo/go/sync/xadd_test.go new file mode 100644 index 00000000000..8b2ef76e6ba --- /dev/null +++ b/libgo/go/sync/xadd_test.go @@ -0,0 +1,9 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package sync + +func Xadd(val *uint32, delta int32) (new uint32) { + return xadd(val, delta) +} |