API SetTimer freeze with biprocessor system

R

Romano Scuri

Under Windows 2000 service pack 2 and biprocessor system

if I use

SetTimer(hWnd,IDC_TIMER1,50,NULL); // Post WM_TIMER to main Window

it work. Instead if I use

SetTimer(hWnd,IDC_TIMER1,50,TimerProc); // Call TimerProc callback

when the user interact with the program it work and freeze when the program
run without interaction.

(The Timer update status bar with system date/time and I see that the
seconds stop updating)

On uniprocessor systems all OK.

Is this behaviour already known ? Is it a feature (Not a bug ;-) ?

Thanks for answer...
 
R

Romano Scuri

Romano Scuri said:
Under Windows 2000 service pack 2 and biprocessor system

if I use

SetTimer(hWnd,IDC_TIMER1,50,NULL); // Post WM_TIMER to main Window

it work. Instead if I use

SetTimer(hWnd,IDC_TIMER1,50,TimerProc); // Call TimerProc callback

when the user interact with the program it work and freeze when the program
run without interaction.

(The Timer update status bar with system date/time and I see that the
seconds stop updating)

On uniprocessor systems all OK.

Is this behaviour already known ? Is it a feature (Not a bug ;-) ?

Thanks for answer...
Here is a "System Information report" about the biprocessor system where was
discovered the problem

Rapporto System Information disponibile in: 23/04/2004 16.54.26.
[Risorse di sistema]

Elemento Valore
Nome SO Microsoft Windows 2000 Server
Versione 5.0.2195 Service Pack 2 Build 2195
Produttore SO Microsoft Corporation

Produttore sistema NEC
Modello sistema Express5800/120Md [850145000]
Tipo sistema PC basato su X86
Processore x86 Family 6 Model 8 Stepping 6 GenuineIntel ~1000 MHZ
Processore x86 Family 6 Model 8 Stepping 6 GenuineIntel ~1000 MHZ
Versione BIOS PhoenixBIOS 4.0 Release 6.0.2256
Directory Windows C:\WINNT
Directory di sistema C:\WINNT\System32
Unità di avvio \Device\Harddisk0\Partition3
Impostazioni internazionali Italia

Fuso orario ora legale Europa occidentale
Memoria fisica totale 1.572.328 KB
Memoria fisica disponibile 1.022.840 KB
Memoria virtuale totale 5.348.372 KB
Memoria virtuale disponibile 4.435.716 KB
Spazio file di paginazione 3.776.044 KB
File di paginazione Z:\pagefile.sys
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top