minus-squareTrioxin@lemmygrad.mltoProgrammer Humor@lemmy.ml•When you run out of Claude tokenslinkfedilinkarrow-up5·2 days agoWell, yes… While the GIL restricts execution to only a single thread, CPython makes threads take turns on it without regard for your code - so a thread can give the lock up to another in the middle of a critical section. linkfedilink
Well, yes… While the GIL restricts execution to only a single thread, CPython makes threads take turns on it without regard for your code - so a thread can give the lock up to another in the middle of a critical section.