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


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

More jokes