home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / win32 / 879 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!appserv!jyl
  2. From: jyl@burgess.eng.sun.com (Jacob Levy)
  3. Newsgroups: comp.os.ms-windows.programmer.win32
  4. Subject: Re: Re: multiple threads per window?
  5. Date: 9 Sep 92 10:04:48
  6. Organization: State Retirement Home for Retarded Slugs
  7. Lines: 27
  8. Message-ID: <JYL.92Sep9100448@burgess.eng.sun.com>
  9. References: <5449@dove.nist.gov>
  10. Reply-To: jyl@toss.eng.sun.com
  11. NNTP-Posting-Host: burgess
  12. In-reply-to: bagwill@swe.ncsl.nist.gov's message of 9 Sep 92 15:28:31 GMT
  13.  
  14. In article <5449@dove.nist.gov> bagwill@swe.ncsl.nist.gov (Bob &) writes:
  15.  
  16.    Path: appserv.Eng.Sun.COM!exodus.Eng.Sun.COM!jethro.Corp.Sun.COM!news2me.ebay.sun.com!sun-barr!olivea!uunet!dove!swe.ncsl.nist.gov!bagwill
  17.    From: bagwill@swe.ncsl.nist.gov (Bob &)
  18.    Newsgroups: comp.os.ms-windows.programmer.win32
  19.    Summary: multiple threads per window?
  20.    Keywords: threads
  21.    Date: 9 Sep 92 15:28:31 GMT
  22.    Sender: news@dove.nist.gov
  23.    Lines: 6
  24.    X-Newsreader: Tin 1.1 PL4
  25.  
  26.    With NT, you can have multiple threads per process and multiple windows
  27.    per process.  Am I correct in assuming you can have at most one thread
  28.    issuing WIN32 calls per window?
  29.  
  30.    --
  31.    Bob Bagwill    NIST/Computer Systems Lab/Distributed Systems Engineering Group
  32.  
  33. From perusing the docs, this does not seem to be exactly correct. Each
  34. thread which owns windows (having started them) has its own message queue,
  35. thus it will read the messages. However, any thread seems to be able to do
  36. Win32 window output operations on any handle, even if the thread is not the
  37. one that created the window. Seems like the rule is: Have a handle --> able
  38. to do output.
  39.  
  40. --JYL
  41.