Knock, knock. Race condition.

Q: Knock, knock.
A: Who's t-
Q: Race condition.

This joke relies on the listener knowing how a normal knock knock joke goes, as well as to know what a race condition is.

Normally knock knock jokes begin "Q: Knock knock, A: Who's there?", but this joke unexpectedly circumvents that standard form and has the joke teller cut off the listener mid sentence. There is another joke that does this (which I have already explained) about an interrupting cow.

The reason why this makes sense is that a race condition is when multiple things are happening at one time in a computer, and they will have different results based on when they occur relative to each other. The programmer either has to fix it to guarantee that they happen in the right order, or perhaps might just hope that they come out in the right order.

So, the critical element of this joke is that it circumvents the standard Knock knock joke form.


  1. It is pretty tough to have a knock knock joke as an abstraction for a race condition.

    A better form may be to have 2 people be the joke tellers in near harmony but one end with the "Race Condition" as the final output, overwhelming the others answer.

    1. True, it is hard to accurately represent a race condition as a joke, however, I don't think that this joke is all that bad - it is possible that multiple different processes can try to access the same resource at the same time concurrently and result in a race condition.

      It is less common, but still a non zero chance


Post a Comment


unexpected trump meme bar knock knock Christmas programming definitional bad dad talking animals anti-humor failed expectation irony political lie airplane dark black elephant language literal onomatopoeia Biden deconstruction disability math ambiguous grammar rude self denigrating false assumption garden path misfortune occupation slapstick canadian internet explorer knowledge mass culture physics illogical put-down racist surprise toilet humor animal bathroom humor contradiction english funny punchlineless sarcastic setupless shaggy dog stupid alcoholic aptronym black humor board game body humor cat covid-19 death depression dog famous person hyperbole impulse control insinuation juxtaposition lazy long meta nationalist one-liner photoshopped pop culture sad but true speech problems stealth surprised pikachu swearing unstated Halloween Karen Lord of the Rings archetype breaking behavior dissonance blonde cheese chicken circular confirmation coronavirus dated deliberate dissonance fake punchline fat fish hypocrite implied punchline inappropriate joke light-bulb mispronounce monday mondegreen obama obscure old pessimism pirate plumber portmanteau prank call repetitive self referential spelling star wars stereotype suspended disbelief talking food technology troll untellable violence weird whiplash work your mother 2020 Disney Pavlov Perl accent accident adage advertisement allusion ambush anakin skywalker anti-pun audience participation bald bash beat panel biology blunt booger call and response chemistry clown context covid current events date defeatist delusion difference divorce doge drug drunk duck electrician emo escalation evil cat face bomb faces false dichotomy fantasy fear fickle forgetful fourth wall breaking garbage man generational gesture ghost gif gorillas greedy harry potter hippie historical history idiom immature implication insultnsult jargon lettuce library linguistic macabre made up words media mental disorder mental illness mexico mistake name name-calling nazi numbers pain paradox pedantic petty phrase subversion pokemon poker face pretentious prison protests punctuation purple prose rap reverse rhyme roll safe science sickness spanish spiderman spoonerism straight man subversion suicide surreal swear talking objects thinker true twisted tea typo unpronounceable vegan visual who would win winter work humor written only wrong zoo
Show more

More jokes