Author: gonzalo
Date: 2005-03-16 14:21:23 -0500 (Wed, 16 Mar 2005)
New Revision: 41920

Modified:
   branches/mono-1-0/mono/mono/metadata/ChangeLog
   branches/mono-1-0/mono/mono/metadata/file-io.c
Log:
2005-03-16 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * file-io.c: disabled file async. IO using aio_*. It uses the
        threadpool now. Workaround for bug #73718.



Modified: branches/mono-1-0/mono/mono/metadata/ChangeLog
===================================================================
--- branches/mono-1-0/mono/mono/metadata/ChangeLog      2005-03-16 19:20:05 UTC 
(rev 41919)
+++ branches/mono-1-0/mono/mono/metadata/ChangeLog      2005-03-16 19:21:23 UTC 
(rev 41920)
@@ -1,3 +1,8 @@
+2005-03-16 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * file-io.c: disabled file async. IO using aio_*. It uses the
+       threadpool now. Workaround for bug #73718.
+
 2005-03-13  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * process.c: Fix buffer length in ves_icall_System_Diagnostics_Process

Modified: branches/mono-1-0/mono/mono/metadata/file-io.c
===================================================================
--- branches/mono-1-0/mono/mono/metadata/file-io.c      2005-03-16 19:20:05 UTC 
(rev 41919)
+++ branches/mono-1-0/mono/mono/metadata/file-io.c      2005-03-16 19:21:23 UTC 
(rev 41920)
@@ -934,10 +934,15 @@
        return FALSE;   
        /* return (g_getenv ("MONO_DISABLE_AIO") == NULL && WINVER >= 0x500); */
 #elif defined(USE_AIO)
+       return FALSE;
+       /* Disabled. See bug 73718. We can enable this again if we have
+        * a thread that handles socket/file IO
+        *
        if (aio_cancel (-1, NULL) == -1 && errno == ENOSYS)
                return FALSE;
 
        return (g_getenv ("MONO_DISABLE_AIO") == NULL);
+       */
 #else
        return FALSE;
 #endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to