Thanks for your reply. I probably won't be able to make the meeting because I live in Pocatello. Otherwise I would be delighted to see your implementation.
My issue is not so much _how_ to spawn a thread. It's more a question of _where_ to do it. Thanks, Carlos On 08/03/2011 10:42 PM, Wayne E. Van Loon Sr. wrote: > Carlos: > I know nothing about Java, but I just finished learning a bit about > writing POSIX threads in a C program. > > I wanted my threads to execute concurrently with the process that > spawned them. > > To make the CPU cores available for other threads and processes, I > wanted my threads to terminate when their tasks were done but be > recreated again (thousands of times) when needed. > > If the Java threads interface that you will be using is POSIX compliant > and if this is something like what you need to, I can show you what I > did. I'll also be at the PLUG meeting tomorrow evening. > Wayne > > Carlos Konstanski wrote: >> I am writing my first Java Server Faces app. It needs to launch a >> long-running proces in a background thread. What is the best way to >> handle the spawning of new threads that don't tie up the request from >> within the Faces framework? >> >> Thanks, >> >> Carlos >> _______________________________________________ >> PLUG mailing list >> [email protected] >> http://lists.pdxlinux.org/mailman/listinfo/plug >> >> >> > > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
