"Disabling the O_SYNC option when opening printer or punch. Change the timeout value from 1 usec to 10 msec in the timer thread. At least with unproven-pthreads, the comment above that is wrong when stating that a 1 usec timeout would be stretched to the next system clock tick. A minor correction to the computation of the SIO rate. With these changes, I get a decent performance of the system and can actually get MVS to run." Require the fixed version of unproven-pthreads. Bump the hercules version number.
18 lines
507 B
Text
18 lines
507 B
Text
$NetBSD: patch-al,v 1.1 2001/03/23 16:20:56 agc Exp $
|
|
|
|
Patch from Wolfgang Solfrank:
|
|
|
|
A minor correction to the computation of the SIO rate.
|
|
|
|
--- console.c.orig Sun Feb 11 03:52:30 2001
|
|
+++ console.c Fri Mar 23 16:01:53 2001
|
|
@@ -1257,7 +1257,8 @@
|
|
} /* end for(dev) */
|
|
|
|
/* Wait for a file descriptor to become ready */
|
|
-#ifdef WIN32
|
|
+#ifndef __notdef__
|
|
+/*#ifdef WIN32*/
|
|
{
|
|
struct timeval tv={0,500000}; /* half a second */
|
|
rc = select ( maxfd+1, &readset, NULL, NULL, &tv );
|