From ca6d7f0a90498b003eaa541394c3cb4d54d0f148 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 10 Aug 2016 13:49:57 +0200 Subject: Removed old left over of SGI * ACE/ace/POSIX_Proactor.cpp: --- ACE/ace/POSIX_Proactor.cpp | 34 ---------------------------------- 1 file changed, 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 -- cgit v1.2.1