Closed Bug 342021 Opened 18 years ago Closed 18 years ago

Timer functions broken with timer0

Categories

(SeaMonkey :: General, defect)

Other
OS/2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 277514

People

(Reporter: froloff, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (OS/2; U; Warp 4.5; ru-RU; rv:1.8.0.4) Gecko/20060601 SeaMonkey/1.0.2
Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; ru-RU; rv:1.8.0.4) Gecko/20060601 SeaMonkey/1.0.2

Seamonkey timer functions stop working correctly right after another application start using OS/2 high resolution timer (timer0)
Some visible affects of this: rotating download indicator stop in browser, mail client return timeouts all the time trying access to pop server...

Reproducible: Always

Steps to Reproduce:
1. Start mozilla
2. start any other application, which use timer0, for example timer0 example from toolkit with refining value in Dosleep() call to reduce system load.
3. Open new tab (to make download indicator on tab visible)
4. Try to open any page, from low speed web server,
5. Open mail client
6. Try to connect to slow enough remote pop3 server.
Actual Results:  
After 4. you'll see that the rotation indicator freezed.
You'll receive timeout message shortly after 6.

Expected Results:  
Rotated indicator during page downloading after 4.
Mail messages download.
This bug exist also in  SeaMonkey/2 version 1.0 and 1.01
I put in attach an application, which use high resolution timer. It based on OS/2 toolkit timer0 example, slightly changed for build with Innotek gcc.

Just start this application, and you'll feel the bug, which I report.
Can you set the environment variable:

NSPR_OS2_NO_HIRES_TIMER=1

and see if it fixes the problem

*** This bug has been marked as a duplicate of 277514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Yes, this help, thank you.

I'll try also with Daniel's timer0.sys to check if it is free of such limitation. 
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: