Will a thread continue to run during stream playback?

I’m looking to implement threading in my video add-on and I was wondering if I create a thread will it continue to run during video playback or will it be paused until playback stops? The reason I ask is because I’m trying to figure out if I need to create a service or if I can avoid it.