Closed dvicini closed 2 months ago
This PR ensures that any external thread that is registered with Mitsuba will have a valid logger and file resolver.
The Logger is re-used from the main thread, since it is thread safe. The file resolver is copied, as it is not thread safe, but light weight to copy.
This PR also adds two tests that exercise this newly added / fixed functionality.
This PR ensures that any external thread that is registered with Mitsuba will have a valid logger and file resolver.
The Logger is re-used from the main thread, since it is thread safe. The file resolver is copied, as it is not thread safe, but light weight to copy.
This PR also adds two tests that exercise this newly added / fixed functionality.