Article View: comp.sys.next.programmer
Article #2200multi-threaded distributed objects?
From: Jon Buffington
Date: Wed, 06 Jan 1993 16:03
Date: Wed, 06 Jan 1993 16:03
18 lines
1243 bytes
1243 bytes
I've implemented a prototype multi-threaded object server using Distributed Objects and based it upon the example NeXT supplied with 3.0. I have a server that creates a new thread to service all work for a client connection in its own thread but I am unable to terminate the connection thread (run) from either the client or server using the NXConnection methods. The server only creates new threads. Ideally, an NXConnection object would support a 'stop' method that would terminate the 'run' method. I've tried cthread_exit but that leaves the server in an unstable state presumably because the NXConnection was not cleanly dismissed. Any ideas? Any help would be greatly appreciated. Jon Buffington -- Jon Buffington <internet: jonb@infoman.com uucp: uunet!infoman!jonb> NeXT VAD Atlanta, GA NeXTmail accepted
Technical Details
Message-ID:
<1993Jan6.160335.7647@infoman.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!infoman!jonbShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!infoman!jonb From: jonb@infoman.com (Jon Buffington) Subject: multi-threaded distributed objects? Message-ID: <1993Jan6.160335.7647@infoman.com> Keywords: thread distributed objects Sender: jonb@infoman.com Reply-To: jonb@infoman.com Organization: Information Management Inc. Date: Wed, 6 Jan 1993 16:03:35 GMT Lines: 18