Noah Richards dbfb58b850 Ignore ERROR_ACCESS_DENIED when stopping Windows platform threads.
Wine implements ::QueueUserAPC incorrectly and returns
ERROR_ACCESS_DENIED when the thread is terminating instead of
ERROR_GEN_FAILURE. This is (hopefully) safe to do, assuming
the correct Windows implementation would never use ERROR_ACCESS_DENIED
in an actual failure case. I can't find documentation that says one
way or the other.

Bug: None
Change-Id: If74a40bb7e1cd49cc2266c31684bd88f1c667422
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131042
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27432}
2019-04-03 09:08:52 +00:00
..
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2019-01-25 20:29:58 +00:00
2019-04-02 20:06:44 +00:00
2019-01-25 20:29:58 +00:00
2018-06-19 14:00:39 +00:00
2019-02-20 16:02:59 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2019-04-02 20:06:44 +00:00
2018-10-18 09:41:22 +00:00
2019-02-16 11:11:45 +00:00
2019-01-30 13:03:37 +00:00
2019-01-30 13:03:37 +00:00
2019-03-26 09:41:20 +00:00
2019-03-26 09:41:20 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2019-01-25 20:29:58 +00:00