eal/windows: fix interrupt thread ID
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Sun, 2 May 2021 02:33:31 +0000 (05:33 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 23 Jun 2021 07:03:14 +0000 (09:03 +0200)
commit35dff5d3b7fb0d8e559e0d82d329333f365e7273
tree22d4dda478786f20a02f18310ff6e2288e45af22
parent7972110e59397f05eae31d1406efd0afa22bbbf3
eal/windows: fix interrupt thread ID

Interrupt thread ID retained its value after interrupt thread finish.
Other interrupt routines could then operate on the wrong thread.
Clear interrupt thread ID before thread termination.

Fixes: 5c016fc0205a ("eal/windows: add interrupt thread skeleton")
Cc: stable@dpdk.org
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
lib/eal/windows/eal_interrupts.c