aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cgo/gcc_libinit_linux_ppc64x.c
blob: 147872a7bf2e22ca3d1cefbfa9611ebc2d970b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2015 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.

// +build cgo

// TODO: see issue #10410
// +build linux
// +build ppc64 ppc64le

#include <stdio.h>
#include <stdlib.h>

void
x_cgo_sys_thread_create(void* (*func)(void*), void* arg) {
	fprintf(stderr, "x_cgo_sys_thread_create not implemented");
	abort();
}

void
_cgo_wait_runtime_init_done() {
	// TODO(spetrovic): implement this method.
}

void
x_cgo_notify_runtime_init_done(void* dummy) {
	// TODO(spetrovic): implement this method.
}