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