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

jSnapLoader: ConcurrentNativeBinaryLoader and multi-threading example #8

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

Scrappers-glitch
Copy link
Member

@Scrappers-glitch Scrappers-glitch commented Jul 16, 2023

This PR adds the multi-threading functionality to the NativeBinaryLoader and a multi-threading example:

  • ConcurrentNativeBinaryLoader.java: a thread-safe implementation of the NativeBinaryLoader.
  • TestMultiThreading.java: test the ConcurrentNativeBinaryLoader.

*	modified:   snaploader-examples/build.gradle
*	new file:   snaploader-examples/errors/Filetooshort/Error.md
*	new file:   snaploader-examples/errors/Filetooshort/hs_err_pid618093.log
*	new file:   snaploader-examples/errors/Filetooshort/hs_err_pid642823.log
*	new file:   snaploader-examples/src/main/java/com/avrsandbox/snaploader/examples/TestMultiThreading.java
*	new file:   snaploader/src/main/java/com/avrsandbox/snaploader/ConcurrentNativeBinaryLoader.java
@Scrappers-glitch Scrappers-glitch added enhancement New feature or request core Core API related stuff examples Stressful testing the functionalities labels Jul 16, 2023
@Scrappers-glitch Scrappers-glitch linked an issue Jul 16, 2023 that may be closed by this pull request
@Scrappers-glitch Scrappers-glitch merged commit e1454f3 into master Jul 16, 2023
5 checks passed
@Scrappers-glitch Scrappers-glitch deleted the multi-threading-examples branch July 16, 2023 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core API related stuff enhancement New feature or request examples Stressful testing the functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Examples] Cover multi-threaded dynamic loading and concurrency
1 participant