You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@groovy.apache.org by "namuller30 (via GitHub)" <gi...@apache.org> on 2024/05/09 13:01:46 UTC

[I] gpars-meets-virtual-threads blog code errors [groovy-website]

namuller30 opened a new issue, #47:
URL: https://github.com/apache/groovy-website/issues/47

   I was trying to implement the code in the [gpars-meets-virtual-threads article ](https://groovy.apache.org/blog/gpars-meets-virtual-threads) and noticed it doesn't work.
   
   The problem is you need to use the `GParsExecutorsPool.withExistingPool` instead of `GParsPool.withPool` that is listed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@groovy.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gpars-meets-virtual-threads blog code errors [groovy-website]

Posted by "paulk-asert (via GitHub)" <gi...@apache.org>.
paulk-asert commented on issue #47:
URL: https://github.com/apache/groovy-website/issues/47#issuecomment-2103562169

   Clarified. Thanks for the suggestion.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gpars-meets-virtual-threads blog code errors [groovy-website]

Posted by "paulk-asert (via GitHub)" <gi...@apache.org>.
paulk-asert closed issue #47: gpars-meets-virtual-threads blog code errors 
URL: https://github.com/apache/groovy-website/issues/47


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gpars-meets-virtual-threads blog code errors [groovy-website]

Posted by "paulk-asert (via GitHub)" <gi...@apache.org>.
paulk-asert commented on issue #47:
URL: https://github.com/apache/groovy-website/issues/47#issuecomment-2103499459

   `GParsPool.withPool` is used for the first example to show GPars using normal threads. The `withExistingPool` method is indeed in the `GParsExecutorsPool` class. It is assumed that folks would find it without too much trouble but you are right it could be clearer to explicitly mention that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org