Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MT VL-specific tests #8

Closed
wants to merge 9 commits into from
Closed

Conversation

mattjala
Copy link
Owner

Add dedicated tests for multithreaded H5VL behavior in testmthdf5

The individual tests are implemented in mt_vl_test.c.

Add MT Native Wrapper VOL and MT Passthru Wrapper VOL

These connectors are used to test the H5VL module's ability manage concurrent thread entry into a VOL connector/back into the VOL layer from a passthrough connector. The MT Native Wrapper is a connector with the threadsafe flag enabled, which simply grabs the global mutex before invoking the native VOL operation. The MT Passthru Wrapper is a clone of the passthrough VOL with the threadsafe flag enabled.

Add MT VL Test Connector

This VOL implements a few operations in a non-API compliant manner in order to test VOL connector loading on file open failure. It shouldn't be used outside of the MT VL tests.

mattjala added a commit that referenced this pull request Nov 25, 2024
Rework test framework for multithreading compatibility
@mattjala mattjala deleted the branch test_framework_rework November 26, 2024 15:09
@mattjala mattjala closed this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant