Volker, For more efficiency we could use ffsl() and two bit mask integers to find pending signals. We'd need to add ffsl() to lib/replace. Note sure if its worth it though. We don't get signals often enough to save those few nanoseconds I think. Cheers, Tridge