github.com/peggyl/go@v0.0.0-20151008231540-ae315999c2d5/src/runtime/cgo/gcc_libinit_linux_ppc64x.c (about)

     1  // Copyright 2015 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  // TODO: see issue #10410
     6  // +build linux
     7  // +build ppc64 ppc64le
     8  
     9  #include <stdio.h>
    10  #include <stdlib.h>
    11  
    12  void
    13  x_cgo_sys_thread_create(void* (*func)(void*), void* arg) {
    14  	fprintf(stderr, "x_cgo_sys_thread_create not implemented");
    15  	abort();
    16  }
    17  
    18  void
    19  _cgo_wait_runtime_init_done() {
    20  	// TODO(spetrovic): implement this method.
    21  }
    22  
    23  void
    24  x_cgo_notify_runtime_init_done(void* dummy) {
    25  	// TODO(spetrovic): implement this method.
    26  }