@@ -152,7 +152,7 @@ check_maybe_execute_task(_Config) ->
152152 true = ? TM :init (Limits ),
153153 Ets_Table = ets :new (check_maybe_execute_task , [public , named_table ]),
154154
155- try
155+ _ = try
156156 % % Over max should refuse to run...
157157 {max_pids , 0 } = ? TM :maybe_execute_task (Overmax_Type , ets , insert_new , [Ets_Table , {joe , 5 }]),
158158 erlang :yield (),
@@ -228,7 +228,7 @@ check_maybe_execute_pid_link(_Config) ->
228228
229229 % % When inline, update our process dictionary...
230230 Old_Joe = erase (joe ),
231- try
231+ _ = try
232232 {max_pids , 0 } = ? TM :maybe_execute_pid_link (Overmax_Type , erlang , put , [joe , 5 ]),
233233 erlang :yield (),
234234 undefined = get (joe ),
@@ -245,7 +245,7 @@ check_maybe_execute_pid_link(_Config) ->
245245 % % When spawned, it affects a new process dictionary, not ours.
246246 Self = self (),
247247 Old_Joe = erase (joe ),
248- try
248+ _ = try
249249 undefined = get (joe ),
250250 New_Pid = ? TM :maybe_execute_pid_link (Spawn_Type , ? MODULE , put_pdict , [joe , 5 ]),
251251 false = (New_Pid =:= Self ),
@@ -274,7 +274,7 @@ check_execute_pid_monitor(_Config) ->
274274
275275 % % When inline, update our process dictionary...
276276 Old_Joe = erase (joe ),
277- try
277+ _ = try
278278 {inline , undefined } = ? TM :execute_pid_monitor (Inline_Type , erlang , put , [joe , 5 ]),
279279 5 = get (joe ),
280280 {inline , 5 } = ? TM :execute_pid_monitor (Inline_Type , erlang , put , [joe , 7 ]),
@@ -285,7 +285,7 @@ check_execute_pid_monitor(_Config) ->
285285 % % When spawned, it affects a new process dictionary, not ours.
286286 Self = self (),
287287 Old_Joe = erase (joe ),
288- try
288+ _ = try
289289 undefined = get (joe ),
290290 {New_Pid , _Monitor_Ref } = ? TM :execute_pid_monitor (Spawn_Type , ? MODULE , put_pdict , [joe , 5 ]),
291291 false = (New_Pid =:= self ()),
@@ -309,7 +309,7 @@ check_maybe_execute_pid_monitor(_Config) ->
309309
310310 % % When inline, update our process dictionary...
311311 Old_Joe = erase (joe ),
312- try
312+ _ = try
313313 {max_pids , 0 } = ? TM :maybe_execute_pid_monitor (Overmax_Type , erlang , put , [joe , 5 ]),
314314 erlang :yield (),
315315 undefined = get (joe ),
@@ -326,7 +326,7 @@ check_maybe_execute_pid_monitor(_Config) ->
326326 % % When spawned, it affects a new process dictionary, not ours.
327327 Self = self (),
328328 Old_Joe = erase (joe ),
329- try
329+ _ = try
330330 undefined = get (joe ),
331331 {New_Pid , _Monitor_Ref } = ? TM :maybe_execute_pid_monitor (Spawn_Type , ? MODULE , put_pdict , [joe , 5 ]),
332332 false = (New_Pid =:= Self ),
@@ -386,10 +386,10 @@ get_pdict() ->
386386
387387filter_pdict () -> [{K , V } || {{cxy_ctl , K }, V } <- get ()].
388388
389- -spec fetch_ages () -> proplists :proplist ().
389+ -spec fetch_ages () -> pdict_timeout | { get_dict , pid (), proplists :proplist ()} .
390390fetch_ages () -> get_pdict ().
391391
392- -spec fetch_ets_ages (any ()) -> proplists : proplist () .
392+ -spec fetch_ets_ages (atom () | ets : tid ()) -> ok .
393393fetch_ets_ages (Ets_Table ) ->
394394 Vals = [{K , V } || {{cxy_ctl , K }, V } <- get ()],
395395 ets :insert (Ets_Table , {results , Vals }),
@@ -407,7 +407,7 @@ check_copying_dict(_Config) ->
407407 put ({cxy_ctl , sam }, 7 ),
408408 Stable_Pre_Call_Dict = filter_pdict (),
409409
410- try
410+ _ = try
411411 Self = self (),
412412 Ets_Table = ets :new (execute_task , [public , named_table ]),
413413 Joe = ? TM :make_process_dictionary_default_value ({cxy_ctl , joe }, 8 ),
0 commit comments