From ce895e460d9d22036ae3c7122af8b73c292f7709 Mon Sep 17 00:00:00 2001 From: Artem Teslenko Date: Fri, 14 Aug 2015 12:57:05 +0300 Subject: [PATCH] Add spec for epcap:timeout/0 --- src/epcap.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/epcap.erl b/src/epcap.erl index f450263..0be47a8 100644 --- a/src/epcap.erl +++ b/src/epcap.erl @@ -225,6 +225,7 @@ cpu_affinity(Options) -> "taskset -c " ++ CPUs end. +-spec timeout() -> 0 | 500. timeout() -> case os:type() of {unix, linux} -> 0;