Python GIL vs CAS

Chris Angelico rosuav at gmail.com
Thu Feb 15 09:35:00 EST 2018


On Thu, Feb 15, 2018 at 2:40 PM, Oleg Korsak
<kamikaze.is.waiting.you at gmail.com> wrote:
> Hi. While hearing about GIL every time... is there any real reason why CAS
> doesn't help to solve this problem?
>
> https://en.wikipedia.org/wiki/Compare-and-swap

Because the GIL is not a problem. It's a feature. Before you ask about
solutions, you need to clarify what you are calling a problem :)

ChrisA



More information about the Python-list mailing list