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