Re: InternetCheckConnection

2000-07-28 Thread Francois Gouget
On Wed, 26 Jul 2000, Marcus Meissner wrote: On Tue, Jul 25, 2000 at 10:14:25AM -0500, Aric Stewart wrote: [...] How to check network connections: Parse output of: /sbin/ifconfig - for occurences of ppp*, eth* or similar. - for occurences of non 127.*

Re: patch: Scroll bar improvement

2000-07-28 Thread Francois Gouget
Hi, On Thu, 27 Jul 2000, Francois Methot wrote: Hi, This patch improves Scroll bar behaviour. It adds the support of blinking thumb as found in Windows scrollbar. I tested your patch with the colors1 of Programming Windows 95. It's a definite improvement. Before the

Re: wine/msdos dpmi.c

2000-07-28 Thread Ove Kaaven
On Thu, 27 Jul 2000, James Juran wrote: diff -u -r1.39 dpmi.c --- wine/msdos/dpmi.c 2000/07/26 18:04:54 1.39 +++ wine/msdos/dpmi.c 2000/07/27 23:23:11 @@ -183,6 +181,66 @@ [...] INT_SetRealModeContext((REALMODECALL *)PTR_SEG_OFF_TO_LIN( rmcb-regs_sel, rmcb-regs_ofs

Critical Sections too slow

2000-07-28 Thread Marcus Meissner
Hi, while trying to speed up Xing DVD Player I came across the following rather uncool problem: Critical Sections take way too much time. I have added the appended patch to EnterCriticalSection(): It prints an S every 20 seconds on my K6-200, meaning it did at least 3*1000

Re: Toolbar Repaint? (fwd)

2000-07-28 Thread Christopher Morgan
Thought I might post this on wine-devel to see if anyone has any suggestions. I figured I would update on what I've found. As far as I can tell most applications have their toolbars receive WM_PAINT messages with wParam == 0. We call BeginPaint and retreive the update rectangle. For some

Re: Critical Sections too slow

2000-07-28 Thread Jeremy White
[...] A solution would be too change handling of local critical sections to use either UNIX IPC semaphores direct or 'busy wait' using a local wait (like usleep(), select() and/or sched_yield()). Both would avoid 2 of 3 process context switches. But before I start hacking like madly for

Re: Critical Sections too slow

2000-07-28 Thread Alexandre Julliard
Marcus Meissner [EMAIL PROTECTED] writes: Critical Sections take way too much time. I have added the appended patch to EnterCriticalSection(): It prints an S every 20 seconds on my K6-200, meaning it did at least 3*1000 (wine-wineserver-wine) process context switches (not counting the