...

Text file src/runtime/cgo/libcgo_unix.h

Documentation: runtime/cgo

     1// Copyright 2016 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#include <pthread.h>
     6
     7/*
     8 * Call pthread_create, retrying on EAGAIN.
     9 */
    10extern int _cgo_try_pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*);
    11
    12extern void* threadentry(void*);

View as plain text