I read below sentence.
I found it a strain having to concentrate for so long.
I guess this sentence means 'I got pressure that I can't give all my attention for long hours'.
My question is why there is 'having'? Does it imply 'have to concentrate'(indicating meaning of obligation) or 'have concentrated'(indicating present perfect)?