thread/connection question
thread/connection question
- Subject: thread/connection question
- From: Sandman <email@hidden>
- Date: Tue, 6 May 2003 19:03:21 -0400
THE SETUP
-----------------------------------
I have an application that spawn a thread. I followed the example that
I found on the net. The name of the app is SimpleThread.
It basically spawn a connection and uses 2 port to communicate back and
forth.
I have this object lets say foo that derives from NSObject. The object
carry 4 member NSString object.
The main thread method called doSomething, takes a pointer to foo:
(oneway void) doSomething:(foo*) data;
THE PROBLEM
-------------------------------------
When doSomething gets called, data is not what it was in the other
calling thread. But if I pass a NSString or other objective-c object,
everything is fine.
Anybody got an idea.?
_______________________________________________
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.