Re: background tasks locked, workers run all right

2020-05-21 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, Given that you like the idea of making a new coordinator / cursor for each of these tasks - my recommendation is to do it but then don’t lock the EC. Nothing else is using it right? You’ve guaranteed it by starting a new thread and a new coordinator, so don’t lock it. You can get into a

Re: background tasks locked, workers run all right

2020-05-21 Thread OCsite via Webobjects-dev
Aaron, thanks a lot! > On 21 May 2020, at 17:30, Aaron Rosenzweig wrote: > It looks like you are mixing a couple things. Well probably I miss something of importance here. > If you are going to use Kieran’s code (I believe it was him initially) you > should use it fully and have a healthy num

Re: background tasks locked, workers run all right

2020-05-21 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, It looks like you are mixing a couple things. If you are going to use Kieran’s code (I believe it was him initially) you should use it fully and have a healthy number of coordinators. I say that because his code does round robin and there is a chance that two threads get the same coordi