OSDN Git Service

Release cache while holding thread lock.
[pf3gnuchains/gcc-fork.git] / libgo / runtime / go-gomaxprocs.c
1 /* go-gomaxprocs.c -- runtime.GOMAXPROCS.
2
3    Copyright 2009 The Go Authors. All rights reserved.
4    Use of this source code is governed by a BSD-style
5    license that can be found in the LICENSE file.  */
6
7 /* This is the runtime.GOMAXPROCS function.  This currently does
8    nothing, since each goroutine runs in a separate thread anyhow.  */
9
10 void GOMAXPROCS (int) asm ("libgo_runtime.runtime.GOMAXPROCS");
11
12 void
13 GOMAXPROCS (int n __attribute__ ((unused)))
14 {
15 }