[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops
From: |
felix . winkelmann |
Subject: |
Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops |
Date: |
Wed, 28 Aug 2019 19:15:38 +0200 |
> Unfortunatly it did not fixed the bug to add -disable-interrupts. I still
> have this class of bug spawning here and there with different instances and
> different slots.
>
> Is there a way I could protect slot access from race conditions directly in
> my code so that I identify the bug ?
>
I fear you will have to implement some form of locking inside coops.
It's crude, but may be helpful to figure out the location of the problem.
I can provide a patch, if you are willing to wait a little - I should be
able to come up with something tomorrow.
felix
- [Chicken-users] Obscure bug with srfi-18, mailbox and coops, Théo Cavignac, 2019/08/28
- [Chicken-users] Obscure bug with srfi-18, mailbox and coops, Théo Cavignac, 2019/08/28
- Message not available
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops, Théo Cavignac, 2019/08/28
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops, Théo Cavignac, 2019/08/28
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops, megane, 2019/08/28
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops, Théo Cavignac, 2019/08/28
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops, felix . winkelmann, 2019/08/28
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops, felix . winkelmann, 2019/08/28
- Message not available
- Re: [Chicken-users] Obscure bug with srfi-18, mailbox and coops,
felix . winkelmann <=