Re: [racket-users] Re: rackunit and logging

2020-05-24 Thread David Storrs
On Sat, May 23, 2020 at 9:54 AM Shriram Krishnamurthi wrote: > Thank you all! > > *Dave*, the documentation style is fine, it's sometimes easier to read > the doc right next to the implementation. (-: > > However, I'm not quite sure how even your example works. Maybe someone can > check my

[racket-users] local variables are hyperlinked in scribble/manual

2020-05-24 Thread Jos Koot
Hi, I have: #lang scribble/manual @(require (for-label racket) scribble/eval) @interaction[ (let ((set 1)) (add1 set))] I prepare a HTML document with DrRacket (in Windows 10). Works, but local variable set is hyperlinked to procedure set in the documents (racket/set). I would like this

Re: [racket-users] Hunting a possible fsemaphore-post/wait bug

2020-05-24 Thread Alexis King
I realized a little while after writing my previous message that I was probably misinterpreting you. I was envisioning you using box-cas! on a box containing a functional queue, so there would be no need to synchronize. You’d just pull the queue out of the box, functionally update it, and use

Re: [racket-users] Hunting a possible fsemaphore-post/wait bug

2020-05-24 Thread Alexis King
> On May 24, 2020, at 02:10, Dominik Pantůček > wrote: > > At first I was surprised that you are basically suggesting using > spinlocks (busy-wait loops) instead of futex-backed (at least on Linux) > fsemaphores. That is a waste of CPU time. Performing CAS operations in a loop isn’t really

Re: [racket-users] Hunting a possible fsemaphore-post/wait bug

2020-05-24 Thread Dominik Pantůček
On 24. 05. 20 3:38, Matthew Flatt wrote: > At Sat, 23 May 2020 18:51:23 +0200, Dominik Pantůček wrote: >> But that is just where the issue is showing up. The real question is how >> the counter gets decremented twice (given that fsemaphores should be >> futures-safe). > > I found a