make gst_thread_get_current() work with threaded cothreads
make gst_thread_get_current() work with threaded cothreads

Original commit message from CVS:
make gst_thread_get_current() work with threaded cothreads

krichter722/gstreamer,surround-io/gstreamer,ensonic/gstreamer,Distrotech/gstreamer,magcius/gstreamer,mparis/gstreamer,cfoch/gstreamer,ylatuya/gstreamer,lubosz/gstreamer,jpakkane/gstreamer,centricular/gstreamer,centricular/gstreamer,ylatuya/gstreamer,StreamUtils/gstreamer,lovebug356/gstreamer,magcius/gstreamer,shelsonjava/gstreamer,justinjoy/gstreamer,jpxiong/gstreamer,Distrotech/gstreamer,Distrotech/gstreamer,mrchapp/gstreamer,mparis/gstreamer,cablelabs/gstreamer,lovebug356/gstreamer,magcius/gstreamer,surround-io/gstreamer,jpxiong/gstreamer,centricular/gstreamer,Lachann/gstreamer,mrchapp/gstreamer,krichter722/gstreamer,cablelabs/gstreamer,krieger-od/gstreamer,ylatuya/gstreamer,ylatuya/gstreamer,StreamUtils/gstreamer,krieger-od/gstreamer,Lachann/gstreamer,Lachann/gstreamer,ahmedammar/platform_external_gst_gstreamer,magcius/gstreamer,lubosz/gstreamer,ahmedammar/platform_external_gst_gstreamer,cablelabs/gstreamer,surround-io/gstreamer,krieger-od/gstreamer,ahmedammar/platform_external_gst_gstreamer,drothlis/gstreamer,jpxiong/gstreamer,justinjoy/gstreamer,shelsonjava/gstreamer,collects/gstreamer,cfoch/gstreamer,krichter722/gstreamer,collects/gstreamer,ensonic/gstreamer,cablelabs/gstreamer,krieger-od/gstreamer,ahmedammar/platform_external_gst_gstreamer,cfoch/gstreamer,StreamUtils/gstreamer,lovebug356/gstreamer,lubosz/gstreamer,surround-io/gstreamer,ahmedammar/platform_external_gst_gstreamer,jpxiong/gstreamer,krieger-od/gstreamer,Lachann/gstreamer,mparis/gstreamer,cfoch/gstreamer,mrchapp/gstreamer,collects/gstreamer,Lachann/gstreamer,mparis/gstreamer,surround-io/gstreamer,lovebug356/gstreamer,drothlis/gstreamer,shelsonjava/gstreamer,collects/gstreamer,centricular/gstreamer,cablelabs/gstreamer,collects/gstreamer,StreamUtils/gstreamer,shelsonjava/gstreamer,drothlis/gstreamer,lubosz/gstreamer,centricular/gstreamer,drothlis/gstreamer,jpakkane/gstreamer,ensonic/gstreamer,jpakkane/gstreamer,cfoch/gstreamer,Distrotech/gstreamer,justinjoy/gstreamer,jpakkane/gstreamer,ylatuya/gstreamer,mparis/gstreamer,Distrotech/gstreamer,StreamUtils/gstreamer,jpakkane/gstreamer,justinjoy/gstreamer,krichter722/gstreamer,mrchapp/gstreamer,justinjoy/gstreamer,lovebug356/gstreamer,krichter722/gstreamer,lubosz/gstreamer,ensonic/gstreamer,jpxiong/gstreamer,ensonic/gstreamer,drothlis/gstreamer,magcius/gstreamer,shelsonjava/gstreamer,mrchapp/gstreamer