Add more PULSE instrumentation -> more deadlocks

This commit is contained in:
Scott Lystig Fritchie 2015-07-16 16:25:38 +09:00
parent 73ac220d75
commit f2fc5b91c2
6 changed files with 21 additions and 1 deletions

View file

@ -118,6 +118,7 @@
-endif.
-ifdef(PULSE).
-compile({parse_transform, pulse_instrument}).
-include_lib("pulse_otp/include/pulse_otp.hrl").
-endif.
-include_lib("eunit/include/eunit.hrl").

View file

@ -45,6 +45,11 @@
-include("machi_pb.hrl").
-include("machi_projection.hrl").
-ifdef(PULSE).
-compile({parse_transform, pulse_instrument}).
-include_lib("pulse_otp/include/pulse_otp.hrl").
-endif.
-define(HARD_TIMEOUT, 2500).
-export([

View file

@ -26,6 +26,11 @@
-include("machi_pb.hrl").
-include("machi_projection.hrl").
-ifdef(PULSE).
-compile({parse_transform, pulse_instrument}).
-include_lib("pulse_otp/include/pulse_otp.hrl").
-endif.
-export([from_pb_request/1,
from_pb_response/1,
to_pb_request/2,

View file

@ -42,6 +42,11 @@
-include("machi_projection.hrl").
-ifdef(PULSE).
-compile({parse_transform, pulse_instrument}).
-include_lib("pulse_otp/include/pulse_otp.hrl").
-endif.
%% API
-export([
start_link/3,

View file

@ -47,6 +47,10 @@
-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
-ifdef(PULSE).
-compile({parse_transform, pulse_instrument}).
-include_lib("pulse_otp/include/pulse_otp.hrl").
-endif.
-endif. % TEST.
-export([start_link/1]).

View file

@ -469,8 +469,8 @@ shutdown_hard() ->
exec_ticks(Num, All_listE) ->
Parent = self(),
Pids = [spawn_link(fun() ->
%% ?V("tick-~w,", [self()]),
[begin
erlang:yield(),
M_name = P#p_srvr.name,
%% Max = 10,
Max = 25,