Refactor isc_hp/isc_queue to not grow thread table on every isc_nm_start()

Every time the isc_nm_start() was called, it would use <workers> entries
from the hazard pointer thread table and it would eventually run out of
entries in the table.  The refactored isc_hp and isc_queue API will always
take the tid in the arguments and thus the stable thread id assignment
was moved to isc_thread_id() function.
76 jobs for !4596 with 2396-refactor-isc_hp-and-isc_queue-to-be-more-universal in 18 minutes and 5 seconds (queued for 9 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #1428617
amd64 linux
autoreconf

00:00:19

 
  Precheck
failed #1428619
amd64 linux
clang-format

00:00:20

passed #1428620
amd64 linux
coccinelle

00:03:40

failed #1428621
amd64 linux
danger

00:00:15

failed #1428618
amd64 linux
misc

00:00:17

passed #1428622
amd64 linux
tarball-create

00:01:45

 
  Build
passed #1428635
amd64 linux
clang:asan

00:02:02

passed #1428639
amd64 linux
clang:buster:amd64

00:01:06

passed #1428642
amd64 libvirt
clang:freebsd11:amd64

00:01:22

passed #1428643
amd64 libvirt
clang:freebsd12:amd64

00:01:20

passed #1428644
amd64 libvirt
clang:openbsd:amd64

00:02:22

passed #1428637
amd64 linux
clang:tsan

00:01:16

passed #1428623
amd64 linux
gcc:alpine3.12:amd64

00:00:59

passed #1428634
amd64 linux
gcc:asan

00:01:43

passed #1428627
amd64 linux
gcc:buster:amd64

00:00:44

passed #1428624
amd64 linux
gcc:centos7:amd64

00:00:50

passed #1428625
amd64 linux
gcc:centos8:amd64

00:01:09

passed #1428633
amd64 linux
gcc:focal:amd64

00:01:06

passed #1428638
amd64 linux
gcc:mutexatomics

00:01:04

passed #1428629
amd64 linux
gcc:out-of-tree

00:01:01

passed #1428628
amd64 linux
gcc:sid:amd64

00:01:02

passed #1428630
i386 linux
gcc:sid:i386

00:01:05

passed #1428640
amd64 linux
gcc:softhsm2.4

00:01:08

passed #1428641
amd64 linux
gcc:softhsm2.6

00:00:52

passed #1428626
amd64 linux
gcc:stretch:amd64

00:01:00

passed #1428636
amd64 linux
gcc:tsan

00:01:07

passed #1428631
amd64 linux
gcc:tumbleweed:amd64

00:01:05

passed #1428632
amd64 linux
gcc:xenial:amd64

00:01:08

failed #1428645
amd64 windows
msvc:windows:amd64

00:00:36

 
  Unit
failed #1428657
amd64 linux
unit:clang:asan

00:01:44

failed #1428661
amd64 linux
unit:clang:buster:amd64

00:01:27

failed #1428664
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:59

failed #1428665
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:21

failed #1428666
amd64 libvirt
unit:clang:openbsd:amd64

00:03:01

failed #1428659
amd64 linux
unit:clang:tsan

00:03:02

failed #1428646
amd64 linux
unit:gcc:alpine3.12:amd64

00:01:13

failed #1428656
amd64 linux
unit:gcc:asan

00:01:40

failed #1428650
amd64 linux
unit:gcc:buster:amd64

00:02:12

failed #1428647
amd64 linux
unit:gcc:centos7:amd64

00:01:12

failed #1428648
amd64 linux
unit:gcc:centos8:amd64

00:01:17

failed #1428655
amd64 linux
unit:gcc:focal:amd64

00:01:19

failed #1428660
amd64 linux
unit:gcc:mutexatomics

00:01:17

failed #1428651
amd64 linux
unit:gcc:sid:amd64

00:01:14

failed #1428652
i386 linux
unit:gcc:sid:i386

00:01:27

failed #1428662
amd64 linux
unit:gcc:softhsm2.4

00:01:17

failed #1428663
amd64 linux
unit:gcc:softhsm2.6

00:01:27

failed #1428649
amd64 linux
unit:gcc:stretch:amd64

00:01:16

failed #1428658
amd64 linux
unit:gcc:tsan

00:03:53

failed #1428653
amd64 linux
unit:gcc:tumbleweed:amd64

00:01:10

failed #1428654
amd64 linux
unit:gcc:xenial:amd64

00:01:17

 
  System
failed #1428678
amd64 linux
system:clang:asan

00:13:43

passed #1428682
amd64 linux
system:clang:buster:amd64

00:12:24

passed #1428685
amd64 libvirt
system:clang:freebsd11:amd64

00:11:43

passed #1428686
amd64 libvirt
system:clang:freebsd12:amd64

00:11:19

passed #1428680
amd64 linux
system:clang:tsan

00:15:55

passed #1428667
amd64 linux
system:gcc:alpine3.12:amd64

00:12:43

failed #1428677
amd64 linux
system:gcc:asan

00:13:50

skipped #1428671
amd64 linux
system:gcc:buster:amd64
passed #1428668
amd64 linux
system:gcc:centos7:amd64

00:12:29

passed #1428669
amd64 linux
system:gcc:centos8:amd64

00:12:21

passed #1428676
amd64 linux
system:gcc:focal:amd64

00:12:27

passed #1428681
amd64 linux
system:gcc:mutexatomics

00:11:16

passed #1428672
amd64 linux
system:gcc:sid:amd64

00:11:56

passed #1428673
i386 linux
system:gcc:sid:i386

00:11:51

passed #1428683
amd64 linux
system:gcc:softhsm2.4

00:12:29

passed #1428684
amd64 linux
system:gcc:softhsm2.6

00:12:30

passed #1428670
amd64 linux
system:gcc:stretch:amd64

00:11:45

passed #1428679
amd64 linux
system:gcc:tsan

00:16:18

passed #1428674
amd64 linux
system:gcc:tumbleweed:amd64

00:12:08

passed #1428675
amd64 linux
system:gcc:xenial:amd64

00:11:25

 
  Docs
passed #1428687
amd64 linux
docs

00:00:55

 
  Postcheck
passed #1428691
amd64 linux
cppcheck

00:00:57

passed #1428688
amd64 linux
flake8

00:00:23

skipped #1428692
amd64 linux
gcov
passed #1428689
amd64 linux
pylint

00:00:24

passed #1428690
amd64 linux
scan-build

00:04:17

 
Name Stage Failure
failed
system:gcc:asan System
No job log
failed
system:clang:asan System
No job log
failed
unit:clang:openbsd:amd64 Unit
No job log
failed
unit:gcc:tsan Unit
No job log
failed
unit:clang:tsan Unit
No job log
failed
unit:clang:asan Unit
No job log
failed
unit:gcc:asan Unit
No job log
failed
unit:clang:freebsd11:amd64 Unit
No job log
failed
unit:clang:freebsd12:amd64 Unit
No job log
failed
unit:gcc:buster:amd64 Unit
No job log
failed
unit:gcc:sid:i386 Unit
No job log
failed
unit:clang:buster:amd64 Unit
No job log
failed
unit:gcc:focal:amd64 Unit
No job log
failed
unit:gcc:xenial:amd64 Unit
No job log
failed
unit:gcc:centos8:amd64 Unit
No job log
failed
unit:gcc:softhsm2.4 Unit
No job log
failed
unit:gcc:softhsm2.6 Unit
No job log
failed
unit:gcc:mutexatomics Unit
No job log
failed
unit:gcc:tumbleweed:amd64 Unit
No job log
failed
unit:gcc:stretch:amd64 Unit
No job log
failed
unit:gcc:sid:amd64 Unit
No job log
failed
unit:gcc:alpine3.12:amd64 Unit
No job log
failed
unit:gcc:centos7:amd64 Unit
No job log
failed
msvc:windows:amd64 Build
No job log
failed
clang-format Precheck
No job log
failed
misc Precheck
No job log
failed
danger Precheck
No job log