From f963e41c52a3ad7acdfbea6eb42a61f7c66e56d1 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Thu, 24 Mar 2022 12:45:07 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c5ebb09..3a79004 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ timeout-interrupt ================= -Works like ruby's timeout, but interrupts every call, also syscalls, which blocks the hole ruby-process. +Works like ruby's timeout, but interrupts *every call*, also syscalls, which blocks the hole ruby-process. It uses POSIX's alarm and traps ALRM-signals. -Known limitations bacause of alarm and ALRM are, that you can not use alarm or trap ALRM. +Known limitations bacause of alarm and ALRM are, that you can not use alarm or trap ALRM in the same time. + Scopes ====== @@ -23,27 +24,30 @@ If you want to know, which was raised, you need custom exceptions: class CustomErrorWillBeRaised