home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: 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
-
- 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
-