The person is wrapping a piece of yarn around a peg to hold it in place.