2. It means that someone is about to get beat down,annihilated, torn up, have their ass handed to them on a silver platter, taken to the woodshed, spanked, whipped, they are gunna get a lickin', have their hide tanned, get switched, their in for a hurtin', etc..
EX: Momma told me if I did that again she'd gimme a whoopin' that I'd never forget! Then she said she'd slap me so hard that my kids would be dizzy. I ain't messen witt dat candy dish noooooooooo more!