Sha256: ab4a283725a25cc6e20dd8c66899a5080aa00c690b295313bfd273ba516795da
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
// -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright 2019 The Mesh Authors. All rights reserved. // Use of this source code is governed by the Apache License, // Version 2.0, that can be found in the LICENSE file. #include <pthread.h> #include <signal.h> #ifdef __linux__ #include <sys/epoll.h> #endif #pragma once #ifndef MESH_REAL_H #define MESH_REAL_H #define DECLARE_REAL(name) extern decltype(::name) *name namespace mesh { namespace real { void init(); #ifdef __linux__ DECLARE_REAL(epoll_pwait); DECLARE_REAL(epoll_wait); #endif DECLARE_REAL(pthread_create); DECLARE_REAL(pthread_exit); DECLARE_REAL(sigaction); DECLARE_REAL(sigprocmask); } // namespace real } // namespace mesh #endif // MESH_REAL_H
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mesh-rb-0.0.1 | ext/mesh/mesh/src/real.h |