Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bugfix to the calculation of runnable procs/ports.

  • Loading branch information...
commit 9bef803e95784dc5a7b9dfacf5b5153defc4c7aa 1 parent 476694f
@huiqing huiqing authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/percept2_db.erl
View
2  src/percept2_db.erl
@@ -767,7 +767,7 @@ consolidate_runnability_loop(Tab, Key, RunnableStates) ->
NewRunnableStates when is_port(Id)->
Rc = get_runnable_count(ports, State),
ets:update_element(Tab, Key, {#activity.runnable_count,
- {get({runnable, ports}), Rc}}),
+ {get({runnable, procs}), Rc}}),
consolidate_runnability_loop(Tab, ets:next(Tab, Key), NewRunnableStates);
NewRunnableStates when is_tuple(Id) andalso element(1, Id)==pid->
Rc = get_runnable_count(procs, State),
Please sign in to comment.
Something went wrong with that request. Please try again.