home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4221 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!Sirius.dfn.de!solaris.rz.tu-clausthal.de!news!ipc1.rrzn.uni-hannover.de!gruen
  3. From: gruen@ipc1.rrzn.uni-hannover.de (Lutz Grueneberg)
  4. Subject: Re: Threads et all
  5. Message-ID: <1992Aug14.102309.21358@newsserver.rrzn.uni-hannover.de>
  6. Keywords: Threads, processes, resources, C++
  7. Sender: news@newsserver.rrzn.uni-hannover.de (News Service)
  8. Organization: University of Hannover, Germany
  9. References:  <1992Aug13.190952.21123@elroy.jpl.nasa.gov>
  10. Date: Fri, 14 Aug 1992 10:23:09 GMT
  11. Lines: 31
  12.  
  13. In article <1992Aug13.190952.21123@elroy.jpl.nasa.gov>, hartzman@kilroy.Jpl.Nasa.Gov (Les Hartzman) writes:
  14. |> I have a few, hopefully basic, questions about multithreaded processes:
  15. |> 
  16. |>         1)  Does thread 1 exist for any other reason than to start
  17. |>             other threads and to process the interrupt/kill signals?
  18. |> 
  19. |>         2)  Can ANY thread in a process create its own queue(s)?
  20. Yes, look at the examples in the programmers toolkit from IBM.
  21. |> 
  22. |>         3)  In C++, I assume that I need to have a function that does
  23. |>             object instatiation, and that there is no library function
  24. |>             that allows you to instantiate an object as a thread (via
  25. |>             its constructor)?
  26. I've never seen such a object, but I'm working on a CoSession Object class
  27. for my PMviews class library. Every Object of the class should represent
  28. a own thread with a message queue. A working version will be published
  29. soon.
  30.  
  31. Lutz
  32. -- 
  33. // Lutz Gr"uneberg
  34. // Lehrgebiet Rechnernetze und Verteilte Systeme
  35. // Universit"at Hannover
  36. // Schlosswender Str. 5
  37. // D-3000 Hannover 1, Germany
  38. //
  39. // Email: Grueneberg@rrzn.uni-hannover.dbp.de
  40. //
  41. //                ... have a  n.i.c.e. day
  42.  
  43.  
  44.