What are the most used Racket libraries, applications and languages?
I’ll admit I’m guilty of going whole releases without installing anything
because the distribution has so much included.
If you reply with what you have installed I’ll tally it up!
Stephen
I’m also doing this on
https://racket
Hi DominicThanks very much for your prompt reply.Your response works very well.I didn’t know there is a distinction between semaphores and fsemaphores.You have helped me a lot.Thanks again, Jos From: Dominik PantůčekSent: viernes, 12 de noviembre de 2021 18:59To: racket-users@googlegroups.comSubj
Hi,
you are looking for make-fsempahore[1] and related:
===
#lang racket
(define sema (make-fsemaphore 1))
(define (make-th i)
(λ ()
(let loop ((a 0))
(when (zero? (modulo a #e1e6))
(fsemaphore-wait sema)
"do what you have to do without disturbing other futures"
(fsemaphore-post
Hi The following runs 100% of my CPU, but when I uncomment the when-clause nothing happens (0% CPU)(processor-count) yields 8 on my PC. #lang racket (define sema (make-semaphore 1)) (define (make-th i) (λ () (let loop ((a 0)) #;(when (zero? (modulo a #e1e6)) (semaphore-wait sema) "do what yo
An alternative answer to the implied question: "How do I learn the core of
the language-oriented features of Racket?"
Check out Beautiful Racket: https://beautifulracket.com
- Dan
On Fri, Nov 12, 2021 at 2:03 PM Philip McGrath
wrote:
> On Thu, Nov 11, 2021 at 9:20 PM Yushuo Xiao wrote:
>
>
5 matches
Mail list logo