[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [PATCH] Make Process>>queueInterrupt: thread safe
From: |
Gwenaël Casaccio |
Subject: |
[Help-smalltalk] [PATCH] Make Process>>queueInterrupt: thread safe |
Date: |
Sun, 30 Mar 2014 23:28:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Hi,
The current implementation is not thread safe, when I'm
inside Process>>queueInterrupt: the state of the process
can change. I've added a simple guard to make it safer.
Gwen
0001-kernel-Make-Process-queueInterrupt-atomic.patch
Description: Text Data
- [Help-smalltalk] [PATCH] Make Process>>queueInterrupt: thread safe,
Gwenaël Casaccio <=