summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-gomaxprocs.c
blob: 04dc448b85490ad41be0b75a033dd9e9605de6a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)))
{
}