Skip to contentSkip to conversation

unofficial prerelease 1.1.3.2 for testing

DISCUSSION Stas Sergeev 2 participants 2 messages Jun 16, 2002 – Jun 19, 2002

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 3 lines · Bart Oldeman

Please test the improved joystick support from Clarence Dang: it looks
very nice, but I don't have a joystick. He claims it works faster if you enable pthreads (see compiletime-settings), but I experienced DPMI crashes that way (DJGPP gcc immediately nukes DOSEMU), so left that out by default. Can anyone confirm?

Well, as I don't have a joystick, I can only confirm that dosemu doesn't even start on my machine when I enable pthreads. No problems with them disabled though.

#1 lore raw
Quoted 9 lines · Stas Sergeev

Hello.

Quoted 5 lines · Bart Oldeman

Please test the improved joystick support from Clarence Dang: it looks very nice, but I don't have a joystick. He claims it works faster if you enable pthreads (see compiletime-settings), but I experienced DPMI crashes that way (DJGPP gcc immediately nukes DOSEMU), so left that out by default. Can anyone confirm?

Quoted 6 lines

Well, as I don't have a joystick, I can only confirm that dosemu doesn't even start on my machine when I enable pthreads. No problems with them disabled though.

Hi everyone,

I just ran the joystick code (with pthreads) on a little-used machine and it froze...the logs report that it got a load average of 63 within 1 second of starting DOSEMU. Later examination showed that it was randomly spawning new threads uncontrollably! On another machine, it works fine...

So, just to be safe, you should probably turn off pthreads (as Bart Oldeman and Stas Sergeev have pointed out). I'm curious though as to why pthreads can cause so much trouble?

The performance increase with pthreads on with joystick support is not significant at all on my machine (Pentium II) but is largely theoretical.

Thanks!
Clarence