Packages

The Phi Programming Language

Current section

Files

Jump to
phi lib Control Process Proxy.erl
Raw

lib/Control/Process/Proxy.erl

%%---------------------------------------------------------------------------
%% |
%% Module : Proxy
%% Copyright : (c) 2020-2021 EMQ Technologies Co., Ltd.
%% License : BSD-style (see the LICENSE file)
%%
%% Maintainer : Feng Lee, feng@emqx.io
%% Yang M, yangm@emqx.io
%% Stability : experimental
%% Portability : portable
%%
%% The Process Proxy FFI.
%%
%%---------------------------------------------------------------------------
-module('Proxy').
-include("../../Foreign.hrl").
-export([wakeup/1]).
wakeup(Fun) -> ?RunIO(Fun).