geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toby cabot <>
Subject Re: Thread pool strategy
Date Tue, 13 Jul 2004 21:39:18 GMT
On Tue, Jul 13, 2004 at 03:33:35PM -0400, Geir Magnusson Jr wrote:
> Is it really "now" as in "if you don't have to wait for a thread, do it 
> - otherwise return w/ a status indicating now wasn't possible" or "now 
> as in  "wait until there's a thread, do it, and then return to me"?

three choices:

  doWork() - "block until it's done" 
  startWork() - "block until it starts and then return"
  scheduleWork() - "return now and do the work whenever."


View raw message