![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | ClientBase.Close is blocking After I solved my OneWay problem I hit another. My client basically goes like this: Create Client Call a oneway method Client.Close(); The oneway now returns fine - but the close blocks until the process in the oneway call on the server returns back. This could be by design, and if so thats fine. 1) I thought about removing close - but the problem is there are many servers from this object and I have no idea when I could close it, some processes may run a long time even after the object client is disposed of. 2) I've changed the server process to use a threadpool call to do its ow oneway of sorts on the server. This seems to work fine. Any other suggestions that I should consider? -- "Programming is an art form that fights back" http://www.KudzuWorld.com/ Need a professoinal technical speaker at your event? See www.woo-hoo.net |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: ClientBase.Close is blocking Chad! Just a question/hint did you close Host before Client.Close() ? Arkady "Chad Z. Hower" <chad-ng@hower.org> wrote in message news:uxkLPG84GHA.2596@TK2MSFTNGP06.phx.gbl... > After I solved my OneWay problem I hit another. My client basically > goes like this: > > Create Client > Call a oneway method > Client.Close(); > > The oneway now returns fine - but the close blocks until the process in > the oneway call on the server returns back. This could be by design, > and if so thats fine. > > 1) I thought about removing close - but the problem is there are many > servers from this object and I have no idea when I could close it, some > processes may run a long time even after the object client is disposed > of. > > 2) I've changed the server process to use a threadpool call to do its > ow oneway of sorts on the server. This seems to work fine. > > Any other suggestions that I should consider? > > -- > "Programming is an art form that fights back" > http://www.KudzuWorld.com/ > Need a professoinal technical speaker at your event? See www.woo-hoo.net |
My System Specs![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| close with the X means close, not minimze to the system tray | Destin_FL | Live Mail | 3 | 07-27-2008 10:03 AM |
| Close Tabs Closes Everything! I don't want to Close Everything! | Robbia | Vista mail | 1 | 04-07-2008 11:42 AM |
| cannot close windows media player when i click the 'close' button | yulung | Vista music pictures video | 2 | 12-24-2007 04:37 PM |
| Close this program or search for the right topic and close this pr | Allan | Vista security | 0 | 07-18-2007 07:28 AM |
| UAC Blocking | Techno-Crat | Vista General | 4 | 09-13-2006 10:58 AM |