2016-10-07 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / libgo / runtime / thread-sema.c
blobb74b1dab1123beb5c638a6602bee3f01569cbfe7
1 // Copyright 2009 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.
5 #include "config.h"
6 #include "runtime.h"
8 #include <errno.h>
9 #include <stdlib.h>
10 #include <time.h>
11 #include <semaphore.h>
13 void
14 runtime_osinit (void)
16 runtime_ncpu = getproccount();
19 void
20 runtime_goenvs (void)
22 runtime_goenvs_unix ();