Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > NSThread Problems...

NSThread Problems...
Thread Tools
Junior Member
Join Date: Nov 2001
Location: Indiana
Status: Offline
Reply With Quote
Feb 2, 2002, 03:09 PM
 
Okay, my application uses distrubted objects and NSThreads (ala Apple's TrivialThreads example...)

Everything works fine, except for this:
The SECOND TIME (and after) i run through a function in my thread server class, my directory enumerator does not return any objects. I absolutely cannot figure out why. It is creating a new enumerator object each time, as I can see the pointer address changing. I can also see that the path which is it an enumerator for is correct. It simply does not have any objects to be enumerated!

I have no clue why its doing this, but if you have any ideas, please let me know.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:37 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2