Distant object on server thread
Distant object on server thread
- Subject: Distant object on server thread
- From: 정다운 <email@hidden>
- Date: Wed, 26 May 2004 15:24:39 +0900 (JST)
Hi,
I have a DO (distributed object) client message a server, giving the
server an NSArray of objects. The server spawns a new thread to process
the NSArray. But the first attempt to use one of the array objects in
the thread results in the server logging an exception, then crashing
(client is unaffected):
Uncaught exception: <NSObjectInaccessibleException> NSDistantObject
access attempted from another thread
Ok, I thought this was simply fixed by using -enableMultipleThreads
from the client side before sending the message. But it makes no
difference. Using bycopy makes no difference. The old hack of casting
the NSArray to an unsigned long results in EXC_BAD_ACCESS.
Please help!
-DW
_____________________________________________________________________
?9;[ FmAvAv?! 8^@O@; :83;<<?d - >_HD! 8^@O
http://mail.yahoo.co.kr
=EBw,A_0mBw,Aw0E7! 8E90@L GQ@Z8.?! - >_HD! @Z5?Bw
http://autos.yahoo.co.kr/autos/
_______________________________________________
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.