repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
poly_int: get_mask_mode
[official-gcc.git]
/
libgo
/
runtime
/
getncpu-aix.c
blob
064eed8570cdf3533b4f1c8adf236709d90d63a6
1
// Copyright 2012 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
5
#include <sys/types.h>
6
#include <sys/systemcfg.h>
7
8
#include
"runtime.h"
9
#include
"defs.h"
10
11
int32_t
12
getproccount
(
void
)
13
{
14
return
_system_configuration
.
ncpus
;
15
}