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