Closed JordiMartinezVicent closed 10 months ago
@maxxedev
If you think is worthy to have the API, we can work on the PR to add it to the project.
@JordiMartinezVicent can you take a look at PR https://github.com/thunkware/virtual-threads-backport/pull/6
@JordiMartinezVicent can you take a look at PR #6
Sure! I like it.
A part from the new api to create ThreadFactories I like the avoiding the reflection. Good job!
I close this PR in favor of #6
Regarding the issue #3 I have creating this PR which adds the java 21 api to create Virtual Threads ThreadFactories.
For example, on java 21 it would be:
With this api:
In order to add the ThreadFactory with the current code: