summary refs log tree commit diff
path: root/rt/aio.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-05 02:12:13 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-05 02:12:13 +0000
commita3bfd999946833ebfa42fd0626d98b78ee1f33e6 (patch)
treea0120abd7f9a39c97f3db049b1c17d5ab39e9dd9 /rt/aio.h
parent1d2fc9b3c59d0e83e04139ddf633731264b76ea2 (diff)
downloadglibc-a3bfd999946833ebfa42fd0626d98b78ee1f33e6.tar.gz
glibc-a3bfd999946833ebfa42fd0626d98b78ee1f33e6.tar.xz
glibc-a3bfd999946833ebfa42fd0626d98b78ee1f33e6.zip
Update.
2000-01-04  Ulrich Drepper  <drepper@cygnus.com>

	* rt/aio.h (struct aioinit): Replace one aio_reserved value with
	aio_idle_time.
	* rt/aio_misc.c: Rewrite to not automatically terminate worker threads
	after the operation is done.  Let them linger for a user-definable
	time.
	* rt/aio_cancel.c: Likewise.
	Patch by Willian M Shubert <william.m.shubert@intel.com>.

	* sysdeps/i386/i686/add_n.S: New file.
Diffstat (limited to 'rt/aio.h')
-rw-r--r--rt/aio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/rt/aio.h b/rt/aio.h
index b26d023620..15b16ab234 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -93,7 +93,9 @@ struct aioinit
     int aio_usedba;		/* Not used.  */
     int aio_debug;		/* Not used.  */
     int aio_numusers;		/* Not used.  */
-    int aio_reserved[2];
+    int aio_idle_time;		/* Number of seconds before idle thread
+				   terminates.  */
+    int aio_reserved;
   };
 #endif