diff options
Diffstat (limited to 'libgo/runtime/go-gomaxprocs.c')
-rw-r--r-- | libgo/runtime/go-gomaxprocs.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libgo/runtime/go-gomaxprocs.c b/libgo/runtime/go-gomaxprocs.c new file mode 100644 index 000000000..04dc448b8 --- /dev/null +++ b/libgo/runtime/go-gomaxprocs.c @@ -0,0 +1,15 @@ +/* go-gomaxprocs.c -- runtime.GOMAXPROCS. + + 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. */ + +/* This is the runtime.GOMAXPROCS function. This currently does + nothing, since each goroutine runs in a separate thread anyhow. */ + +void GOMAXPROCS (int) asm ("libgo_runtime.runtime.GOMAXPROCS"); + +void +GOMAXPROCS (int n __attribute__ ((unused))) +{ +} |