summaryrefslogtreecommitdiff
path: root/libgo/go/sync/xadd_test.go
blob: 8b2ef76e6baa339405e860b04ca68ed418f81e67 (plain)
1
2
3
4
5
6
7
8
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)
}