InputStream.read doesn't block read while waiting for data
From: Greg Taylor (GregTaylor_at_discussions.microsoft.com)
Date: 02/04/05
- Next message: jeff: "Re: InputStream.read doesn't block read while waiting for data"
- Previous message: Sushovan: "RE: calling a method"
- Next in thread: jeff: "Re: InputStream.read doesn't block read while waiting for data"
- Reply: jeff: "Re: InputStream.read doesn't block read while waiting for data"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Feb 2005 17:59:04 -0800
Using J# 1.0 library, it appears that while read is waiting for data, some
kind of "message pump" in VS 2003 allows events to fire - ON THE SAME THREAD.
So the call stack looks like:
<callback fn registered with Visual Studio event>
[<Non-user code>]
<my fn at the line where m_inputStream.read is called>
...
The callback is actually the UIHierarchy.SaveItem method for my own
UIHierarchy in VS 2003. I expected .read to block the thread COMPLETELY,
until data was available. Any ideas why it isn't?
- Next message: jeff: "Re: InputStream.read doesn't block read while waiting for data"
- Previous message: Sushovan: "RE: calling a method"
- Next in thread: jeff: "Re: InputStream.read doesn't block read while waiting for data"
- Reply: jeff: "Re: InputStream.read doesn't block read while waiting for data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading