summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2016-08-10 13:49:57 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2016-08-10 13:49:57 +0200
commitca6d7f0a90498b003eaa541394c3cb4d54d0f148 (patch)
treed8af46d6537303ca54268e9b4c63e18b346b6371
parent571605a737200863989ba3d438e15619da419b1d (diff)
downloadATCD-ca6d7f0a90498b003eaa541394c3cb4d54d0f148.tar.gz
Removed old left over of SGI
* ACE/ace/POSIX_Proactor.cpp:
-rw-r--r--ACE/ace/POSIX_Proactor.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/ACE/ace/POSIX_Proactor.cpp b/ACE/ace/POSIX_Proactor.cpp
index 0d7f3231b10..28380ce10e5 100644
--- a/ACE/ace/POSIX_Proactor.cpp
+++ b/ACE/ace/POSIX_Proactor.cpp
@@ -974,40 +974,6 @@ void ACE_POSIX_AIOCB_Proactor::check_max_aio_num ()
ACELIB_DEBUG ((LM_DEBUG,
"(%P | %t) ACE_POSIX_AIOCB_Proactor::Max Number of AIOs=%d\n",
aiocb_list_max_size_));
-
-#if defined(__sgi)
-
- ACELIB_DEBUG((LM_DEBUG,
- ACE_TEXT( "SGI IRIX specific: aio_init!\n")));
-
-//typedef struct aioinit {
-// int aio_threads; /* The number of aio threads to start (5) */
-// int aio_locks; /* Initial number of preallocated locks (3) */
-// int aio_num; /* estimated total simultanious aiobc structs (1000) */
-// int aio_usedba; /* Try to use DBA for raw I/O in lio_listio (0) */
-// int aio_debug; /* turn on debugging (0) */
-// int aio_numusers; /* max number of user sprocs making aio_* calls (5) */
-// int aio_reserved[3];
-//} aioinit_t;
-
- aioinit_t aioinit;
-
- aioinit.aio_threads = 10; /* The number of aio threads to start (5) */
- aioinit.aio_locks = 20; /* Initial number of preallocated locks (3) */
- /* estimated total simultaneous aiobc structs (1000) */
- aioinit.aio_num = aiocb_list_max_size_;
- aioinit.aio_usedba = 0; /* Try to use DBA for raw IO in lio_listio (0) */
- aioinit.aio_debug = 0; /* turn on debugging (0) */
- aioinit.aio_numusers = 100; /* max number of user sprocs making aio_* calls (5) */
- aioinit.aio_reserved[0] = 0;
- aioinit.aio_reserved[1] = 0;
- aioinit.aio_reserved[2] = 0;
-
- aio_sgi_init (&aioinit);
-
-#endif
-
- return;
}
void