Author: gonzalo
Date: 2005-03-16 14:20:05 -0500 (Wed, 16 Mar 2005)
New Revision: 41919

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/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: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2005-03-16 18:55:51 UTC (rev 41918)
+++ trunk/mono/mono/metadata/ChangeLog  2005-03-16 19:20:05 UTC (rev 41919)
@@ -1,4 +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.
+
 Wed Mar 16 18:08:00 CET 2005 Paolo Molaro <[EMAIL PROTECTED]>
 
        * assembly.h, mono-config.c: added code to deal with bundled configs
@@ -13,6 +17,7 @@
        * reflection.c (mono_image_get_method_info): Encode best_fit_mapping
        and throw_on_unmappable_char attributes.
 
+>>>>>>> .r41918
 2005-03-13  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * process.c: Fix buffer length in ves_icall_System_Diagnostics_Process

Modified: trunk/mono/mono/metadata/file-io.c
===================================================================
--- trunk/mono/mono/metadata/file-io.c  2005-03-16 18:55:51 UTC (rev 41918)
+++ trunk/mono/mono/metadata/file-io.c  2005-03-16 19:20:05 UTC (rev 41919)
@@ -933,10 +933,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