BeatTakeshi@lemmy.world to Programmer Humor@lemmy.ml · 2 days agoWhen you run out of Claude tokenslemmy.mlimagemessage-square41linkfedilinkarrow-up1483arrow-down113file-text
arrow-up1470arrow-down1imageWhen you run out of Claude tokenslemmy.mlBeatTakeshi@lemmy.world to Programmer Humor@lemmy.ml · 2 days agomessage-square41linkfedilinkfile-text
minus-squareTrioxin@lemmygrad.mllinkfedilinkarrow-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.
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.