[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106358] [Ruby master Bug#18375] Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly.
From:
"zw963 (Wei Zheng)" <noreply@...>
Date:
2021-12-01 12:28:45 UTC
List:
ruby-core #106358
Issue #18375 has been reported by zw963 (Wei Zheng). ---------------------------------------- Bug #18375: Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly. https://bugs.ruby-lang.org/issues/18375 * Author: zw963 (Wei Zheng) * Status: Open * Priority: Normal * ruby -v: 3.0.3 * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- Following is a example for describe this issue. ```rb class DelayError < Exception end Timeout.timeout(2, DelayError) do |arg| puts 'start' sleep 10 rescue DelayError puts '*'*10 retry end ``` Will output ``` start ********** start ``` What i expected is: ``` start ********** start ********** start ********** ... ``` -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>