On Thu, 13 Jul 2000, Stephane Lussier wrote:

> I'm not sure you should let the service thread do the invalidation.

What do you mean? It already does, doesn't it?

> I think it is better to do it in the DefWndProc while processing WM_SYNCPAINT.

That would be senseless. And definitely not how Windows does it anyway,
according to the documentation.

> You don't want have more than one thread playing with hrgnUpdate field
> in the window structure.

Internal window structure members are protected by the WIN_SysLevel lock,
maintained by WIN_FindWndPtr/WIN_LockWndPtr/WIN_ReleaseWndPtr. That's not
an issue at all.

Reply via email to