On 11/25/08 2:33 PM, "Mahaboob" <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote:
> 
>> Why can't your thread just return when it's finished?
>> 
I'm new to thread programming. I need to kill the thread in a void function.
Here I'm attaching the file. Is it I'm going right way?


> How can I do this?
> 
>> On Nov 24, 2008, at 1:02 AM, Mahaboob wrote:
>> 
>>> 
>>> Hi,
>>> I¹m developing an application for sending email. This allows the
>>> user to
>>> restrict,
>>> 1. Number of emails to be send simultaneously and
>>> 2. Time between emails in seconds.
>>> So I used a thread to send the mail. I can send the mails. After
>>> sending
>>> mail to all email id¹s I need to kill the thread. But I failed to do
>>> that
>>> and my application getting crashed after sending the mail. I think I
>>> should
>>> write the code for that in - (void) connectionTerminated: method.
>>> But I
>>> can¹t able to Kill the thread. How can I do this ?
>>> I¹m attaching the code here.
>>> 
>>> Thanks in advance
>>> Mahaboob
>>> 
>>> 
>>> 
>>> <Send.rtf>_______________________________________________
>>> 
>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>> 
>>> Please do not post admin requests or moderator comments to the list.
>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>> 
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/cocoa-dev/joeman%40mac.com
>>> 
>>> This email sent to [EMAIL PROTECTED]
>> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/mahaboob%40newtok.com
> 
> This email sent to [EMAIL PROTECTED]

Attachment: Send.rtf
Description: Binary data

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to