Re: Help: Waiting for other thread to finish?
Re: Help: Waiting for other thread to finish?
- Subject: Re: Help: Waiting for other thread to finish?
- From: "Steven M.Palm" <email@hidden>
- Date: Mon, 4 Aug 2003 22:07:10 -0500
On Sunday, August 3, 2003, at 09:10 PM, Steven M.Palm wrote:
The problem is, this mail check is obviously being done in a thread. I
have no way of knowing much at all about this thread... So my before
and after count are always the same, as the mail checking has not
happened yet.
Is there any way when I run this method to catch the thread it
launches and know when it finishes? {shudder}
Well, nothing heard from anyone, but I found an alternative approach
by interrogating each active mail account to see if it was fetching
mail. ;-)
I'm can tell if new messages arrived in the main account INBOX, but if
anything was filtered into a different mailbox, I'm not having much
like finding it. I know Mail.app has an easy way to keep track of at
least the unread count for each mailbox (since it displays it quickly
in the mailbox list), but I haven't found it yet.
:-P
Thanks
-----------------------
- Steven M. Palm
- Ham Radio Call: N9YTY
- Attempts to make thine own star shine shall lead thee into darkness.
-----------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.