Re: immediate display alert to user while Ajax request
Ramon Leon <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
On 07/21/2017 08:50 AM, Paul DeBruicker wrote: > The ThreadPool, when running, does use some CPU, maybe more than it should, > and I haven't looked into why yet. That's the pool manager checking if it needs to scale the pool size up or down. That could certainly be easily reduced by only doing this when the work queue has jobs, you can see that in the startUp method line... PoolManager := [ [ self adjustPoolSize ] repeat ] newProcess. It does this even when the queue is empty, so that's a good idea you have there to reduce the CPU usage. I don't maintain the public version of my code there, but I'll certainly be enhancing my own to check this. -- Ramon Leon _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside