>> them.  Under Win9x, this can cause serious problems, basically because
Win9x
>> is mainly 16-bit and doesn't deal with large numbers of resources well.
>
>Yes, W98 is crap.  No real need to discuss that.
>
>As for some sort of event overload, I doubt it.  The system has plenty
>of power power and memory for the tasks at hand.
[clip]
>Sitting and watching the usage meter, it hardly ever gets to 10%.

Resources, in the wonderful world of Microsoft, mean a very specific thing.
 In particular, bitmaps, device contexts, fonts, brush patterns, window
handles, and a whole host of internally tracked data structures.  Windows
itself has a fixed size array of these things.  A machine with 2GB of RAM
and dual P4 1.7GHz processors has exactly the same number of "Resources" as
a 386SX-16 with 4MB of RAM.

Now, if the suspected problem is one of event frequency and the system not
having time to process events and free them, then a 10% CPU usage would
disprove that hypothesis.  If the suspected problem is one of Resource
leakage, then a powerful machine would actually tend to crash sooner --
more processing power means you can perform the resource leaking code more
times per second, which means you leak faster...

I have absolutely no idea what the actual problem is.  I have reasons of my
own for suspecting thread lockstepping and deadlock problems.  I have not
examined the server, but I would expect it to be more complicated than the
viewer.  I _have_ been working with the viewer, and I know that its
shutdown process is relatively involved and requires multiple threads
throwing and catching exceptions and everything happening at the right time
and in the right order.  It is possible that some inter-thread
communication inside the server is deadlocking.

Anyway, my primary purpose was to clarify "Resources".  Microsoft's
unfortunate choice of term has caused confusion ever since Windows 3.0 (and
probably before that).

Mac
 _____________________________     /"\
 Mac Reiter                        \ /    ASCII Ribbon Campaign
 Nomadics, Inc.                     X     Against HTML Mail
 [EMAIL PROTECTED]               / \   (To join the campaign, simply use
                                          this in your signature.)
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to