[roll pigweed] pw_transfer: Set event loop in non-main thread

When the Python pw_transfer.Manager is created, it creates a new asyncio
event loop, which is auto-registered if created in the main thread.
However, if the pw_transfer.Manager is created in a non-main thread,
this event loop is not registered, and the pw_transfer.Manager
constructor will fail with "RuntimeError: There is no current event loop
in thread 'THREAD_NAME'.". Check if in non-main thread to register the
new event loop.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/100415

https://pigweed.googlesource.com/pigweed/pigweed
pigweed Rolled-Commits: c50e44f1590eccb..de64d37ce9ba923
Roller-URL: https://ci.chromium.org/b/8809820348302874385
Cq-Cl-Tag: roller-builder:pigweed-zephyr-roller
Cq-Cl-Tag: roller-bid:8809820348302874385
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I9b5d957c0c8c533ce5e68b1728cdf10f641b1aad
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/100716
Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
1 file changed
tree: a63418d66523a894d7d52c31977713674957e24c
  1. .gitmodules
  2. test.sh