Skip to content

Commit

Permalink
Add spec for epcap:timeout/0
Browse files Browse the repository at this point in the history
  • Loading branch information
ates committed Aug 14, 2015
1 parent 7ab63e6 commit ce895e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/epcap.erl
Expand Up @@ -225,6 +225,7 @@ cpu_affinity(Options) ->
"taskset -c " ++ CPUs
end.

-spec timeout() -> 0 | 500.
timeout() ->
case os:type() of
{unix, linux} -> 0;
Expand Down

0 comments on commit ce895e4

Please sign in to comment.