home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8004 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!infoman!jonb
  3. From: jonb@infoman.com (Jon Buffington)
  4. Subject: multi-threaded distributed objects?
  5. Message-ID: <1993Jan6.160335.7647@infoman.com>
  6. Keywords: thread distributed objects
  7. Sender: jonb@infoman.com
  8. Reply-To: jonb@infoman.com
  9. Organization: Information Management Inc.
  10. Date: Wed, 6 Jan 1993 16:03:35 GMT
  11. Lines: 18
  12.  
  13. I've implemented a prototype multi-threaded object server using  
  14. Distributed Objects and based it upon the example NeXT supplied with 3.0.
  15.  
  16. I have a server that creates a new thread to service all work for a client  
  17. connection in its own thread but I am unable to terminate the connection  
  18. thread (run) from either the client or server using the NXConnection  
  19. methods. The server only creates new threads. Ideally, an NXConnection  
  20. object would support a 'stop' method that would terminate the 'run'  
  21. method. I've tried cthread_exit but that leaves the server in an unstable  
  22. state presumably because the NXConnection was not cleanly dismissed. Any  
  23. ideas?
  24.  
  25. Any help would be greatly appreciated.
  26.  
  27. Jon Buffington
  28. -- 
  29. Jon Buffington <internet: jonb@infoman.com uucp: uunet!infoman!jonb>
  30. NeXT VAD    Atlanta, GA            NeXTmail accepted
  31.