Browse Source

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.


svn path=/trunk/mono/; revision=41919
Gonzalo Paniagua Javier 21 years ago
parent
commit
da5ffdcfd9
2 changed files with 10 additions and 0 deletions
  1. 5 0
      mono/metadata/ChangeLog
  2. 5 0
      mono/metadata/file-io.c

+ 5 - 0
mono/metadata/ChangeLog

@@ -1,3 +1,7 @@
+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]>
 
@@ -13,6 +17,7 @@ Wed Mar 16 16:34:38 CET 2005 Paolo Molaro <[email protected]>
 	* 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

+ 5 - 0
mono/metadata/file-io.c

@@ -933,10 +933,15 @@ ves_icall_System_IO_MonoIO_GetSupportsAsync (void)
 	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