I've tried searching the archives for an answer about this, but didn't
find anything.

I have a custom task that I've written, and in the task it calls into
some code that spawns a new thread:

            _poller = new Thread(PollingLoop);

This causes NAnt to hang and never exit. If the thread doesn't start,
then everything works correctly. I don't see my thread getting any
termination calls. Is there anyway to have the Thread automatically
notified when NAnt exits? I haven't found a way to not hang the NAnt
process.

Any help would be appreciated.

-- 
Christopher Cotton

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to