Hi.
I have a question about alarm-evt.
Below is example code.
(module b racket
(define (f)
(sync/enable-break (handle-evt (alarm-evt (+ (current-inexact-milliseconds)
(random 500 1000 (current-pseudo-random-generator))))
(lambda (a) (f)))))
(for ([i 200])
(thread (lambda () (f)))))
With my i7-6700 cpu, when it was on windows 10, cpu load was about 4%, but when it was on ubuntu 23.04, cpu load was about 40%.
Did i do something wrong?
Thanks for reading.