Sentence:  He would remain in the tent , waiting <WSD>impatiently</WSD> , occupied by some trivial task . 
Meaning of the word marked with <WSD> tags:  with impatience; in an impatient manner