commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Zeigermann" <oli...@zeigermann.de>
Subject Re: POLL: Anyone interested in a new CONCURRENT component
Date Wed, 03 Oct 2007 21:31:11 GMT
2007/10/3, Will Pugh <willpugh@sourcelabs.com>:
> Another idea (not well thought out) would be to try doing something like
> threadlets for Java (http://kerneltrap.org/node/7753)
>
> So that some operation would either execute directly, or if a lock is
> taken would spawn a thread to wait for access.  Not sure if it's a
> solution in search of a problem, since I haven't had need to use them
> yet, but I thought threadlets and syslets seemed like cool concepts on
> their own.

Not quite sure if this is possible without manipulating the JVM. Cool
idea, though...

> Another structure I've used a lot in UI programming is very similar to
> an ExecuterService, except that each task has executeBackground and
> exceuteForeground methods.  The executeBackground method is called on a
> pooled background thread.  The executeForground is then called on the
> main AWT thread.

This is a "SwingWorker" in the Swing world, right?

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message