gcc/libgo/runtime/go-gomaxprocs.c

16 lines
462 B
C

/* 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)))
{
}