task: Use SetThreadDescription Win32 API for setting thread name

Since Windows 10 1607, we can make use of SetThreadDescription() API
for setting thread name. Unlike previously used exception based
method, this API will preserve configured thread name on dump file.

Part-of: <gstreamer/gstreamer!735>
38 jobs for !735 with win32-thread-name in 41 minutes and 38 seconds (queued for 15 seconds)
detached
Status Job ID Name Coverage
  Build Docker
passed #6661386
alpine amd64 manifest builder docker

00:00:13

passed #6661385
android docker

00:00:21

passed #6661383
cerbero fedora amd64 docker

00:00:32

passed #6661382
fedora amd64 docker

00:00:26

passed #6661387
gst-indent amd64 docker

00:00:23

 
  Preparation
passed #6661392
check allow-edit

00:00:12

passed #6661390
gst indent

00:00:22

passed #6661389
manifest

00:00:23

 
  Build
passed #6661409
gstreamer
build cerbero cross-android universal

00:09:52

passed #6661417
gst-ios-13.2
build cerbero cross-ios universal

00:22:30

passed #6661411
gstreamer
build cerbero cross win32

00:06:49

passed #6661413
gstreamer
build cerbero cross win64

00:06:41

passed #6661407
gstreamer
build cerbero fedora x86_64

00:05:46

passed #6661415
gst-macos-10.15
build cerbero macos x86_64

00:09:18

passed #6661419
docker windows gstreamer-windows 1809
build cerbero msvc x86_64

00:12:09

passed #6661398
build clang fedora x86_64

00:05:25

manual #6661405
docker windows 1809 allowed to fail manual
build msys2
passed #6661393
build nodebug fedora x86_64

00:07:55

passed #6661395
build static fedora x86_64

00:03:35

passed #6661397
build static nodebug fedora x86_64

00:06:54

passed #6661400
docker windows 1809
build vs2017 amd64

00:09:08

passed #6661403
docker windows 1809
build vs2017 x86

00:09:25

 
  Test
passed #6661960
gstreamer
check fedora

00:05:51

passed #6661424
gstreamer
integration testsuites fedora 1/4

00:14:38

passed #6662580
gstreamer
integration testsuites fedora 2/4

00:12:46

passed #6661428
gstreamer
integration testsuites fedora 3/4

00:14:36

passed #6661431
gstreamer
integration testsuites fedora 4/4

00:14:39

passed #6661436
gstreamer
valgrind bad

00:05:35

passed #6661433
gstreamer
valgrind base

00:10:03

passed #6661432
gstreamer
valgrind core

00:08:39

passed #6661437
gstreamer
valgrind ges

00:08:10

passed #6661434
gstreamer
valgrind good

00:11:29

passed #6661435
gstreamer
valgrind ugly

00:07:14

failed #6661422
gstreamer
check fedora

00:12:43

failed #6661426
gstreamer
integration testsuites fedora 2/4

00:16:58

 
  Integrate
passed #6661438
cross-android universal examples

00:08:41

passed #6661440
gst-ios-13.2
cross-ios universal examples

00:05:04

passed #6661439
documentation

00:14:24