Bumping reductions manually will not be supported in future releases of the

BEAM and has dubious value anyway.  Remove that and ignore queue depth for
now.
This commit is contained in:
Gregory Burd 2013-04-02 09:37:49 -04:00
parent 609676917d
commit 254891e776

View file

@ -25,8 +25,7 @@
begin
NIFRef = erlang:make_ref(),
case erlang:apply(Fun, [NIFRef|Args]) of
{ok, {enqueued, QDepth}} ->
[erlang:bump_reductions(10 * QDepth) || is_integer(QDepth), QDepth > 100],
{ok, {enqueued, _QDepth}} ->
receive
{NIFRef, {error, shutdown}=Error} ->
%% Work unit was queued, but not executed.