Execute NIF calls on non-scheduler threads asynchronously #6

Merged
gburd merged 72 commits from gsb-async-nifs3 into master 2013-04-23 00:54:56 +00:00
Showing only changes of commit 17cfdcd04f - Show all commits

View file

@ -345,9 +345,9 @@ status(#state{status_cursor=Cursor}) ->
{ok, Stats} -> {ok, Stats} ->
Stats; Stats;
{error, {eperm, _}} -> % TODO: review/fix this logic {error, {eperm, _}} -> % TODO: review/fix this logic
[]; {ok, []};
_ -> _ ->
[] {ok, []}
end. end.
%% @doc Register an asynchronous callback %% @doc Register an asynchronous callback