
For cases where you want to create and immediately start a thread, the Linux kernel has the kthread_run() API. Create a QDF wrapper for kthread_run() as well as companion APIs for waiting for a thread to exit and one to check if the current thread should exit. Change-Id: Ia4e107010fc400f764661a9b36aceea970841ade CRs-Fixed: 2270827