this post was submitted on 06 Oct 2026
488 points (97.7% liked)

Programmer Humor

43824 readers
156 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 7 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Trioxin@lemmygrad.ml 5 points 2 weeks ago

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.