ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
47 stars 91 forks source link

[Windows] Use multiprocessing.dummy on Windows for parallelism (plus adding Azure test pipeline.) #251

Closed seanyen closed 5 years ago

seanyen commented 5 years ago

This is an attempt to address the discussion in #250.

The change is to propose using multiprocessing.dummy (which is a threading wrapper) on Windows to avoid the restriction Safe importing of main module (which requires the downstream tools to be updated to work). This way can keep parallelism but not requires the downstream tools to be modified.

Plus, this change adds an Azure pipeline yaml to exercise the test suite on Windows machines.

seanyen commented 5 years ago

Here is the Azure CI result: https://dev.azure.com/seanyen2018/default/_build/results?buildId=386

seanyen commented 5 years ago

Closed it because it is very likely multiprocessing.dummy not going to be an acceptable solution.