From 90351e1167a3bf21c2378306b68f560601e8415f Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Tue, 11 Jun 2013 17:30:47 +0200 Subject: erts: Add the +sfwi system flag +sfwi Interval Set scheduler forced wakeup interval. All run queues will be scanned each Interval milliseconds. While there are sleeping schedulers in the system, one scheduler will be woken for each non-empty run queue found. An Interval of zero disables this feature, which also is the default. This feature has been introduced as a temporary workaround for lengthy executing native code, and native code that do not bump reductions properly in OTP. When these bugs have be fixed the +sfwi flag will be removed. Conflicts: erts/doc/src/erl.xml erts/etc/common/erlexec.c --- erts/etc/common/erlexec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'erts/etc') diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c index 52add1c1ba..c4bdc4ee4b 100644 --- a/erts/etc/common/erlexec.c +++ b/erts/etc/common/erlexec.c @@ -124,6 +124,9 @@ static char *pluss_val_switches[] = { "bwt", "cl", "ct", + "fwi", + "tbt", + "wct", "wt", "ws", "ss", -- cgit v1.2.3