From fee96ebe2dbd8f66649bea65e8c9c73f96152a33 Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 3 Jun 2003 12:52:29 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'RT_Notify_TAO132'. --- Kokyu/DSRT_Dispatcher_Impl.cpp | 61 - Kokyu/DSRT_Dispatcher_Impl.h | 68 - Kokyu/DSRT_Dispatcher_Impl.i | 38 - Kokyu/DSRT_Schedulers.cpp | 190 - Kokyu/DSRT_Schedulers.h | 72 - Kokyu/Default_Dispatcher_Impl.cpp | 138 - Kokyu/Default_Dispatcher_Impl.h | 74 - Kokyu/Default_Dispatcher_Impl.i | 21 - Kokyu/Dispatcher_Impl.cpp | 9 - Kokyu/Dispatcher_Impl.h | 52 - Kokyu/Dispatcher_Impl.i | 28 - Kokyu/Dispatcher_Task.cpp | 155 - Kokyu/Dispatcher_Task.h | 106 - Kokyu/Dispatcher_Task.i | 76 - Kokyu/Kokyu.cpp | 100 - Kokyu/Kokyu.dsw | 41 - Kokyu/Kokyu.h | 163 - Kokyu/Kokyu.i | 33 - Kokyu/Kokyu.mpc | 7 - Kokyu/Kokyu_DLL.dsp | 227 - Kokyu/Kokyu_Static.dsp | 215 - Kokyu/Makefile | 584 -- Kokyu/kokyu_export.h | 55 - Kokyu/tests/DSRT_MIF/MIF.cpp | 112 - Kokyu/tests/DSRT_MIF/Makefile | 218 - Kokyu/tests/DSRT_MIF/svc.conf | 4 - Kokyu/tests/DSRT_MIF/svc.conf.xml | 8 - Kokyu/tests/EDF/EDF.dsp | 104 - Kokyu/tests/EDF/EDF.dsw | 29 - Kokyu/tests/EDF/test.cpp | 96 - Kokyu/tests/FIFO/FIFO.dsp | 104 - Kokyu/tests/FIFO/FIFO.dsw | 29 - Kokyu/tests/FIFO/test.cpp | 84 - Makefile.bor | 24 - PACE/ChangeLog | 3716 ---------- PACE/Makefile | 43 - PACE/Makefile.am | 30 - PACE/README | 49 - PACE/THANKS | 18 - PACE/VERSION | 5 - PACE/docs/ACE_Integration.txt | 17 - PACE/docs/README | 1 - PACE/docs/www/Introduction/begin.html | 135 - PACE/docs/www/Introduction/build.html | 107 - PACE/docs/www/Introduction/change.html | 108 - PACE/docs/www/Introduction/phases.html | 108 - PACE/docs/www/Introduction/porting.html | 111 - PACE/docs/www/Introduction/struct.html | 123 - PACE/docs/www/Introduction/team.html | 111 - PACE/docs/www/Introduction/using.html | 108 - PACE/docs/www/PACE-abstract.html | 152 - PACE/docs/www/PACE-car.html | 28 - PACE/docs/www/PACE-docs.html | 109 - PACE/docs/www/PACE-obtain.html | 124 - PACE/docs/www/PACE-overview.html | 229 - PACE/docs/www/PACE.html | 150 - PACE/docs/www/Pix/PACE-mini-logo.gif | Bin 7226 -> 0 bytes PACE/docs/www/Pix/PACE-red-blue-logo.gif | Bin 26888 -> 0 bytes PACE/docs/www/Pix/PACE-red-blue-smaller.gif | Bin 30650 -> 0 bytes PACE/docs/www/Pix/ace-tmp.jpg | Bin 15369 -> 0 bytes PACE/docs/www/Pix/doc-logo.jpg | Bin 18630 -> 0 bytes PACE/docs/www/Pix/heli-1.jpg | Bin 13921 -> 0 bytes PACE/docs/www/Pix/pace-car1.jpg | Bin 37364 -> 0 bytes PACE/docs/www/Pix/pace-car2.jpg | Bin 18615 -> 0 bytes PACE/docs/www/Pix/pace-car3.jpg | Bin 23161 -> 0 bytes PACE/docs/www/Pix/redball.gif | Bin 326 -> 0 bytes PACE/docs/www/Pix/stealth.jpg | Bin 40575 -> 0 bytes PACE/docs/www/index.html | 150 - PACE/examples/README | 0 PACE/include/makeinclude/rules.common.GNU | 121 - PACE/pace++/README | 0 PACE/pace/Makefile | 498 -- PACE/pace/Makefile.am | 64 - PACE/pace/aio.h | 125 - PACE/pace/assert.h | 64 - PACE/pace/config/compiler.h | 69 - PACE/pace/config/config.h | 221 - PACE/pace/config/constants.h | 244 - PACE/pace/config/defaults.h | 26 - PACE/pace/config/defines.h | 27 - PACE/pace/config/features.h | 49 - PACE/pace/config/platform.h | 86 - PACE/pace/config/utility.h | 118 - PACE/pace/ctype.h | 164 - PACE/pace/dirent.h | 95 - PACE/pace/emulation/mqueue.c | 570 -- PACE/pace/emulation/mqueue.h | 95 - PACE/pace/emulation/time.h | 46 - PACE/pace/errno.h | 37 - PACE/pace/fcntl.h | 94 - PACE/pace/grp.h | 93 - PACE/pace/limits.h | 29 - PACE/pace/locale.h | 65 - PACE/pace/man/Makefile | 13 - PACE/pace/man/banner | 5 - PACE/pace/man/pace.jpg | Bin 19144 -> 0 bytes PACE/pace/math.h | 245 - PACE/pace/mqueue.h | 131 - PACE/pace/posix/Makefile.am | 113 - PACE/pace/posix/README | 1 - PACE/pace/posix/TODO | 7 - PACE/pace/posix/aio.c | 20 - PACE/pace/posix/aio.h | 45 - PACE/pace/posix/aio.inl | 94 - PACE/pace/posix/assert.c | 20 - PACE/pace/posix/assert.h | 29 - PACE/pace/posix/assert.inl | 14 - PACE/pace/posix/ctype.c | 20 - PACE/pace/posix/ctype.h | 27 - PACE/pace/posix/ctype.inl | 133 - PACE/pace/posix/dirent.c | 20 - PACE/pace/posix/dirent.h | 40 - PACE/pace/posix/dirent.inl | 68 - PACE/pace/posix/errno.h | 76 - PACE/pace/posix/fcntl.c | 20 - PACE/pace/posix/fcntl.h | 63 - PACE/pace/posix/fcntl.inl | 23 - PACE/pace/posix/grp.c | 20 - PACE/pace/posix/grp.h | 34 - PACE/pace/posix/grp.inl | 73 - PACE/pace/posix/limits.h | 29 - PACE/pace/posix/locale.c | 20 - PACE/pace/posix/locale.h | 40 - PACE/pace/posix/locale.inl | 34 - PACE/pace/posix/math.c | 20 - PACE/pace/posix/math.h | 29 - PACE/pace/posix/math.inl | 215 - PACE/pace/posix/mman.c | 20 - PACE/pace/posix/mman.h | 42 - PACE/pace/posix/mman.inl | 127 - PACE/pace/posix/mqueue.c | 24 - PACE/pace/posix/mqueue.h | 43 - PACE/pace/posix/mqueue.inl | 87 - PACE/pace/posix/pthread.c | 20 - PACE/pace/posix/pthread.h | 81 - PACE/pace/posix/pthread.inl | 761 -- PACE/pace/posix/pwd.c | 20 - PACE/pace/posix/pwd.h | 35 - PACE/pace/posix/pwd.inl | 81 - PACE/pace/posix/sched.c | 20 - PACE/pace/posix/sched.h | 38 - PACE/pace/posix/sched.inl | 95 - PACE/pace/posix/semaphore.c | 20 - PACE/pace/posix/semaphore.h | 31 - PACE/pace/posix/semaphore.inl | 86 - PACE/pace/posix/setjmp.c | 20 - PACE/pace/posix/setjmp.h | 32 - PACE/pace/posix/setjmp.inl | 34 - PACE/pace/posix/signal.c | 28 - PACE/pace/posix/signal.h | 71 - PACE/pace/posix/signal.inl | 167 - PACE/pace/posix/socket.c | 20 - PACE/pace/posix/socket.h | 231 - PACE/pace/posix/socket.inl | 242 - PACE/pace/posix/stat.c | 20 - PACE/pace/posix/stat.h | 58 - PACE/pace/posix/stat.inl | 77 - PACE/pace/posix/stdio.c | 20 - PACE/pace/posix/stdio.h | 58 - PACE/pace/posix/stdio.inl | 502 -- PACE/pace/posix/stdlib.c | 20 - PACE/pace/posix/stdlib.h | 64 - PACE/pace/posix/stdlib.inl | 323 - PACE/pace/posix/string.c | 20 - PACE/pace/posix/string.h | 36 - PACE/pace/posix/string.inl | 206 - PACE/pace/posix/termios.c | 20 - PACE/pace/posix/termios.h | 50 - PACE/pace/posix/termios.inl | 109 - PACE/pace/posix/time.c | 20 - PACE/pace/posix/time.h | 95 - PACE/pace/posix/time.inl | 324 - PACE/pace/posix/times.c | 20 - PACE/pace/posix/times.h | 39 - PACE/pace/posix/times.inl | 23 - PACE/pace/posix/types.h | 134 - PACE/pace/posix/unistd.c | 20 - PACE/pace/posix/unistd.h | 56 - PACE/pace/posix/unistd.inl | 470 -- PACE/pace/posix/utime.c | 20 - PACE/pace/posix/utime.h | 35 - PACE/pace/posix/utime.inl | 24 - PACE/pace/posix/utsname.c | 20 - PACE/pace/posix/utsname.h | 34 - PACE/pace/posix/utsname.inl | 23 - PACE/pace/posix/wait.c | 20 - PACE/pace/posix/wait.h | 38 - PACE/pace/posix/wait.inl | 34 - PACE/pace/pthread.h | 733 -- PACE/pace/pwd.h | 93 - PACE/pace/sched.h | 124 - PACE/pace/semaphore.h | 130 - PACE/pace/setjmp.h | 85 - PACE/pace/signal.h | 199 - PACE/pace/stddef.h | 53 - PACE/pace/stdio.h | 528 -- PACE/pace/stdlib.h | 305 - PACE/pace/string.h | 240 - PACE/pace/sys/mman.h | 151 - PACE/pace/sys/socket.h | 252 - PACE/pace/sys/stat.h | 80 - PACE/pace/sys/times.h | 51 - PACE/pace/sys/types.h | 37 - PACE/pace/sys/utsname.h | 51 - PACE/pace/sys/wait.h | 67 - PACE/pace/termios.h | 145 - PACE/pace/time.h | 274 - PACE/pace/unistd.h | 524 -- PACE/pace/utime.h | 57 - PACE/pace/vxworks/README | 1 - PACE/pace/vxworks/aio.c | 20 - PACE/pace/vxworks/aio.h | 45 - PACE/pace/vxworks/aio.inl | 112 - PACE/pace/vxworks/assert.c | 20 - PACE/pace/vxworks/assert.h | 29 - PACE/pace/vxworks/assert.inl | 14 - PACE/pace/vxworks/ctype.c | 20 - PACE/pace/vxworks/ctype.h | 27 - PACE/pace/vxworks/ctype.inl | 159 - PACE/pace/vxworks/dirent.c | 20 - PACE/pace/vxworks/dirent.h | 40 - PACE/pace/vxworks/dirent.inl | 74 - PACE/pace/vxworks/errno.h | 75 - PACE/pace/vxworks/fcntl.c | 20 - PACE/pace/vxworks/fcntl.h | 63 - PACE/pace/vxworks/fcntl.inl | 39 - PACE/pace/vxworks/grp.c | 20 - PACE/pace/vxworks/grp.h | 32 - PACE/pace/vxworks/grp.inl | 82 - PACE/pace/vxworks/limits.h | 29 - PACE/pace/vxworks/locale.c | 20 - PACE/pace/vxworks/locale.h | 40 - PACE/pace/vxworks/locale.inl | 38 - PACE/pace/vxworks/math.c | 20 - PACE/pace/vxworks/math.h | 29 - PACE/pace/vxworks/math.inl | 259 - PACE/pace/vxworks/mman.c | 20 - PACE/pace/vxworks/mman.h | 42 - PACE/pace/vxworks/mman.inl | 153 - PACE/pace/vxworks/mqueue.c | 20 - PACE/pace/vxworks/mqueue.h | 43 - PACE/pace/vxworks/mqueue.inl | 101 - PACE/pace/vxworks/pthread.c | 1376 ---- PACE/pace/vxworks/pthread.h | 163 - PACE/pace/vxworks/pthread.inl | 935 --- PACE/pace/vxworks/pwd.c | 20 - PACE/pace/vxworks/pwd.h | 34 - PACE/pace/vxworks/pwd.inl | 82 - PACE/pace/vxworks/sched.c | 20 - PACE/pace/vxworks/sched.h | 38 - PACE/pace/vxworks/sched.inl | 107 - PACE/pace/vxworks/semaphore.c | 20 - PACE/pace/vxworks/semaphore.h | 31 - PACE/pace/vxworks/semaphore.inl | 102 - PACE/pace/vxworks/setjmp.c | 20 - PACE/pace/vxworks/setjmp.h | 33 - PACE/pace/vxworks/setjmp.inl | 38 - PACE/pace/vxworks/signal.c | 28 - PACE/pace/vxworks/signal.h | 71 - PACE/pace/vxworks/signal.inl | 207 - PACE/pace/vxworks/socket.c | 20 - PACE/pace/vxworks/socket.h | 218 - PACE/pace/vxworks/socket.inl | 280 - PACE/pace/vxworks/stat.c | 20 - PACE/pace/vxworks/stat.h | 59 - PACE/pace/vxworks/stat.inl | 99 - PACE/pace/vxworks/stdio.c | 20 - PACE/pace/vxworks/stdio.h | 58 - PACE/pace/vxworks/stdio.inl | 565 -- PACE/pace/vxworks/stdlib.c | 20 - PACE/pace/vxworks/stdlib.h | 64 - PACE/pace/vxworks/stdlib.inl | 381 - PACE/pace/vxworks/string.c | 20 - PACE/pace/vxworks/string.h | 36 - PACE/pace/vxworks/string.inl | 238 - PACE/pace/vxworks/termios.c | 20 - PACE/pace/vxworks/termios.h | 49 - PACE/pace/vxworks/termios.inl | 145 - PACE/pace/vxworks/time.c | 20 - PACE/pace/vxworks/time.h | 87 - PACE/pace/vxworks/time.inl | 296 - PACE/pace/vxworks/times.c | 20 - PACE/pace/vxworks/times.h | 39 - PACE/pace/vxworks/times.inl | 26 - PACE/pace/vxworks/types.h | 261 - PACE/pace/vxworks/unistd.c | 20 - PACE/pace/vxworks/unistd.h | 56 - PACE/pace/vxworks/unistd.inl | 601 -- PACE/pace/vxworks/utime.c | 20 - PACE/pace/vxworks/utime.h | 35 - PACE/pace/vxworks/utime.inl | 27 - PACE/pace/vxworks/utsname.c | 20 - PACE/pace/vxworks/utsname.h | 47 - PACE/pace/vxworks/utsname.inl | 40 - PACE/pace/vxworks/wait.c | 20 - PACE/pace/vxworks/wait.h | 38 - PACE/pace/vxworks/wait.inl | 42 - PACE/pace/win32/README | 1 - PACE/pace/win32/TODO | 29 - PACE/pace/win32/aio.c | 20 - PACE/pace/win32/aio.h | 44 - PACE/pace/win32/aio.inl | 106 - PACE/pace/win32/assert.c | 20 - PACE/pace/win32/assert.h | 29 - PACE/pace/win32/assert.inl | 14 - PACE/pace/win32/ctype.c | 20 - PACE/pace/win32/ctype.h | 27 - PACE/pace/win32/ctype.inl | 133 - PACE/pace/win32/dirent.c | 100 - PACE/pace/win32/dirent.h | 74 - PACE/pace/win32/dirent.inl | 68 - PACE/pace/win32/errno.h | 84 - PACE/pace/win32/fcntl.c | 164 - PACE/pace/win32/fcntl.h | 71 - PACE/pace/win32/fcntl.inl | 38 - PACE/pace/win32/grp.c | 20 - PACE/pace/win32/grp.h | 34 - PACE/pace/win32/grp.inl | 72 - PACE/pace/win32/limits.h | 29 - PACE/pace/win32/locale.c | 20 - PACE/pace/win32/locale.h | 40 - PACE/pace/win32/locale.inl | 34 - PACE/pace/win32/math.c | 20 - PACE/pace/win32/math.h | 29 - PACE/pace/win32/math.inl | 215 - PACE/pace/win32/mman.c | 123 - PACE/pace/win32/mman.h | 65 - PACE/pace/win32/mman.inl | 129 - PACE/pace/win32/mqueue.c | 20 - PACE/pace/win32/mqueue.h | 45 - PACE/pace/win32/mqueue.inl | 104 - PACE/pace/win32/pace.dsw | 41 - PACE/pace/win32/pace_dll.dsp | 623 -- PACE/pace/win32/pace_lib.dsp | 609 -- PACE/pace/win32/pthread.c | 359 - PACE/pace/win32/pthread.h | 178 - PACE/pace/win32/pthread.inl | 682 -- PACE/pace/win32/pthreadtypes.h | 132 - PACE/pace/win32/pwd.c | 20 - PACE/pace/win32/pwd.h | 34 - PACE/pace/win32/pwd.inl | 72 - PACE/pace/win32/sched.c | 20 - PACE/pace/win32/sched.h | 34 - PACE/pace/win32/sched.inl | 103 - PACE/pace/win32/schedtypes.h | 67 - PACE/pace/win32/semaphore.c | 122 - PACE/pace/win32/semaphore.h | 62 - PACE/pace/win32/semaphore.inl | 108 - PACE/pace/win32/setjmp.c | 20 - PACE/pace/win32/setjmp.h | 42 - PACE/pace/win32/setjmp.inl | 36 - PACE/pace/win32/signal.c | 45 - PACE/pace/win32/signal.h | 81 - PACE/pace/win32/signal.inl | 193 - PACE/pace/win32/socket.c | 9 - PACE/pace/win32/socket.h | 5 - PACE/pace/win32/socket.inl | 7 - PACE/pace/win32/stat.c | 40 - PACE/pace/win32/stat.h | 65 - PACE/pace/win32/stat.inl | 99 - PACE/pace/win32/stdio.c | 51 - PACE/pace/win32/stdio.h | 90 - PACE/pace/win32/stdio.inl | 464 -- PACE/pace/win32/stdlib.c | 20 - PACE/pace/win32/stdlib.h | 63 - PACE/pace/win32/stdlib.inl | 303 - PACE/pace/win32/string.c | 42 - PACE/pace/win32/string.h | 42 - PACE/pace/win32/string.inl | 198 - PACE/pace/win32/termios.c | 20 - PACE/pace/win32/termios.h | 56 - PACE/pace/win32/termios.inl | 124 - PACE/pace/win32/time.c | 20 - PACE/pace/win32/time.h | 107 - PACE/pace/win32/time.inl | 265 - PACE/pace/win32/times.c | 20 - PACE/pace/win32/times.h | 40 - PACE/pace/win32/times.inl | 24 - PACE/pace/win32/types.h | 100 - PACE/pace/win32/unistd.c | 146 - PACE/pace/win32/unistd.h | 119 - PACE/pace/win32/unistd.inl | 514 -- PACE/pace/win32/utime.c | 41 - PACE/pace/win32/utime.h | 43 - PACE/pace/win32/utime.inl | 33 - PACE/pace/win32/utsname.c | 181 - PACE/pace/win32/utsname.h | 43 - PACE/pace/win32/utsname.inl | 26 - PACE/pace/win32/wait.c | 20 - PACE/pace/win32/wait.h | 38 - PACE/pace/win32/wait.inl | 45 - PACE/tests/Cond_Var_Test.c | 136 - PACE/tests/Makefile | 204 - PACE/tests/Makefile.am | 54 - PACE/tests/Posix_SP_Test.c | 253 - PACE/tests/Pthread_Storage_Test.c | 144 - PACE/tests/Pthreads_Test.c | 110 - PACE/tests/README | 6 - PACE/tests/Stat_Test.c | 83 - PACE/tests/Stdio_Test.c | 123 - PACE/tests/mqueue_test.c | 134 - PACE/tests/test_stdio.dsp | 162 - PACE/tests/tests.dsw | 59 - PACE/tests/vxworks_stub.c | 109 - Static_Performance.dsw | 263 - TAO/CIAO/CCF/CCF/CCF.sln | 45 - TAO/CIAO/CCF/CCF/CIDL/CIDL.cpp | 1 - TAO/CIAO/CCF/CCF/CIDL/CIDL.vcproj | 150 - TAO/CIAO/CCF/CCF/CIDL/CIDL_LexicalAnalyzer.hpp | 57 - TAO/CIAO/CCF/CCF/CIDL/CIDL_Parser.hpp | 202 - TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticAction.hpp | 74 - TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticActionImpl.hpp | 251 - TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp | 61 - TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.hpp | 141 - TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTreeFwd.hpp | 29 - TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.cpp | 79 - TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.hpp | 50 - TAO/CIAO/CCF/CCF/CIDL/MSVC_Pragmas.hpp | 16 - TAO/CIAO/CCF/CCF/CIDL/Makefile | 21 - .../CCF/CodeGenerationKit/CodeGenerationKit.cpp | 1 - .../CCF/CodeGenerationKit/CodeGenerationKit.vcproj | 150 - TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.cpp | 5 - TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp | 202 - .../CodeGenerationKit/CommandLineDescriptor.hpp | 260 - .../CCF/CodeGenerationKit/CommandLineGrammar.cpp | 5 - .../CCF/CodeGenerationKit/CommandLineGrammar.hpp | 361 - .../CCF/CodeGenerationKit/CommandLineParser.cpp | 55 - .../CCF/CodeGenerationKit/CommandLineParser.hpp | 14 - TAO/CIAO/CCF/CCF/CodeGenerationKit/IDLStream.hpp | 126 - .../CCF/CCF/CodeGenerationKit/MSVC_Pragmas.hpp | 16 - TAO/CIAO/CCF/CCF/CodeGenerationKit/Makefile | 22 - TAO/CIAO/CCF/CCF/CodeGenerationKit/Regex.hpp | 42 - .../CCF/CCF/CompilerElements/DiagnosticStream.cpp | 47 - .../CCF/CCF/CompilerElements/DiagnosticStream.hpp | 141 - TAO/CIAO/CCF/CCF/CompilerElements/ExH.hpp | 14 - TAO/CIAO/CCF/CCF/CompilerElements/FileSystem.hpp | 17 - TAO/CIAO/CCF/CCF/CompilerElements/MSVC_Pragmas.hpp | 15 - TAO/CIAO/CCF/CCF/CompilerElements/Parser.hpp | 265 - TAO/CIAO/CCF/CCF/CompilerElements/Preprocessor.hpp | 303 - .../CCF/CCF/CompilerElements/ReferenceCounting.hpp | 14 - .../CCF/CCF/CompilerElements/SemanticAction.hpp | 15 - TAO/CIAO/CCF/CCF/CompilerElements/Token.hpp | 255 - TAO/CIAO/CCF/CCF/CompilerElements/TokenStream.hpp | 65 - TAO/CIAO/CCF/CCF/CompilerElements/Traversal.hpp | 38 - TAO/CIAO/CCF/CCF/IDL2/IDL2.cpp | 1 - TAO/CIAO/CCF/CCF/IDL2/IDL2.vcproj | 159 - TAO/CIAO/CCF/CCF/IDL2/IDL2_LexicalAnalyzer.cpp | 377 - TAO/CIAO/CCF/CCF/IDL2/IDL2_LexicalAnalyzer.hpp | 129 - TAO/CIAO/CCF/CCF/IDL2/IDL2_Parser.hpp | 421 -- TAO/CIAO/CCF/CCF/IDL2/IDL2_SemanticAction.hpp | 163 - TAO/CIAO/CCF/CCF/IDL2/IDL2_SemanticActionImpl.hpp | 742 -- TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree.cpp | 773 -- TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree.hpp | 2059 ------ TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree.tpp | 126 - TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTreeFwd.hpp | 162 - TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree_BuiltIn.cpp | 99 - TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree_BuiltIn.hpp | 200 - TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree_Value.hpp | 190 - TAO/CIAO/CCF/CCF/IDL2/IDL2_Traversal.cpp | 608 -- TAO/CIAO/CCF/CCF/IDL2/IDL2_Traversal.hpp | 519 -- TAO/CIAO/CCF/CCF/IDL2/MSVC_Pragmas.hpp | 16 - TAO/CIAO/CCF/CCF/IDL2/Makefile | 23 - TAO/CIAO/CCF/CCF/IDL3/IDL3.cpp | 1 - TAO/CIAO/CCF/CCF/IDL3/IDL3.vcproj | 156 - TAO/CIAO/CCF/CCF/IDL3/IDL3_LexicalAnalyzer.hpp | 59 - TAO/CIAO/CCF/CCF/IDL3/IDL3_Parser.hpp | 425 -- TAO/CIAO/CCF/CCF/IDL3/IDL3_SemanticAction.hpp | 179 - TAO/CIAO/CCF/CCF/IDL3/IDL3_SemanticActionImpl.hpp | 1365 ---- TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTree.cpp | 186 - TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTree.hpp | 627 -- TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTreeFwd.hpp | 69 - .../CCF/CCF/IDL3/IDL3_SyntaxTree_EventType.cpp | 22 - .../CCF/CCF/IDL3/IDL3_SyntaxTree_EventType.hpp | 215 - TAO/CIAO/CCF/CCF/IDL3/IDL3_Traversal.cpp | 184 - TAO/CIAO/CCF/CCF/IDL3/IDL3_Traversal.hpp | 175 - TAO/CIAO/CCF/CCF/IDL3/MSVC_Pragmas.hpp | 16 - TAO/CIAO/CCF/CCF/IDL3/Makefile | 22 - TAO/CIAO/CCF/CCF/Makefile | 14 - TAO/CIAO/CCF/DesignNotes | 457 -- .../External/Utility/Config/Archive.gcc.post.rules | 45 - .../External/Utility/Config/Archive.gcc.pre.rules | 27 - .../CCF/External/Utility/Config/Archive.post.rules | 7 - .../CCF/External/Utility/Config/Archive.pre.rules | 7 - .../Utility/Config/Documentation.post.rules | 35 - .../Utility/Config/Documentation.pre.rules | 17 - .../Utility/Config/Executable.gcc.post.rules | 49 - .../Utility/Config/Executable.gcc.pre.rules | 25 - .../Utility/Config/Executable.generic.post.rules | 57 - .../Utility/Config/Executable.generic.pre.rules | 25 - .../External/Utility/Config/Executable.post.rules | 7 - .../External/Utility/Config/Executable.pre.rules | 7 - .../External/Utility/Config/Recursion.post.rules | 29 - .../External/Utility/Config/Recursion.pre.rules | 11 - .../External/Utility/Config/Shared.gcc.post.rules | 45 - .../External/Utility/Config/Shared.gcc.pre.rules | 25 - .../Utility/Config/Shared.generic.post.rules | 53 - .../Utility/Config/Shared.generic.pre.rules | 25 - .../CCF/External/Utility/Config/Shared.post.rules | 7 - .../CCF/External/Utility/Config/Shared.pre.rules | 7 - TAO/CIAO/CCF/External/Utility/Config/Thoughts | 54 - .../CCF/External/Utility/Documentation/Build.html | 99 - .../Utility/Documentation/ExH/Example/Makefile | 24 - .../Utility/Documentation/ExH/Logic/Makefile | 18 - .../External/Utility/Documentation/ExH/Makefile | 14 - .../Documentation/ExH/Makefile.documentation | 18 - .../External/Utility/Documentation/ExH/News.html | 60 - .../Utility/Documentation/ExH/System/Makefile | 18 - .../External/Utility/Documentation/ExH/index.html | 80 - .../CCF/External/Utility/Documentation/Makefile | 14 - .../CCF/External/Utility/Documentation/News.html | 69 - .../Documentation/ReferenceCounting/Makefile | 20 - .../Documentation/ReferenceCounting/News.html | 108 - .../Documentation/ReferenceCounting/index.html | 82 - .../External/Utility/Documentation/Style/CXX.css | 8 - .../Utility/Documentation/Style/CXX_Blue.css | 24 - .../External/Utility/Documentation/Synch/Makefile | 14 - .../External/Utility/Documentation/Synch/News.html | 60 - .../Utility/Documentation/Synch/Policy/Makefile | 18 - .../Utility/Documentation/Synch/index.html | 70 - .../CCF/External/Utility/Documentation/index.html | 92 - TAO/CIAO/CCF/External/Utility/Makefile | 14 - .../CCF/External/Utility/Utility/ExH/Compound.hpp | 42 - .../CCF/External/Utility/Utility/ExH/Compound.tpp | 57 - .../CCF/External/Utility/Utility/ExH/Converter.hpp | 22 - .../CCF/External/Utility/Utility/ExH/Converter.tpp | 19 - TAO/CIAO/CCF/External/Utility/Utility/ExH/ExH.hpp | 22 - .../Utility/ExH/Logic/DescriptiveException.hpp | 60 - .../Utility/ExH/Logic/DescriptiveException.ipp | 101 - .../Utility/Utility/ExH/Logic/Exception.hpp | 40 - .../Utility/Utility/ExH/Logic/Exception.ipp | 19 - .../Utility/Utility/ExH/StringConverter.hpp | 26 - .../Utility/Utility/ExH/StringConverter.ipp | 17 - .../Utility/Utility/ExH/StringStreamConverter.hpp | 26 - .../Utility/Utility/ExH/StringStreamConverter.ipp | 19 - .../Utility/ExH/System/DescriptiveException.hpp | 58 - .../Utility/ExH/System/DescriptiveException.ipp | 87 - .../Utility/Utility/ExH/System/Exception.hpp | 28 - .../Utility/ReferenceCounting/DefaultImpl.hpp | 95 - .../Utility/ReferenceCounting/DefaultImpl.ipp | 104 - .../Utility/ReferenceCounting/ExternalLockImpl.hpp | 59 - .../Utility/ReferenceCounting/ExternalLockImpl.ipp | 121 - .../Utility/ReferenceCounting/Interface.hpp | 83 - .../Utility/ReferenceCounting/Interface.ipp | 21 - .../Utility/ReferenceCounting/Interface.tpp | 19 - .../ReferenceCounting/ReferenceCounting.hpp | 15 - .../Utility/Utility/ReferenceCounting/SmartPtr.hpp | 102 - .../Utility/Utility/ReferenceCounting/SmartPtr.tpp | 169 - .../Utility/ReferenceCounting/StrictPtr.hpp | 107 - .../Utility/ReferenceCounting/StrictPtr.tpp | 166 - .../External/Utility/Utility/Synch/Policy/Null.hpp | 53 - .../External/Utility/Utility/Synch/Policy/Null.ipp | 19 - TAO/CIAO/CCF/External/Utility/Version | 1 - TAO/CIAO/CCF/Makefile | 14 - TAO/CIAO/CCF/Version | 1 - TAO/CIAO/CIDLC/CIDLC.sln | 21 - TAO/CIAO/CIDLC/CIDLC.vcproj | 164 - TAO/CIAO/CIDLC/ExecutorMappingGenerator.cpp | 1066 --- TAO/CIAO/CIDLC/ExecutorMappingGenerator.hpp | 22 - TAO/CIAO/CIDLC/Literals.hpp | 92 - TAO/CIAO/CIDLC/Makefile | 33 - TAO/CIAO/CIDLC/README | 49 - TAO/CIAO/CIDLC/ServantGenerator.cpp | 205 - TAO/CIAO/CIDLC/ServantGenerator.hpp | 81 - TAO/CIAO/CIDLC/ServantHeaderGenerator.cpp | 1733 ----- TAO/CIAO/CIDLC/ServantHeaderGenerator.hpp | 104 - TAO/CIAO/CIDLC/ServantSourceGenerator.cpp | 2525 ------- TAO/CIAO/CIDLC/ServantSourceGenerator.hpp | 96 - TAO/CIAO/CIDLC/Version | 1 - TAO/CIAO/CIDLC/cidlc.cpp | 231 - TAO/CIAO/CIDLC/parser_examples/README | 70 - TAO/CIAO/CIDLC/parser_examples/cidl/cidl.cpp | 29 - TAO/CIAO/CIDLC/parser_examples/cidl/cidl.mpc | 11 - TAO/CIAO/CIDLC/parser_examples/cidl/cidl.vcproj | 145 - .../CIDLC/parser_examples/cidl/cidl_grammar.cpp | 309 - TAO/CIAO/CIDLC/parser_examples/cidl/cidl_grammar.h | 54 - TAO/CIAO/CIDLC/parser_examples/cidl/hello.cidl | 17 - TAO/CIAO/CIDLC/parser_examples/idl2/idl2.cpp | 27 - TAO/CIAO/CIDLC/parser_examples/idl2/idl2.mpc | 11 - TAO/CIAO/CIDLC/parser_examples/idl2/idl2.vcproj | 152 - .../CIDLC/parser_examples/idl2/idl2_grammar.cpp | 973 --- TAO/CIAO/CIDLC/parser_examples/idl2/idl2_grammar.h | 166 - TAO/CIAO/CIDLC/parser_examples/idl2/test_idl2.idl | 103 - TAO/CIAO/CIDLC/parser_examples/idl3/idl3.cpp | 29 - TAO/CIAO/CIDLC/parser_examples/idl3/idl3.mpc | 11 - TAO/CIAO/CIDLC/parser_examples/idl3/idl3.vcproj | 153 - .../CIDLC/parser_examples/idl3/idl3_grammar.cpp | 349 - TAO/CIAO/CIDLC/parser_examples/idl3/idl3_grammar.h | 51 - TAO/CIAO/CIDLC/parser_examples/idl3/test_idl3.idl | 73 - TAO/CIAO/CIDLC/parser_examples/parser_examples.sln | 37 - TAO/CIAO/ChangeLog | 2731 -------- TAO/CIAO/Makefile | 94 - TAO/CIAO/PROBLEM-REPORT-FORM | 72 - TAO/CIAO/README | 119 - TAO/CIAO/VERSION | 11 - TAO/CIAO/bin/generate_component_mpc.pl | 169 - TAO/CIAO/ciao/Active_Objref_Map.cpp | 11 - TAO/CIAO/ciao/Active_Objref_Map.h | 35 - TAO/CIAO/ciao/CCM_Base.idl | 144 - TAO/CIAO/ciao/CCM_Component.idl | 117 - TAO/CIAO/ciao/CCM_Container.idl | 138 - TAO/CIAO/ciao/CCM_Container_Ex.idl | 183 - TAO/CIAO/ciao/CCM_Core.mpc | 84 - TAO/CIAO/ciao/CCM_Deployment.idl | 155 - TAO/CIAO/ciao/CCM_Event.idl | 100 - TAO/CIAO/ciao/CCM_Transaction.idl | 89 - TAO/CIAO/ciao/CIAO_Client_Export.h | 50 - TAO/CIAO/ciao/CIAO_Container_Export.h | 50 - TAO/CIAO/ciao/CIAO_Export.h | 50 - TAO/CIAO/ciao/CIAO_Server_Export.h | 50 - TAO/CIAO/ciao/CIAO_Servers.idl | 19 - TAO/CIAO/ciao/CIAO_Value.idl | 17 - TAO/CIAO/ciao/CIAO_common.h | 31 - TAO/CIAO/ciao/Client_init.cpp | 36 - TAO/CIAO/ciao/Client_init.h | 35 - TAO/CIAO/ciao/ComponentInstallation_Impl.cpp | 191 - TAO/CIAO/ciao/ComponentInstallation_Impl.h | 117 - TAO/CIAO/ciao/ComponentInstallation_Impl.inl | 11 - TAO/CIAO/ciao/ComponentServer_Impl.cpp | 182 - TAO/CIAO/ciao/ComponentServer_Impl.h | 142 - TAO/CIAO/ciao/ComponentServer_Impl.inl | 58 - TAO/CIAO/ciao/Component_Base.idl | 788 --- TAO/CIAO/ciao/Components.idl | 15 - TAO/CIAO/ciao/ComponentsC.h | 92 - TAO/CIAO/ciao/ComponentsS.h | 67 - TAO/CIAO/ciao/Container_Base.cpp | 246 - TAO/CIAO/ciao/Container_Base.h | 169 - TAO/CIAO/ciao/Container_Base.inl | 10 - TAO/CIAO/ciao/Container_Base.pidl | 33 - TAO/CIAO/ciao/Container_Impl.cpp | 251 - TAO/CIAO/ciao/Container_Impl.h | 161 - TAO/CIAO/ciao/Container_Impl.inl | 33 - TAO/CIAO/ciao/Cookies.cpp | 64 - TAO/CIAO/ciao/Cookies.h | 76 - TAO/CIAO/ciao/Cookies.inl | 22 - TAO/CIAO/ciao/CosPersistentState.idl | 23 - TAO/CIAO/ciao/HomeRegistrar.idl | 38 - TAO/CIAO/ciao/HomeRegistrar_i.cpp | 98 - TAO/CIAO/ciao/HomeRegistrar_i.h | 82 - TAO/CIAO/ciao/HomeRegistrar_i.inl | 31 - TAO/CIAO/ciao/Object_Set_T.cpp | 123 - TAO/CIAO/ciao/Object_Set_T.h | 127 - TAO/CIAO/ciao/Object_Set_T.inl | 20 - TAO/CIAO/ciao/README | 13 - TAO/CIAO/ciao/ServerActivator_Impl.cpp | 260 - TAO/CIAO/ciao/ServerActivator_Impl.h | 182 - TAO/CIAO/ciao/ServerActivator_Impl.inl | 33 - TAO/CIAO/ciao/Server_init.cpp | 36 - TAO/CIAO/ciao/Server_init.h | 35 - TAO/CIAO/ciao/Version.h | 7 - TAO/CIAO/ciao/ciao.rc | 30 - TAO/CIAO/ciao/ciaofwd.h | 33 - TAO/CIAO/ciao/diffs/Component_BaseC.cpp.diff | 57 - TAO/CIAO/ciao/diffs/Component_BaseC.h.diff | 65 - TAO/CIAO/ciao/diffs/Component_BaseS.h.diff | 12 - TAO/CIAO/docs/ConfigValues.html | 195 - TAO/CIAO/docs/XML/componentassembly.dtd | 367 - TAO/CIAO/docs/XML/corbacomponent.dtd | 316 - TAO/CIAO/docs/XML/properties.dtd | 87 - TAO/CIAO/docs/XML/softpkg.dtd | 220 - TAO/CIAO/docs/com-impl.html | 60 - TAO/CIAO/docs/imgs/CCM-v5.vsd | Bin 486912 -> 0 bytes TAO/CIAO/docs/imgs/CCM.vsd | Bin 568832 -> 0 bytes TAO/CIAO/docs/imgs/File-Gen-Existing.png | Bin 40181 -> 0 bytes TAO/CIAO/docs/imgs/File-Gen-Future.png | Bin 41057 -> 0 bytes TAO/CIAO/docs/imgs/File_Generation_Flow.vsd | Bin 107008 -> 0 bytes TAO/CIAO/docs/imgs/IDL-CIDL-classes.vsd | Bin 201216 -> 0 bytes TAO/CIAO/docs/imgs/basic-container.png | Bin 8000 -> 0 bytes TAO/CIAO/docs/imgs/component-basic.png | Bin 18852 -> 0 bytes TAO/CIAO/docs/imgs/deployment.png | Bin 10392 -> 0 bytes TAO/CIAO/docs/imgs/extended-container.png | Bin 19243 -> 0 bytes TAO/CIAO/docs/imgs/home-config.png | Bin 9873 -> 0 bytes TAO/CIAO/docs/index.html | 75 - TAO/CIAO/docs/new_components.html | 129 - TAO/CIAO/docs/releasenotes.html | 361 - .../docs/templates/CIAO_Glue_Session_Template.cpp | 1218 ---- .../docs/templates/CIAO_Glue_Session_Template.h | 737 -- .../docs/templates/CIAO_Glue_Session_Template.inl | 494 -- TAO/CIAO/docs/templates/Executor.idl | 246 - TAO/CIAO/docs/templates/cidl_template.cidl | 31 - .../OEP/BasicSP/BMClosedED/BMClosedED.cidl | 19 - .../examples/OEP/BasicSP/BMClosedED/BMClosedED.idl | 17 - .../OEP/BasicSP/BMClosedED/BMClosedEDEI.idl | 33 - .../OEP/BasicSP/BMClosedED/BMClosedED_exec.cpp | 149 - .../OEP/BasicSP/BMClosedED/BMClosedED_exec.dsp | 146 - .../OEP/BasicSP/BMClosedED/BMClosedED_exec.h | 119 - .../BasicSP/BMClosedED/BMClosedED_exec_export.h | 50 - .../OEP/BasicSP/BMClosedED/BMClosedED_stub.dsp | 138 - .../BasicSP/BMClosedED/BMClosedED_stub_export.h | 50 - .../OEP/BasicSP/BMClosedED/BMClosedED_svnt.dsp | 205 - .../BasicSP/BMClosedED/BMClosedED_svnt_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/BMClosedED/config | 1 - .../examples/OEP/BasicSP/BMDevice/BMDevice.cidl | 19 - .../examples/OEP/BasicSP/BMDevice/BMDevice.idl | 30 - .../examples/OEP/BasicSP/BMDevice/BMDeviceEI.idl | 30 - .../OEP/BasicSP/BMDevice/BMDevice_exec.cpp | 125 - .../OEP/BasicSP/BMDevice/BMDevice_exec.dsp | 158 - .../examples/OEP/BasicSP/BMDevice/BMDevice_exec.h | 122 - .../OEP/BasicSP/BMDevice/BMDevice_exec_export.h | 50 - .../OEP/BasicSP/BMDevice/BMDevice_stub.dsp | 170 - .../OEP/BasicSP/BMDevice/BMDevice_stub_export.h | 50 - .../OEP/BasicSP/BMDevice/BMDevice_svnt.dsp | 239 - .../OEP/BasicSP/BMDevice/BMDevice_svnt_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/BMDevice/config | 1 - .../examples/OEP/BasicSP/BMDisplay/BMDisplay.cidl | 18 - .../examples/OEP/BasicSP/BMDisplay/BMDisplay.idl | 15 - .../examples/OEP/BasicSP/BMDisplay/BMDisplayEI.idl | 33 - .../OEP/BasicSP/BMDisplay/BMDisplay_exec.cpp | 135 - .../OEP/BasicSP/BMDisplay/BMDisplay_exec.dsp | 146 - .../OEP/BasicSP/BMDisplay/BMDisplay_exec.h | 102 - .../OEP/BasicSP/BMDisplay/BMDisplay_exec_export.h | 50 - .../OEP/BasicSP/BMDisplay/BMDisplay_stub.dsp | 138 - .../OEP/BasicSP/BMDisplay/BMDisplay_stub_export.h | 50 - .../OEP/BasicSP/BMDisplay/BMDisplay_svnt.dsp | 237 - .../OEP/BasicSP/BMDisplay/BMDisplay_svnt_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/BMDisplay/config | 1 - TAO/CIAO/examples/OEP/BasicSP/BasicSP.dsw | 251 - TAO/CIAO/examples/OEP/BasicSP/BasicSP.idl | 47 - TAO/CIAO/examples/OEP/BasicSP/BasicSP.mpc | 29 - TAO/CIAO/examples/OEP/BasicSP/BasicSP_stub.dsp | 150 - .../examples/OEP/BasicSP/BasicSP_stub_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/BasicSP_svnt.dsp | 180 - .../examples/OEP/BasicSP/BasicSP_svnt_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/EC/EC.cidl | 21 - TAO/CIAO/examples/OEP/BasicSP/EC/EC.idl | 41 - TAO/CIAO/examples/OEP/BasicSP/EC/ECEI.idl | 32 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_client.dsp | 166 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec.cpp | 279 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec.dsp | 186 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec.h | 182 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_stub.dsp | 178 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_stub_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_svnt.dsp | 229 - TAO/CIAO/examples/OEP/BasicSP/EC/EC_svnt_export.h | 50 - TAO/CIAO/examples/OEP/BasicSP/EC/README | 9 - TAO/CIAO/examples/OEP/BasicSP/EC/client.cpp | 72 - TAO/CIAO/examples/OEP/BasicSP/EC/config | 1 - TAO/CIAO/examples/OEP/BasicSP/EC/controller.cpp | 125 - TAO/CIAO/examples/OEP/BasicSP/EC/controller.dsp | 166 - TAO/CIAO/examples/OEP/BasicSP/NOTE.txt | 135 - TAO/CIAO/examples/OEP/BasicSP/README | 32 - .../OEP/BasicSP/descriptors/BMClosedED.csd | 45 - .../OEP/BasicSP/descriptors/BMClosedED.ssd | 43 - .../examples/OEP/BasicSP/descriptors/BMDevice.csd | 46 - .../examples/OEP/BasicSP/descriptors/BMDevice.ssd | 43 - .../examples/OEP/BasicSP/descriptors/BMDisplay.csd | 46 - .../examples/OEP/BasicSP/descriptors/BMDisplay.ssd | 43 - .../examples/OEP/BasicSP/descriptors/BasicSP.cad | 109 - .../BasicSP/descriptors/CIAO_Installation_Data.ini | 9 - TAO/CIAO/examples/OEP/BasicSP/descriptors/EC.csd | 46 - TAO/CIAO/examples/OEP/BasicSP/descriptors/EC.ssd | 43 - TAO/CIAO/examples/OEP/BasicSP/descriptors/ec.ior | 1 - TAO/CIAO/examples/OEP/BasicSP/descriptors/test.dat | 2 - TAO/CIAO/examples/OEP/Display/Configuration-0.png | 1 - TAO/CIAO/examples/OEP/Display/Display.dsw | 248 - TAO/CIAO/examples/OEP/Display/GPS/GPS.cidl | 13 - TAO/CIAO/examples/OEP/Display/GPS/GPS.idl | 25 - TAO/CIAO/examples/OEP/Display/GPS/GPSEI.idl | 33 - TAO/CIAO/examples/OEP/Display/GPS/GPS_exec.cpp | 131 - TAO/CIAO/examples/OEP/Display/GPS/GPS_exec.dsp | 146 - TAO/CIAO/examples/OEP/Display/GPS/GPS_exec.h | 127 - .../examples/OEP/Display/GPS/GPS_exec_export.h | 50 - TAO/CIAO/examples/OEP/Display/GPS/GPS_stub.dsp | 172 - .../examples/OEP/Display/GPS/GPS_stub_export.h | 50 - TAO/CIAO/examples/OEP/Display/GPS/GPS_svnt.dsp | 239 - .../examples/OEP/Display/GPS/GPS_svnt_export.h | 50 - .../examples/OEP/Display/GPS/GPS_tracing_exec.cpp | 137 - .../examples/OEP/Display/GPS/GPS_tracing_exec.dsp | 146 - .../examples/OEP/Display/GPS/GPS_tracing_exec.h | 125 - TAO/CIAO/examples/OEP/Display/GPS/config | 1 - TAO/CIAO/examples/OEP/Display/HUDisplay.idl | 48 - TAO/CIAO/examples/OEP/Display/HUDisplay.mpc | 29 - TAO/CIAO/examples/OEP/Display/HUDisplay_stub.dsp | 178 - .../examples/OEP/Display/HUDisplay_stub_export.h | 50 - TAO/CIAO/examples/OEP/Display/HUDisplay_svnt.dsp | 176 - .../examples/OEP/Display/HUDisplay_svnt_export.h | 50 - TAO/CIAO/examples/OEP/Display/NOTE | 54 - .../OEP/Display/NavDisplay/NavDisplay.cidl | 12 - .../examples/OEP/Display/NavDisplay/NavDisplay.idl | 29 - .../OEP/Display/NavDisplay/NavDisplayEI.idl | 32 - .../OEP/Display/NavDisplay/NavDisplay_exec.cpp | 128 - .../OEP/Display/NavDisplay/NavDisplay_exec.dsp | 146 - .../OEP/Display/NavDisplay/NavDisplay_exec.h | 101 - .../Display/NavDisplay/NavDisplay_exec_export.h | 50 - .../OEP/Display/NavDisplay/NavDisplay_stub.dsp | 172 - .../Display/NavDisplay/NavDisplay_stub_export.h | 50 - .../OEP/Display/NavDisplay/NavDisplay_svnt.dsp | 239 - .../Display/NavDisplay/NavDisplay_svnt_export.h | 50 - TAO/CIAO/examples/OEP/Display/NavDisplay/config | 1 - .../examples/OEP/Display/NavDisplay/run_test.pl | 108 - .../Display/NavDisplayGUI_exec/AddNavUnitCmd.cpp | 28 - .../OEP/Display/NavDisplayGUI_exec/AddNavUnitCmd.h | 27 - .../OEP/Display/NavDisplayGUI_exec/Command.h | 20 - .../OEP/Display/NavDisplayGUI_exec/DetailView.cpp | 165 - .../OEP/Display/NavDisplayGUI_exec/DetailView.h | 51 - .../OEP/Display/NavDisplayGUI_exec/MapView.cpp | 38 - .../OEP/Display/NavDisplayGUI_exec/MapView.h | 23 - .../NavDisplayGUI_exec/NavDisplayGUI_exec.cpp | 184 - .../NavDisplayGUI_exec/NavDisplayGUI_exec.dsp | 408 -- .../NavDisplayGUI_exec/NavDisplayGUI_exec.h | 110 - .../OEP/Display/NavDisplayGUI_exec/NavUnit.cpp | 9 - .../OEP/Display/NavDisplayGUI_exec/NavUnit.h | 57 - .../OEP/Display/NavDisplayGUI_exec/NodeItem.cpp | 63 - .../OEP/Display/NavDisplayGUI_exec/NodeItem.h | 49 - .../OEP/Display/NavDisplayGUI_exec/QuitCmd.cpp | 25 - .../OEP/Display/NavDisplayGUI_exec/QuitCmd.h | 25 - .../examples/OEP/Display/NavDisplayGUI_exec/README | 7 - .../OEP/Display/NavDisplayGUI_exec/RootPanel.cpp | 90 - .../OEP/Display/NavDisplayGUI_exec/RootPanel.h | 45 - .../NavDisplayGUI_exec/UpdatePositionCmd.cpp | 30 - .../Display/NavDisplayGUI_exec/UpdatePositionCmd.h | 28 - .../OEP/Display/NavDisplayGUI_exec/Worker.cpp | 48 - .../OEP/Display/NavDisplayGUI_exec/Worker.h | 35 - .../OEP/Display/NavDisplayGUI_exec/trolltech.gif | Bin 42629 -> 0 bytes .../OEP/Display/NavDisplayGUI_exec/worldmap1.gif | Bin 207612 -> 0 bytes .../OEP/Display/NavDisplayGUI_exec/worldmap1.xpm | 651 -- TAO/CIAO/examples/OEP/Display/README | 56 - TAO/CIAO/examples/OEP/Display/RateGen/RateGen.cidl | 12 - TAO/CIAO/examples/OEP/Display/RateGen/RateGen.idl | 34 - .../examples/OEP/Display/RateGen/RateGenEI.idl | 31 - .../OEP/Display/RateGen/RateGen_client.dsp | 158 - .../examples/OEP/Display/RateGen/RateGen_exec.cpp | 279 - .../examples/OEP/Display/RateGen/RateGen_exec.dsp | 146 - .../examples/OEP/Display/RateGen/RateGen_exec.h | 180 - .../OEP/Display/RateGen/RateGen_exec_export.h | 50 - .../examples/OEP/Display/RateGen/RateGen_stub.dsp | 172 - .../OEP/Display/RateGen/RateGen_stub_export.h | 50 - .../examples/OEP/Display/RateGen/RateGen_svnt.dsp | 239 - .../OEP/Display/RateGen/RateGen_svnt_export.h | 50 - TAO/CIAO/examples/OEP/Display/RateGen/client.cpp | 66 - TAO/CIAO/examples/OEP/Display/RateGen/config | 1 - .../examples/OEP/Display/RateGen/controller.cpp | 121 - .../examples/OEP/Display/RateGen/controller.dsp | 158 - TAO/CIAO/examples/OEP/Display/RateGen/run_test.pl | 112 - TAO/CIAO/examples/OEP/Display/cleanup_mpcfiles.cmd | 1 - .../Display/descriptors/CIAO_Installation_Data.ini | 9 - .../OEP/Display/descriptors/DuelDisplay.cad | 114 - TAO/CIAO/examples/OEP/Display/descriptors/GPS.csd | 64 - TAO/CIAO/examples/OEP/Display/descriptors/GPS.ssd | 48 - .../OEP/Display/descriptors/GPS_tracing.csd | 64 - .../examples/OEP/Display/descriptors/HUDisplay.cad | 82 - .../OEP/Display/descriptors/HUDisplayGUI.cad | 82 - TAO/CIAO/examples/OEP/Display/descriptors/NOTE.txt | 135 - .../OEP/Display/descriptors/NavDisplay.csd | 64 - .../OEP/Display/descriptors/NavDisplay.ssd | 48 - .../OEP/Display/descriptors/NavDisplayGUI.csd | 64 - .../examples/OEP/Display/descriptors/RateGen.csd | 64 - .../examples/OEP/Display/descriptors/RateGen.ssd | 48 - .../OEP/Display/descriptors/RemoteDisplay.cad | 84 - .../OEP/Display/descriptors/RemoteDisplayGUI.cad | 84 - TAO/CIAO/examples/OEP/Display/descriptors/test.dat | 2 - .../handcrafted/BasicSP/BMClosedED/BMClosedED.cidl | 19 - .../handcrafted/BasicSP/BMClosedED/BMClosedED.idl | 17 - .../handcrafted/BasicSP/BMClosedED/BMClosedED.mpc | 57 - .../handcrafted/BasicSP/BMClosedED/BMClosedEDE.idl | 76 - .../BasicSP/BMClosedED/BMClosedEDEI.idl | 33 - .../BasicSP/BMClosedED/BMClosedED_exec.cpp | 149 - .../BasicSP/BMClosedED/BMClosedED_exec.h | 119 - .../BasicSP/BMClosedED/BMClosedED_exec_export.h | 50 - .../BasicSP/BMClosedED/BMClosedED_stub_export.h | 50 - .../BasicSP/BMClosedED/BMClosedED_svnt.cpp | 1125 --- .../BasicSP/BMClosedED/BMClosedED_svnt.h | 510 -- .../BasicSP/BMClosedED/BMClosedED_svnt_export.h | 50 - .../examples/handcrafted/BasicSP/BMClosedED/config | 1 - .../handcrafted/BasicSP/BMDevice/BMDevice.cidl | 19 - .../handcrafted/BasicSP/BMDevice/BMDevice.idl | 30 - .../handcrafted/BasicSP/BMDevice/BMDevice.mpc | 59 - .../handcrafted/BasicSP/BMDevice/BMDeviceE.idl | 64 - .../handcrafted/BasicSP/BMDevice/BMDeviceEI.idl | 30 - .../handcrafted/BasicSP/BMDevice/BMDevice_exec.cpp | 126 - .../handcrafted/BasicSP/BMDevice/BMDevice_exec.h | 122 - .../BasicSP/BMDevice/BMDevice_exec_export.h | 50 - .../BasicSP/BMDevice/BMDevice_stub_export.h | 50 - .../handcrafted/BasicSP/BMDevice/BMDevice_svnt.cpp | 981 --- .../handcrafted/BasicSP/BMDevice/BMDevice_svnt.h | 475 -- .../BasicSP/BMDevice/BMDevice_svnt_export.h | 50 - .../examples/handcrafted/BasicSP/BMDevice/config | 1 - .../handcrafted/BasicSP/BMDisplay/BMDisplay.cidl | 18 - .../handcrafted/BasicSP/BMDisplay/BMDisplay.idl | 15 - .../handcrafted/BasicSP/BMDisplay/BMDisplay.mpc | 58 - .../handcrafted/BasicSP/BMDisplay/BMDisplayE.idl | 73 - .../handcrafted/BasicSP/BMDisplay/BMDisplayEI.idl | 33 - .../BasicSP/BMDisplay/BMDisplay_exec.cpp | 135 - .../handcrafted/BasicSP/BMDisplay/BMDisplay_exec.h | 102 - .../BasicSP/BMDisplay/BMDisplay_exec_export.h | 50 - .../BasicSP/BMDisplay/BMDisplay_stub_export.h | 50 - .../BasicSP/BMDisplay/BMDisplay_svnt.cpp | 955 --- .../handcrafted/BasicSP/BMDisplay/BMDisplay_svnt.h | 472 -- .../BasicSP/BMDisplay/BMDisplay_svnt_export.h | 50 - .../examples/handcrafted/BasicSP/BMDisplay/config | 1 - TAO/CIAO/examples/handcrafted/BasicSP/BasicSP.idl | 47 - TAO/CIAO/examples/handcrafted/BasicSP/BasicSP.mpc | 36 - TAO/CIAO/examples/handcrafted/BasicSP/BasicSPE.idl | 58 - .../handcrafted/BasicSP/BasicSP_stub_export.h | 50 - .../examples/handcrafted/BasicSP/BasicSP_svnt.cpp | 61 - .../examples/handcrafted/BasicSP/BasicSP_svnt.h | 73 - .../handcrafted/BasicSP/BasicSP_svnt_export.h | 50 - TAO/CIAO/examples/handcrafted/BasicSP/EC/EC.cidl | 21 - TAO/CIAO/examples/handcrafted/BasicSP/EC/EC.idl | 41 - TAO/CIAO/examples/handcrafted/BasicSP/EC/EC.mpc | 86 - TAO/CIAO/examples/handcrafted/BasicSP/EC/ECE.idl | 68 - TAO/CIAO/examples/handcrafted/BasicSP/EC/ECEI.idl | 32 - .../examples/handcrafted/BasicSP/EC/EC_exec.cpp | 279 - TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_exec.h | 182 - .../handcrafted/BasicSP/EC/EC_exec_export.h | 50 - .../handcrafted/BasicSP/EC/EC_stub_export.h | 50 - .../examples/handcrafted/BasicSP/EC/EC_svnt.cpp | 895 --- TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_svnt.h | 391 -- .../handcrafted/BasicSP/EC/EC_svnt_export.h | 50 - TAO/CIAO/examples/handcrafted/BasicSP/EC/README | 9 - .../examples/handcrafted/BasicSP/EC/client.cpp | 72 - TAO/CIAO/examples/handcrafted/BasicSP/EC/config | 1 - .../examples/handcrafted/BasicSP/EC/controller.cpp | 125 - TAO/CIAO/examples/handcrafted/BasicSP/README | 9 - .../handcrafted/BasicSP/descriptors/BMClosedED.csd | 45 - .../handcrafted/BasicSP/descriptors/BMClosedED.ssd | 43 - .../handcrafted/BasicSP/descriptors/BMDevice.csd | 46 - .../handcrafted/BasicSP/descriptors/BMDevice.ssd | 43 - .../handcrafted/BasicSP/descriptors/BMDisplay.csd | 46 - .../handcrafted/BasicSP/descriptors/BMDisplay.ssd | 43 - .../handcrafted/BasicSP/descriptors/BasicSP.cad | 109 - .../BasicSP/descriptors/CIAO_Installation_Data.ini | 9 - .../handcrafted/BasicSP/descriptors/EC.csd | 46 - .../handcrafted/BasicSP/descriptors/EC.ssd | 43 - .../handcrafted/BasicSP/descriptors/test.dat | 2 - .../handcrafted/Display/Configuration-0.png | Bin 8334 -> 0 bytes TAO/CIAO/examples/handcrafted/Display/GPS/GPS.idl | 25 - TAO/CIAO/examples/handcrafted/Display/GPS/GPS.mpc | 74 - TAO/CIAO/examples/handcrafted/Display/GPS/GPSE.idl | 75 - .../examples/handcrafted/Display/GPS/GPSEI.idl | 33 - .../examples/handcrafted/Display/GPS/GPS_exec.cpp | 131 - .../examples/handcrafted/Display/GPS/GPS_exec.h | 127 - .../handcrafted/Display/GPS/GPS_exec_export.h | 50 - .../handcrafted/Display/GPS/GPS_stub_export.h | 50 - .../examples/handcrafted/Display/GPS/GPS_svnt.cpp | 857 --- .../examples/handcrafted/Display/GPS/GPS_svnt.h | 482 -- .../examples/handcrafted/Display/GPS/GPS_svnt.inl | 197 - .../handcrafted/Display/GPS/GPS_svnt_export.h | 50 - .../handcrafted/Display/GPS/GPS_tracing_exec.cpp | 137 - .../handcrafted/Display/GPS/GPS_tracing_exec.h | 125 - .../examples/handcrafted/Display/HUDisplay.idl | 48 - .../examples/handcrafted/Display/HUDisplay.mpc | 36 - .../examples/handcrafted/Display/HUDisplayE.idl | 47 - .../handcrafted/Display/HUDisplay_stub_export.h | 50 - .../handcrafted/Display/HUDisplay_svnt.cpp | 35 - .../examples/handcrafted/Display/HUDisplay_svnt.h | 75 - .../handcrafted/Display/HUDisplay_svnt.inl | 41 - .../handcrafted/Display/HUDisplay_svnt_export.h | 50 - TAO/CIAO/examples/handcrafted/Display/NOTE | 54 - .../handcrafted/Display/NavDisplay/NavDisplay.idl | 29 - .../handcrafted/Display/NavDisplay/NavDisplay.mpc | 58 - .../handcrafted/Display/NavDisplay/NavDisplayE.idl | 72 - .../Display/NavDisplay/NavDisplayEI.idl | 32 - .../Display/NavDisplay/NavDisplay_exec.cpp | 128 - .../Display/NavDisplay/NavDisplay_exec.h | 101 - .../Display/NavDisplay/NavDisplay_exec_export.h | 50 - .../Display/NavDisplay/NavDisplay_stub_export.h | 50 - .../Display/NavDisplay/NavDisplay_svnt.cpp | 797 --- .../Display/NavDisplay/NavDisplay_svnt.h | 485 -- .../Display/NavDisplay/NavDisplay_svnt.inl | 202 - .../Display/NavDisplay/NavDisplay_svnt_export.h | 50 - .../handcrafted/Display/NavDisplay/run_test.pl | 108 - .../Display/NavDisplayGUI_exec/AddNavUnitCmd.cpp | 28 - .../Display/NavDisplayGUI_exec/AddNavUnitCmd.h | 27 - .../Display/NavDisplayGUI_exec/Command.h | 20 - .../Display/NavDisplayGUI_exec/DetailView.cpp | 165 - .../Display/NavDisplayGUI_exec/DetailView.h | 51 - .../Display/NavDisplayGUI_exec/MapView.cpp | 38 - .../Display/NavDisplayGUI_exec/MapView.h | 23 - .../Display/NavDisplayGUI_exec/NavDisplayGUI.mpc | 54 - .../NavDisplayGUI_exec/NavDisplayGUI_exec.cpp | 184 - .../NavDisplayGUI_exec/NavDisplayGUI_exec.h | 110 - .../Display/NavDisplayGUI_exec/NavUnit.cpp | 9 - .../Display/NavDisplayGUI_exec/NavUnit.h | 57 - .../Display/NavDisplayGUI_exec/NodeItem.cpp | 63 - .../Display/NavDisplayGUI_exec/NodeItem.h | 49 - .../Display/NavDisplayGUI_exec/QuitCmd.cpp | 25 - .../Display/NavDisplayGUI_exec/QuitCmd.h | 25 - .../handcrafted/Display/NavDisplayGUI_exec/README | 7 - .../Display/NavDisplayGUI_exec/RootPanel.cpp | 90 - .../Display/NavDisplayGUI_exec/RootPanel.h | 45 - .../NavDisplayGUI_exec/UpdatePositionCmd.cpp | 30 - .../Display/NavDisplayGUI_exec/UpdatePositionCmd.h | 28 - .../Display/NavDisplayGUI_exec/Worker.cpp | 48 - .../Display/NavDisplayGUI_exec/Worker.h | 35 - .../Display/NavDisplayGUI_exec/trolltech.gif | Bin 42629 -> 0 bytes .../Display/NavDisplayGUI_exec/worldmap1.gif | Bin 207612 -> 0 bytes .../Display/NavDisplayGUI_exec/worldmap1.xpm | 651 -- TAO/CIAO/examples/handcrafted/Display/README | 30 - .../handcrafted/Display/RateGen/RateGen.cidl | 12 - .../handcrafted/Display/RateGen/RateGen.idl | 34 - .../handcrafted/Display/RateGen/RateGen.mpc | 86 - .../handcrafted/Display/RateGen/RateGenE.idl | 68 - .../handcrafted/Display/RateGen/RateGenEI.idl | 31 - .../handcrafted/Display/RateGen/RateGen_exec.cpp | 279 - .../handcrafted/Display/RateGen/RateGen_exec.h | 180 - .../Display/RateGen/RateGen_exec_export.h | 50 - .../Display/RateGen/RateGen_stub_export.h | 50 - .../handcrafted/Display/RateGen/RateGen_svnt.cpp | 725 -- .../handcrafted/Display/RateGen/RateGen_svnt.h | 400 -- .../handcrafted/Display/RateGen/RateGen_svnt.inl | 224 - .../Display/RateGen/RateGen_svnt_export.h | 50 - .../handcrafted/Display/RateGen/client.cpp | 66 - .../handcrafted/Display/RateGen/controller.cpp | 121 - .../handcrafted/Display/RateGen/run_test.pl | 112 - .../handcrafted/Display/cleanup_mpcfiles.cmd | 1 - .../Display/descriptors/CIAO_Installation_Data.ini | 9 - .../Display/descriptors/DuelDisplay.cad | 114 - .../handcrafted/Display/descriptors/GPS.csd | 64 - .../handcrafted/Display/descriptors/GPS.ssd | 48 - .../Display/descriptors/GPS_tracing.csd | 64 - .../handcrafted/Display/descriptors/HUDisplay.cad | 82 - .../Display/descriptors/HUDisplayGUI.cad | 82 - .../handcrafted/Display/descriptors/NOTE.txt | 141 - .../handcrafted/Display/descriptors/NavDisplay.csd | 64 - .../handcrafted/Display/descriptors/NavDisplay.ssd | 48 - .../Display/descriptors/NavDisplayGUI.csd | 64 - .../handcrafted/Display/descriptors/RateGen.csd | 64 - .../handcrafted/Display/descriptors/RateGen.ssd | 48 - .../Display/descriptors/RemoteDisplay.cad | 84 - .../Display/descriptors/RemoteDisplayGUI.cad | 84 - .../handcrafted/Display/descriptors/test.dat | 2 - .../handcrafted/Hello/CIAO_Installation_Data.ini | 3 - TAO/CIAO/examples/handcrafted/Hello/README | 131 - TAO/CIAO/examples/handcrafted/Hello/client.cpp | 116 - TAO/CIAO/examples/handcrafted/Hello/config | 1 - TAO/CIAO/examples/handcrafted/Hello/hello.ccd | 70 - TAO/CIAO/examples/handcrafted/Hello/hello.cidl | 17 - TAO/CIAO/examples/handcrafted/Hello/hello.csd | 75 - TAO/CIAO/examples/handcrafted/Hello/hello.idl | 19 - TAO/CIAO/examples/handcrafted/Hello/hello.mpc | 76 - TAO/CIAO/examples/handcrafted/Hello/hello.ssd | 53 - TAO/CIAO/examples/handcrafted/Hello/helloC.idl | 38 - TAO/CIAO/examples/handcrafted/Hello/helloE.idl | 50 - .../examples/handcrafted/Hello/hello_executors.cpp | 52 - .../examples/handcrafted/Hello/hello_executors.h | 53 - .../handcrafted/Hello/hello_executors_export.h | 50 - .../examples/handcrafted/Hello/hello_servants.cpp | 717 -- .../examples/handcrafted/Hello/hello_servants.h | 312 - .../handcrafted/Hello/hello_servants_export.h | 50 - .../examples/handcrafted/Hello/hello_stub_export.h | 50 - .../examples/handcrafted/Hello/run_simple_test.pl | 47 - TAO/CIAO/examples/handcrafted/Hello/run_test.pl | 110 - .../examples/handcrafted/Hello/simple_client.cpp | 102 - .../handcrafted/Philosophers/Philosophers.idl | 75 - .../handcrafted/Philosophers/PhilosophersC.idl | 52 - .../handcrafted/Philosophers/PhilosophersS.idl | 56 - TAO/CIAO/tests/temp/README | 3 - TAO/CIAO/tests/temp/assembly/README | 4 - TAO/CIAO/tests/temp/assembly/client.cpp | 120 - TAO/CIAO/tests/temp/assembly/control.idl | 13 - TAO/CIAO/tests/temp/assembly/control.mpc | 18 - TAO/CIAO/tests/temp/assembly/run_test.pl | 42 - TAO/CIAO/tests/temp/assembly/server.cpp | 169 - .../tools/Assembly_Deployer/Assembly_Deployer.cpp | 125 - .../tools/Assembly_Deployer/Assembly_Deployer.mpc | 23 - TAO/CIAO/tools/Assembly_Deployer/Assembly_Impl.cpp | 509 -- TAO/CIAO/tools/Assembly_Deployer/Assembly_Impl.h | 201 - TAO/CIAO/tools/Assembly_Deployer/Assembly_Impl.inl | 28 - .../tools/Assembly_Deployer/Assembly_Manager.cpp | 219 - .../tools/Assembly_Deployer/Assembly_Service.idl | 15 - .../Assembly_Deployer/Assembly_Service_Impl.cpp | 36 - .../Assembly_Deployer/Assembly_Service_Impl.h | 63 - .../tools/Assembly_Deployer/Assembly_Visitors.cpp | 336 - .../tools/Assembly_Deployer/Assembly_Visitors.h | 135 - .../tools/Assembly_Deployer/Assembly_Visitors.inl | 13 - .../Assembly_Deployer/Deployment_Configuration.cpp | 118 - .../Assembly_Deployer/Deployment_Configuration.h | 126 - .../Assembly_Deployer/Deployment_Configuration.inl | 1 - TAO/CIAO/tools/ComponentServer/ComponentServer.cpp | 196 - TAO/CIAO/tools/ComponentServer/ComponentServer.mpc | 17 - .../ComponentServer_test_client.cpp | 114 - TAO/CIAO/tools/ComponentServer/README | 15 - TAO/CIAO/tools/Daemon/CIAO_Daemon.cpp | 246 - TAO/CIAO/tools/Daemon/CIAO_Installation_Data.ini | 1 - TAO/CIAO/tools/Daemon/Daemon.idl | 28 - TAO/CIAO/tools/Daemon/Daemon.mpc | 35 - TAO/CIAO/tools/Daemon/DaemonController.cpp | 56 - TAO/CIAO/tools/Daemon/Daemon_Commands.cpp | 348 - TAO/CIAO/tools/Daemon/Daemon_Commands.h | 163 - TAO/CIAO/tools/Daemon/Daemon_Commands.inl | 38 - TAO/CIAO/tools/Daemon/Daemon_Impl.cpp | 113 - TAO/CIAO/tools/Daemon/Daemon_Impl.h | 104 - TAO/CIAO/tools/Daemon/Daemon_Impl.inl | 12 - TAO/CIAO/tools/Daemon/README | 99 - TAO/CIAO/tools/Daemon/Softpkg_Commands.cpp | 223 - TAO/CIAO/tools/Daemon/Softpkg_Commands.h | 89 - TAO/CIAO/tools/Daemon/Softpkg_Commands.inl | 14 - TAO/CIAO/tools/Daemon/controller_i.cpp | 138 - TAO/CIAO/tools/Daemon/controller_i.h | 119 - TAO/CIAO/tools/Daemon/controller_i.inl | 32 - TAO/CIAO/tools/ServerActivator/README | 47 - TAO/CIAO/tools/ServerActivator/ServerActivator.cpp | 179 - TAO/CIAO/tools/ServerActivator/ServerActivator.mpc | 15 - .../ServerActivator_test_client.cpp | 177 - TAO/CIAO/tools/Simple_Component_Server/Makefile | 46 - TAO/CIAO/tools/Simple_Component_Server/README | 72 - .../Simple_Component_Server.cpp | 259 - .../Simple_Component_Server.mpc | 40 - .../Simple_Component_Server/Simple_Server.idl | 25 - .../Simple_Server_Stub_Export.h | 50 - .../Simple_Component_Server/Simple_Server_i.cpp | 56 - .../Simple_Component_Server/Simple_Server_i.h | 70 - .../Simple_Component_Server/sample_client.cpp | 82 - TAO/CIAO/tools/XML_Helpers/Assembly_Handlers.cpp | 924 --- TAO/CIAO/tools/XML_Helpers/Assembly_Handlers.h | 323 - TAO/CIAO/tools/XML_Helpers/Assembly_Handlers.inl | 117 - TAO/CIAO/tools/XML_Helpers/Assembly_Spec.cpp | 101 - TAO/CIAO/tools/XML_Helpers/Assembly_Spec.h | 395 -- TAO/CIAO/tools/XML_Helpers/Assembly_Spec.inl | 189 - .../tools/XML_Helpers/Cascadable_DocHandler.cpp | 161 - TAO/CIAO/tools/XML_Helpers/Cascadable_DocHandler.h | 252 - TAO/CIAO/tools/XML_Helpers/Cascadable_DocHandler.i | 55 - TAO/CIAO/tools/XML_Helpers/Handler-Interaction.png | Bin 3320 -> 0 bytes TAO/CIAO/tools/XML_Helpers/Handler-Interaction.vsd | Bin 196096 -> 0 bytes TAO/CIAO/tools/XML_Helpers/README | 16 - TAO/CIAO/tools/XML_Helpers/Softpkg_Handlers.cpp | 275 - TAO/CIAO/tools/XML_Helpers/Softpkg_Handlers.h | 196 - TAO/CIAO/tools/XML_Helpers/Softpkg_Handlers.inl | 26 - TAO/CIAO/tools/XML_Helpers/Svcconf_Handler.cpp | 524 -- TAO/CIAO/tools/XML_Helpers/Svcconf_Handler.h | 296 - TAO/CIAO/tools/XML_Helpers/Svcconf_Handler.i | 133 - TAO/CIAO/tools/XML_Helpers/XMLHelpers.mpc | 21 - TAO/CIAO/tools/XML_Helpers/XML_Helpers_Export.h | 50 - TAO/CIAO/tools/XML_Helpers/XML_Utils.cpp | 181 - TAO/CIAO/tools/XML_Helpers/XML_Utils.h | 70 - TAO/CIAO/tools/XML_Helpers/XML_Utils.inl | 1 - TAO/CIAO/tools/XML_Helpers/main.cpp | 59 - TAO/CIAO/tools/XML_Helpers/svc.conf.xml | 58 - TAO/man/man1/TAO_Concurrency_Service.1 | 53 - TAO/man/man1/TAO_CosEvent_Service.1 | 88 - TAO/man/man1/TAO_Event_Service.1 | 58 - TAO/man/man1/tao_idl.1 | 167 - TAO/man/man7/TAO.7 | 386 - TAO/performance-tests/AMI_Latency/Roundtrip.cpp | 26 - TAO/performance-tests/AMI_Latency/Roundtrip.h | 46 - .../AMI_Latency/Roundtrip_Handler.cpp | 75 - .../AMI_Latency/Roundtrip_Handler.h | 61 - TAO/performance-tests/AMI_Latency/Server_Task.cpp | 24 - TAO/performance-tests/AMI_Latency/client.cpp | 185 - TAO/performance-tests/AMI_Latency/server.cpp | 155 - TAO/performance-tests/DII_Latency/Roundtrip.cpp | 26 - TAO/performance-tests/DII_Latency/Roundtrip.h | 46 - TAO/performance-tests/DII_Latency/client.cpp | 178 - TAO/performance-tests/DII_Latency/server.cpp | 136 - TAO/performance-tests/DSI_Latency/Roundtrip.cpp | 97 - TAO/performance-tests/DSI_Latency/Roundtrip.h | 48 - TAO/performance-tests/DSI_Latency/client.cpp | 163 - TAO/performance-tests/DSI_Latency/server.cpp | 142 - .../Deferred_Latency/Roundtrip.cpp | 26 - TAO/performance-tests/Deferred_Latency/Roundtrip.h | 46 - TAO/performance-tests/Deferred_Latency/client.cpp | 203 - TAO/performance-tests/Deferred_Latency/server.cpp | 136 - .../Endpoint_Per_Priority/Makefile | 616 -- .../Single_Threaded_Latency/Roundtrip.cpp | 26 - .../Single_Threaded_Latency/Roundtrip.h | 46 - .../Single_Threaded_Latency/client.cpp | 164 - .../Single_Threaded_Latency/server.cpp | 136 - .../Thread_Per_Connection_Latency/Client_Task.cpp | 65 - .../Thread_Per_Connection_Latency/Client_Task.h | 46 - .../Thread_Per_Connection_Latency/Roundtrip.cpp | 26 - .../Thread_Per_Connection_Latency/Roundtrip.h | 46 - .../Thread_Per_Connection_Latency/client.cpp | 149 - .../Thread_Per_Connection_Latency/server.cpp | 136 - .../Thread_Pool_Latency/Client_Task.cpp | 65 - .../Thread_Pool_Latency/Client_Task.h | 46 - .../Thread_Pool_Latency/Roundtrip.cpp | 26 - .../Thread_Pool_Latency/Roundtrip.h | 46 - .../Thread_Pool_Latency/Worker_Thread.cpp | 24 - .../Thread_Pool_Latency/client.cpp | 149 - .../Thread_Pool_Latency/server.cpp | 139 - bin/MakeProjectCreator/config/taoversion.mpb | 2 +- configure.ac | 7396 -------------------- java/ChangeLog | 143 - java/EAC/BoundsException.java | 13 - java/EAC/Configuration.java | 220 - java/EAC/Configurator.java | 58 - java/EAC/ConnectionException.java | 14 - java/EAC/Connector.java | 197 - java/EAC/EACComponent.java | 460 -- java/EAC/EACFont.java | 21 - java/EAC/EACLabel.java | 187 - java/EAC/EACMenuBar.java | 198 - java/EAC/EACPanel.java | 425 -- java/EAC/EACPrintStream.java | 16 - java/EAC/EmptyQueueException.java | 13 - java/EAC/File.java | 118 - java/EAC/InputMode.java | 32 - java/EAC/Intersection.java | 62 - java/EAC/Operator.java | 206 - java/EAC/Primitive.java | 121 - java/EAC/Queue.java | 94 - java/EAC/README | 6 - java/EAC/ResourcePool.java | 46 - java/EAC/Rubberband.java | 103 - java/EAC/RubberbandLine.java | 28 - java/EAC/Sink.java | 231 - java/EAC/Source.java | 341 - java/EAC/System_Manual.doc | Bin 83968 -> 0 bytes java/EAC/TooManyPrimitivesException.java | 13 - java/EAC/Union.java | 56 - java/EAC/User_Manual.doc | Bin 95232 -> 0 bytes java/ImageProcessing/ImageProcessing.dsp | 253 - java/ImageProcessing/ImageProcessing.dsw | 29 - java/ImageProcessing/filters/Assert.java | 33 - java/ImageProcessing/filters/BleachFilter.java | 65 - java/ImageProcessing/filters/BlurFilter.java | 95 - java/ImageProcessing/filters/DarkenFilter.java | 48 - java/ImageProcessing/filters/DeSpeckleFilter.java | 123 - java/ImageProcessing/filters/DissolveFilter.java | 52 - java/ImageProcessing/filters/EdgeDetectFilter.java | 250 - java/ImageProcessing/filters/EmbossFilter.java | 86 - java/ImageProcessing/filters/Makefile | 36 - java/ImageProcessing/filters/MedFilter.java | 6 - java/ImageProcessing/filters/OilPaintFilter.java | 97 - java/ImageProcessing/filters/PixelizeFilter.java | 117 - java/ImageProcessing/filters/RandomizeFilter.java | 36 - java/ImageProcessing/filters/RotateFilter.java | 358 - java/ImageProcessing/filters/SharpenFilter.java | 272 - java/ImageProcessing/filters/SpatialFilter.java | 213 - java/ImageProcessing/filters/SpreadFilter.java | 130 - java/ImageProcessing/filters/Timer.java | 23 - java/ImageProcessing/framework/BaseButton.java | 234 - .../ImageProcessing/framework/BenchmarkApplet.java | 622 -- java/ImageProcessing/framework/DialogManager.java | 277 - java/ImageProcessing/framework/DialogType.java | 11 - java/ImageProcessing/framework/FileBrowser.java | 173 - java/ImageProcessing/framework/FilePanel.java | 161 - java/ImageProcessing/framework/FilterTest.java | 62 - java/ImageProcessing/framework/GIFHandler.java | 75 - java/ImageProcessing/framework/GifEncoder.java | 693 -- java/ImageProcessing/framework/Hierarchy.java | 347 - .../framework/HierarchyAdapter.java | 34 - java/ImageProcessing/framework/Icon.java | 70 - java/ImageProcessing/framework/ImageApp.java | 303 - .../framework/ImageByteCounter.java | 94 - java/ImageProcessing/framework/ImageCanvas.java | 166 - java/ImageProcessing/framework/ImageEncoder.java | 271 - java/ImageProcessing/framework/ImageProcessor.java | 111 - java/ImageProcessing/framework/ImageSender.java | 128 - java/ImageProcessing/framework/IntHashtable.java | 396 -- java/ImageProcessing/framework/ListFiles.java | 167 - java/ImageProcessing/framework/LoadURLFrame.java | 142 - java/ImageProcessing/framework/Makefile | 45 - java/ImageProcessing/framework/MedJava.html | 15 - java/ImageProcessing/framework/Options.java | 25 - java/ImageProcessing/framework/SaveURLFrame.java | 133 - java/ImageProcessing/framework/Separator.java | 90 - java/ImageProcessing/framework/ServerHandler.java | 50 - java/ImageProcessing/framework/ServerTest.java | 67 - java/ImageProcessing/framework/StatusDisplay.java | 23 - .../ImageProcessing/framework/StatusIndicator.java | 70 - java/ImageProcessing/framework/TestHandler.java | 149 - java/ImageProcessing/framework/Tester.java | 148 - java/ImageProcessing/framework/doc01.gif | Bin 223 -> 0 bytes java/ImageProcessing/framework/file03.gif | Bin 267 -> 0 bytes java/ImageProcessing/framework/filter.conf | 15 - java/ImageProcessing/framework/help.conf | 216 - java/ImageProcessing/framework/test.html | 20 - java/ImageProcessing/framework/testFilter.conf | 15 - java/JACE/ASX/IOCntlCmds.java | 38 - java/JACE/ASX/IOCntlMsg.java | 124 - java/JACE/ASX/MessageBlock.java | 447 -- java/JACE/ASX/MessageQueue.java | 633 -- java/JACE/ASX/MessageType.java | 102 - java/JACE/ASX/Module.java | 246 - java/JACE/ASX/Stream.java | 436 -- java/JACE/ASX/StreamHead.java | 123 - java/JACE/ASX/StreamTail.java | 114 - java/JACE/ASX/Task.java | 443 -- java/JACE/ASX/TaskFlags.java | 49 - java/JACE/ASX/ThruTask.java | 44 - java/JACE/ASX/TimeValue.java | 296 - java/JACE/ASX/TimedWait.java | 157 - java/JACE/ASX/TimeoutException.java | 37 - java/JACE/ASX/package.html | 11 - java/JACE/Concurrency/AbstractLock.java | 269 - java/JACE/Concurrency/Condition.java | 124 - java/JACE/Concurrency/LockAdapter.java | 262 - java/JACE/Concurrency/LockException.java | 28 - java/JACE/Concurrency/Mutex.java | 239 - java/JACE/Concurrency/RWMutex.java | 268 - java/JACE/Concurrency/RenewObject.java | 36 - java/JACE/Concurrency/Semaphore.java | 263 - java/JACE/Concurrency/ThreadManager.java | 113 - java/JACE/Concurrency/Token.java | 301 - java/JACE/Concurrency/WaitObject.java | 39 - java/JACE/Concurrency/package.html | 15 - java/JACE/Connection/AcceptStrategy.java | 87 - java/JACE/Connection/Acceptor.java | 215 - java/JACE/Connection/ActivateStrategy.java | 40 - java/JACE/Connection/Blob.java | 114 - java/JACE/Connection/BlobHandler.java | 35 - java/JACE/Connection/BlobReader.java | 108 - java/JACE/Connection/BlobWriter.java | 224 - java/JACE/Connection/Connector.java | 148 - java/JACE/Connection/CreationStrategy.java | 57 - java/JACE/Connection/HTTPHelper.java | 182 - java/JACE/Connection/StrategyAcceptor.java | 174 - java/JACE/Connection/SvcHandler.java | 101 - java/JACE/Connection/package.html | 7 - java/JACE/Makefile | 234 - java/JACE/Misc/GetOpt.java | 171 - java/JACE/Misc/package.html | 6 - java/JACE/OS/ACE.java | 156 - java/JACE/OS/OS.java | 65 - java/JACE/OS/package.html | 6 - java/JACE/Reactor/EventHandler.java | 43 - java/JACE/Reactor/TimerQueue.java | 437 -- java/JACE/Reactor/package.html | 6 - java/JACE/SOCK_SAP/INETAddr.java | 96 - java/JACE/SOCK_SAP/SOCKAcceptor.java | 113 - java/JACE/SOCK_SAP/SOCKConnector.java | 73 - java/JACE/SOCK_SAP/SOCKStream.java | 227 - java/JACE/SOCK_SAP/package.html | 8 - java/JACE/ServiceConfigurator/Service.java | 96 - java/JACE/ServiceConfigurator/ServiceConfig.java | 482 -- java/JACE/ServiceConfigurator/ServiceLoader.java | 254 - java/JACE/ServiceConfigurator/ServiceObject.java | 130 - .../ServiceConfigurator/ServiceRepository.java | 274 - java/JACE/ServiceConfigurator/package.html | 10 - java/JACE/Timers/ProfileTimer.java | 46 - java/JACE/Timers/package.html | 8 - java/JACE/makebat.zip | Bin 1326 -> 0 bytes java/JACE/netsvcs/Handler.java | 185 - java/JACE/netsvcs/Logger/LogRecord.java | 290 - java/JACE/netsvcs/Logger/LoggingStrategy.java | 35 - .../JACE/netsvcs/Logger/ServerLoggingAcceptor.java | 147 - java/JACE/netsvcs/Logger/ServerLoggingHandler.java | 60 - java/JACE/netsvcs/Logger/StderrStrategy.java | 36 - java/JACE/netsvcs/Logger/c.bat | 2 - java/JACE/netsvcs/Logger/package.html | 17 - java/JACE/netsvcs/Naming/NameAcceptor.java | 313 - java/JACE/netsvcs/Naming/NameHandler.java | 473 -- java/JACE/netsvcs/Naming/NameProxy.java | 405 -- java/JACE/netsvcs/Naming/NameReply.java | 169 - java/JACE/netsvcs/Naming/NameRequest.java | 373 - java/JACE/netsvcs/Naming/c.bat | 2 - java/JACE/netsvcs/Naming/package.html | 11 - java/JACE/netsvcs/Server.java | 356 - java/JACE/netsvcs/Time/TSClerkHandler.java | 195 - java/JACE/netsvcs/Time/TSClerkProcessor.java | 307 - java/JACE/netsvcs/Time/TSServerAcceptor.java | 116 - java/JACE/netsvcs/Time/TSServerHandler.java | 53 - java/JACE/netsvcs/Time/TimeInfo.java | 90 - java/JACE/netsvcs/Time/TimeRequest.java | 121 - java/JACE/netsvcs/Time/c.bat | 1 - java/JACE/netsvcs/Time/package.html | 10 - java/JACE/netsvcs/Time/r.bat | 1 - java/JACE/netsvcs/Token/LockHandler.java | 38 - java/JACE/netsvcs/Token/LockHandlerAdapter.java | 380 - java/JACE/netsvcs/Token/LockOperations.java | 16 - java/JACE/netsvcs/Token/LockTypes.java | 19 - java/JACE/netsvcs/Token/MutexHandler.java | 51 - java/JACE/netsvcs/Token/RWMutexHandler.java | 54 - java/JACE/netsvcs/Token/RemoteLock.java | 543 -- java/JACE/netsvcs/Token/RemoteMutex.java | 28 - java/JACE/netsvcs/Token/RemoteRWMutex.java | 29 - java/JACE/netsvcs/Token/TokenAcceptor.java | 353 - java/JACE/netsvcs/Token/TokenReply.java | 171 - java/JACE/netsvcs/Token/TokenRequest.java | 426 -- java/JACE/netsvcs/Token/TokenRequestHandler.java | 180 - java/JACE/netsvcs/Token/package.html | 16 - java/JACE/netsvcs/package.html | 11 - java/JACE/overview.html | 84 - java/JACE/package.html | 32 - java/JACE/tests/ASX/BufferStreamTest.java | 189 - java/JACE/tests/ASX/MessageQueueTest.java | 54 - java/JACE/tests/ASX/PriorityBufferTest.java | 118 - java/JACE/tests/ASX/TaskTest.java | 95 - java/JACE/tests/ASX/ThreadPoolTest.java | 187 - .../JACE/tests/Concurrency/Condition/Consumer.java | 75 - .../Concurrency/Condition/JoinableThreadGroup.java | 24 - .../JACE/tests/Concurrency/Condition/Producer.java | 70 - .../tests/Concurrency/Condition/QueueTest.java | 68 - .../Concurrency/Condition/SimpleMessageQueue.java | 86 - java/JACE/tests/Concurrency/IterationTest.java | 235 - java/JACE/tests/Concurrency/RWMutexTest.java | 137 - java/JACE/tests/Concurrency/TimingTest.java | 290 - java/JACE/tests/Concurrency/TokenTest.java | 95 - java/JACE/tests/Connection/AcceptorTest.java | 83 - java/JACE/tests/Connection/ClientHandler.java | 77 - java/JACE/tests/Connection/ConnectorTest.java | 78 - java/JACE/tests/Connection/HTTPHelperTest.java | 34 - java/JACE/tests/Connection/ServerHandler.java | 68 - java/JACE/tests/Makefile | 115 - java/JACE/tests/Misc/ParseArgsTest.java | 48 - java/JACE/tests/Reactor/TimeValueTest.java | 52 - java/JACE/tests/Reactor/TimerQueueTest.java | 84 - java/JACE/tests/SOCK_SAP/SOCKAcceptorTest.java | 110 - java/JACE/tests/SOCK_SAP/SOCKConnectorTest.java | 97 - java/JACE/tests/ServiceConfigurator/Main.java | 113 - java/JACE/tests/ServiceConfigurator/svc.conf | 4 - java/JACE/tests/netsvcs/Logger/LoggerTest.java | 115 - java/JACE/tests/netsvcs/Naming/ClientTest.java | 107 - java/JACE/tests/netsvcs/Time/TSClient.java | 37 - java/JACE/tests/netsvcs/Token/ProxyClientTest.java | 200 - java/MSVJProjects.zip | Bin 35698 -> 0 bytes java/README | 40 - java/VERSION | 5 - java/apps/NexusII/README | 58 - java/apps/NexusII/classes/ClientHandler.class | Bin 689 -> 0 bytes java/apps/NexusII/classes/FrameHandler.class | Bin 828 -> 0 bytes java/apps/NexusII/classes/ImageCanvas.class | Bin 1771 -> 0 bytes java/apps/NexusII/classes/NexusClientApplet.class | Bin 581 -> 0 bytes java/apps/NexusII/classes/NexusIIserver.class | Bin 1265 -> 0 bytes java/apps/NexusII/classes/Room.class | Bin 2049 -> 0 bytes java/apps/NexusII/classes/RoomFactory.class | Bin 751 -> 0 bytes java/apps/NexusII/classes/RoomFrame.class | Bin 186 -> 0 bytes java/apps/NexusII/classes/RoomThread.class | Bin 79 -> 0 bytes java/apps/NexusII/classes/awtCommand/CApplet.class | Bin 29 -> 0 bytes java/apps/NexusII/classes/awtCommand/CApplet.java | 199 - java/apps/NexusII/classes/awtCommand/CButton.class | Bin 41 -> 0 bytes java/apps/NexusII/classes/awtCommand/CButton.java | 41 - java/apps/NexusII/classes/awtCommand/CCanvas.class | Bin 2249 -> 0 bytes java/apps/NexusII/classes/awtCommand/CCanvas.java | 381 - java/apps/NexusII/classes/awtCommand/CFrame.class | Bin 3543 -> 0 bytes java/apps/NexusII/classes/awtCommand/CFrame.java | 486 -- java/apps/NexusII/classes/awtCommand/CList.class | Bin 825 -> 0 bytes java/apps/NexusII/classes/awtCommand/CList.java | 96 - java/apps/NexusII/classes/awtCommand/CPanel.class | Bin 2246 -> 0 bytes java/apps/NexusII/classes/awtCommand/CPanel.java | 381 - .../NexusII/classes/awtCommand/CTextArea.class | Bin 57 -> 0 bytes .../apps/NexusII/classes/awtCommand/CTextArea.java | 93 - .../NexusII/classes/awtCommand/CTextField.class | Bin 91 -> 0 bytes .../NexusII/classes/awtCommand/CTextField.java | 110 - java/apps/NexusII/classes/awtCommand/Command.class | Bin 253 -> 0 bytes java/apps/NexusII/classes/awtCommand/Command.java | 25 - java/apps/NexusII/classes/commandHandler.class | Bin 58 -> 0 bytes java/apps/NexusII/classes/commandParser.class | Bin 1430 -> 0 bytes java/apps/NexusII/classes/connectionHandler.class | Bin 248 -> 0 bytes java/apps/NexusII/classes/joinHandler.class | Bin 2048 -> 0 bytes java/apps/NexusII/classes/roomHandler.class | Bin 1837 -> 0 bytes java/apps/NexusII/classes/textHandler.class | Bin 1752 -> 0 bytes java/apps/NexusII/src/Consumer.java | 74 - java/apps/NexusII/src/MT_Bounded_Queue.java | 226 - java/apps/NexusII/src/MT_Bounded_Queue_Group.java | 79 - java/apps/NexusII/src/NexusClientApplet.java | 494 -- java/apps/NexusII/src/NexusIIserver.java | 280 - java/apps/NexusII/src/Producer.java | 87 - java/apps/NexusII/src/Room.java | 97 - java/apps/NexusII/src/RoomFrame.java | 297 - java/apps/NexusII/src/RoomSpace.java | 110 - java/apps/NexusII/src/Timed_Wait.java | 86 - java/apps/NexusII/src/Timer.java | 31 - java/apps/NexusII/src/commandHandler.java | 44 - java/apps/NexusII/src/commandParser.java | 124 - java/apps/NexusII/src/connectionHandler.java | 236 - java/apps/NexusII/src/consts.java | 40 - java/apps/NexusII/src/dataPacket.java | 124 - java/apps/NexusII/src/joinHandler.java | 181 - java/apps/NexusII/src/makefile | 15 - java/apps/NexusII/src/nexusDemuxThread.java | 97 - java/apps/NexusII/src/roomHandler.java | 125 - java/apps/NexusII/src/socketReaderThread.java | 126 - java/apps/NexusII/src/socketWriterThread.java | 119 - java/apps/NexusII/src/url_to_url.java | 33 - java/apps/NexusII/start | 27 - java/apps/NexusII/start.html | 4 - java/classes/README.TXT | 2 - java/doc/images/GridBagEx.gif | Bin 2453 -> 0 bytes java/doc/images/OpenBookIcon.gif | Bin 2241 -> 0 bytes java/doc/images/blue-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/blue-ball.gif | Bin 925 -> 0 bytes java/doc/images/class-index.gif | Bin 1497 -> 0 bytes java/doc/images/constructor-index.gif | Bin 1711 -> 0 bytes java/doc/images/constructors.gif | Bin 1565 -> 0 bytes java/doc/images/cyan-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/cyan-ball.gif | Bin 925 -> 0 bytes java/doc/images/error-index.gif | Bin 1438 -> 0 bytes java/doc/images/exception-index.gif | Bin 1707 -> 0 bytes java/doc/images/green-ball-small.gif | Bin 102 -> 0 bytes java/doc/images/green-ball.gif | Bin 886 -> 0 bytes java/doc/images/interface-index.gif | Bin 1648 -> 0 bytes java/doc/images/magenta-ball-small.gif | Bin 104 -> 0 bytes java/doc/images/magenta-ball.gif | Bin 896 -> 0 bytes java/doc/images/method-index.gif | Bin 1588 -> 0 bytes java/doc/images/methods.gif | Bin 1403 -> 0 bytes java/doc/images/package-index.gif | Bin 1607 -> 0 bytes java/doc/images/red-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/red-ball.gif | Bin 527 -> 0 bytes java/doc/images/variable-index.gif | Bin 1576 -> 0 bytes java/doc/images/variables.gif | Bin 1380 -> 0 bytes java/doc/images/yellow-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/yellow-ball.gif | Bin 925 -> 0 bytes java/examples/Logger/README | 29 - java/examples/Logger/simple-server/LogRecord.java | 145 - .../Logger/simple-server/LoggerConstants.java | 7 - .../Logger/simple-server/LoggingAcceptor.java | 33 - .../Logger/simple-server/LoggingClient.java | 108 - .../Logger/simple-server/LoggingHandler.java | 121 - java/examples/Logger/simple-server/Makefile | 34 - java/examples/Logger/simple-server/README | 25 - .../Logger/simple-server/SimpleLogger.java | 44 - java/gjt/Assert.java | 33 - java/gjt/Bargauge.java | 80 - java/gjt/Border.java | 105 - java/gjt/Box.java | 81 - java/gjt/BulletinLayout.java | 100 - java/gjt/ButtonPanel.java | 51 - java/gjt/CardPanel.java | 48 - java/gjt/ChoiceCardPanel.java | 53 - java/gjt/ColumnLayout.java | 154 - java/gjt/ComponentScroller.java | 42 - java/gjt/DialogClient.java | 20 - java/gjt/DrawingPanel.java | 72 - java/gjt/DrawnRectangle.java | 136 - java/gjt/EtchedBorder.java | 59 - java/gjt/EtchedRectangle.java | 97 - java/gjt/Etching.java | 22 - java/gjt/ExclusiveImageButtonPanel.java | 47 - java/gjt/FontDialog.java | 362 - java/gjt/GJT.DSP | 456 -- java/gjt/GJT.DSW | 29 - java/gjt/GJTDialog.java | 51 - java/gjt/IconCardPanel.java | 55 - java/gjt/ImageButton.java | 209 - java/gjt/ImageButtonController.java | 79 - java/gjt/ImageButtonEvent.java | 103 - java/gjt/ImageButtonPanel.java | 106 - java/gjt/ImageButtonPanelController.java | 47 - java/gjt/ImageCanvas.java | 31 - java/gjt/ImageScroller.java | 62 - java/gjt/LabelCanvas.java | 93 - java/gjt/Makefile | 67 - java/gjt/MessageDialog.java | 77 - java/gjt/MouseController.java | 32 - java/gjt/Orientation.java | 87 - java/gjt/ProgressDialog.java | 67 - java/gjt/QuestionDialog.java | 130 - java/gjt/RadioImageButtonPanelController.java | 45 - java/gjt/RowLayout.java | 153 - java/gjt/Scroller.java | 154 - java/gjt/ScrollerLayout.java | 160 - java/gjt/SelectionEvent.java | 82 - java/gjt/Separator.java | 90 - java/gjt/SpringyImageButtonController.java | 54 - java/gjt/StateButton.java | 45 - java/gjt/StateButtonController.java | 27 - java/gjt/StickyImageButtonController.java | 87 - java/gjt/Stopwatch.java | 94 - java/gjt/StopwatchClient.java | 14 - java/gjt/ThreeDBorder.java | 53 - java/gjt/ThreeDBorderStyle.java | 24 - java/gjt/ThreeDRectangle.java | 105 - java/gjt/Toolbar.java | 58 - java/gjt/Util.java | 69 - java/gjt/YesNoDialog.java | 80 - java/gjt/animation/CollisionArena.java | 39 - java/gjt/animation/CollisionDetector.java | 24 - java/gjt/animation/EdgeCollisionDetector.java | 53 - java/gjt/animation/Playfield.java | 140 - java/gjt/animation/Sequence.java | 119 - java/gjt/animation/Sprite.java | 191 - java/gjt/animation/SpriteCollisionDetector.java | 45 - java/gjt/image/BleachImageFilter.java | 53 - java/gjt/image/DissolveFilter.java | 48 - java/gjt/image/ImageDissolver.java | 132 - java/gjt/rubberband/Rubberband.java | 100 - java/gjt/rubberband/RubberbandEllipse.java | 32 - java/gjt/rubberband/RubberbandLine.java | 25 - java/gjt/rubberband/RubberbandPanel.java | 38 - java/gjt/rubberband/RubberbandRectangle.java | 29 - java/gjt/test/AttributesPanel.java | 78 - java/gjt/test/BargaugeTest.java | 130 - java/gjt/test/BleachImageFilterTest.java | 86 - java/gjt/test/BorderTest.java | 202 - java/gjt/test/BoxTest.java | 100 - java/gjt/test/BumpAnimationTest.java | 107 - java/gjt/test/ChoiceCardPanelTest.java | 34 - java/gjt/test/ColumnLayoutTest.java | 126 - java/gjt/test/ComponentScrollerTest.java | 205 - java/gjt/test/ConnectionsPanel.java | 9 - java/gjt/test/DialogTest.java | 140 - java/gjt/test/DrawnRectangleTest.java | 119 - java/gjt/test/FontDialogTest.java | 95 - java/gjt/test/IconCardPanelTest.java | 47 - java/gjt/test/ImageButtonTest.java | 130 - java/gjt/test/ImageDissolverTest.java | 69 - java/gjt/test/ImageScrollerTest.java | 55 - java/gjt/test/LabelCanvasTest.java | 75 - java/gjt/test/MessageDialogTest.java | 50 - java/gjt/test/OccupationOracle.java | 334 - java/gjt/test/RowLayoutTest.java | 124 - java/gjt/test/RubberbandTest.java | 112 - java/gjt/test/SeparatorTest.java | 64 - java/gjt/test/SimpleAnimationTest.java | 87 - java/gjt/test/SimpleBargaugeTest.java | 61 - java/gjt/test/StateButtonTest.java | 41 - java/gjt/test/TenPixelBorder.java | 44 - java/gjt/test/TitledPanel.java | 22 - java/gjt/test/ToolbarTest.java | 111 - java/gjt/test/TwoDrinkersAnimationTest.java | 130 - java/gjt/test/UnitTest.java | 46 - java/java-ace.gif | Bin 11028 -> 0 bytes java/netsvcs/Logger/DefaultLMR.java | 36 - java/netsvcs/Logger/LogMessageReceiver.java | 33 - java/netsvcs/Logger/LogRecord.java | 188 - java/netsvcs/Logger/Makefile | 23 - java/netsvcs/Logger/ServerLoggingAcceptor.java | 171 - java/netsvcs/Logger/ServerLoggingHandler.java | 105 - java/netsvcs/Naming/Makefile | 24 - java/netsvcs/Naming/NameAcceptor.java | 306 - java/netsvcs/Naming/NameHandler.java | 521 -- java/netsvcs/Naming/NameProxy.java | 351 - java/netsvcs/Naming/NameReply.java | 145 - java/netsvcs/Naming/NameRequest.java | 331 - java/netsvcs/Time/Clerk.java | 23 - java/netsvcs/Time/Makefile | 26 - java/netsvcs/Time/Server.java | 23 - java/netsvcs/Time/TSClerkHandler.java | 296 - java/netsvcs/Time/TSClerkProcessor.java | 267 - java/netsvcs/Time/TSRequestAcceptor.java | 142 - java/netsvcs/Time/TSRequestHandler.java | 106 - java/netsvcs/Time/TSServerAcceptor.java | 100 - java/netsvcs/Time/TSServerHandler.java | 99 - java/src/ACE.java | 164 - java/src/AcceptStrategy.java | 89 - java/src/Acceptor.java | 216 - java/src/ActivateStrategy.java | 43 - java/src/AddServiceObjectNode.java | 54 - java/src/Blob.java | 94 - java/src/BlobHandler.java | 35 - java/src/BlobReader.java | 104 - java/src/BlobWriter.java | 220 - java/src/ClassNameGenerator.java | 181 - java/src/ClassReader.java | 146 - java/src/Condition.java | 122 - java/src/Connector.java | 157 - java/src/CreationStrategy.java | 64 - java/src/EventHandler.java | 53 - java/src/GetOpt.java | 150 - java/src/HTTPHelper.java | 84 - java/src/INETAddr.java | 99 - java/src/IOCntlCmds.java | 34 - java/src/IOCntlMsg.java | 128 - java/src/JACE.DSP | 292 - java/src/JACE.DSW | 29 - java/src/Makefile | 153 - java/src/MessageBlock.java | 453 -- java/src/MessageQueue.java | 639 -- java/src/MessageType.java | 110 - java/src/Module.java | 253 - java/src/Mutex.java | 109 - java/src/OS.java | 72 - java/src/ParseNode.java | 69 - java/src/ProfileTimer.java | 48 - java/src/README | 19 - java/src/RWMutex.java | 174 - java/src/RemoveNode.java | 35 - java/src/ResumeNode.java | 34 - java/src/SOCKAcceptor.java | 115 - java/src/SOCKConnector.java | 75 - java/src/SOCKStream.java | 218 - java/src/Semaphore.java | 103 - java/src/ServiceConfig.java | 375 - java/src/ServiceLoader.java | 260 - java/src/ServiceObject.java | 80 - java/src/ServiceObjectRecord.java | 33 - java/src/ServiceRecord.java | 253 - java/src/ServiceRepository.java | 189 - java/src/StrategyAcceptor.java | 156 - java/src/Stream.java | 440 -- java/src/StreamHead.java | 127 - java/src/StreamTail.java | 119 - java/src/SuspendNode.java | 34 - java/src/SvcHandler.java | 85 - java/src/Task.java | 439 -- java/src/TaskFlags.java | 44 - java/src/ThreadManager.java | 109 - java/src/ThruTask.java | 48 - java/src/TimeValue.java | 285 - java/src/TimedWait.java | 150 - java/src/TimeoutException.java | 34 - java/src/TimerQueue.java | 432 -- java/src/Token.java | 336 - java/tests/ASX/BufferStreamTest.dsp | 73 - java/tests/ASX/BufferStreamTest.java | 185 - java/tests/ASX/Makefile | 26 - java/tests/ASX/MessageQueueTest.dsp | 73 - java/tests/ASX/MessageQueueTest.java | 50 - java/tests/ASX/PriorityBufferTest.dsp | 73 - java/tests/ASX/PriorityBufferTest.java | 116 - java/tests/ASX/TaskTest.dsp | 72 - java/tests/ASX/TaskTest.java | 86 - java/tests/ASX/ThreadPoolTest.dsp | 73 - java/tests/ASX/ThreadPoolTest.java | 185 - java/tests/Concurrency/Condition/Condition.dsp | 88 - java/tests/Concurrency/Condition/Consumer.java | 73 - .../Concurrency/Condition/JoinableThreadGroup.java | 24 - java/tests/Concurrency/Condition/Makefile | 25 - java/tests/Concurrency/Condition/Producer.java | 67 - java/tests/Concurrency/Condition/QueueTest.java | 64 - .../Concurrency/Condition/SimpleMessageQueue.java | 86 - java/tests/Concurrency/Makefile | 23 - java/tests/Concurrency/MutexTest.dsp | 72 - java/tests/Concurrency/MutexTest.java | 154 - java/tests/Concurrency/RWMutexTest.dsp | 73 - java/tests/Concurrency/RWMutexTest.java | 93 - java/tests/Concurrency/SemaphoreTest.dsp | 73 - java/tests/Concurrency/SemaphoreTest.java | 102 - java/tests/Concurrency/TokenTest.dsp | 72 - java/tests/Concurrency/TokenTest.java | 73 - java/tests/Connection/AcceptorTest.dsp | 73 - java/tests/Connection/AcceptorTest.java | 79 - java/tests/Connection/ClientHandler.dsp | 73 - java/tests/Connection/ClientHandler.java | 77 - java/tests/Connection/ConnectorTest.dsp | 73 - java/tests/Connection/ConnectorTest.java | 76 - java/tests/Connection/HTTPHelperTest.java | 27 - java/tests/Connection/Makefile | 26 - java/tests/Connection/ServerHandler.dsp | 73 - java/tests/Connection/ServerHandler.java | 68 - java/tests/Misc/Makefile | 21 - java/tests/Misc/ParseArgsTest.dsp | 73 - java/tests/Misc/ParseArgsTest.java | 45 - java/tests/Reactor/Makefile | 22 - java/tests/Reactor/TimeValueTest.dsp | 73 - java/tests/Reactor/TimeValueTest.java | 50 - java/tests/Reactor/TimerQueueTest.dsp | 73 - java/tests/Reactor/TimerQueueTest.java | 80 - java/tests/SOCK_SAP/Makefile | 22 - java/tests/SOCK_SAP/SOCKAcceptorTest.dsp | 73 - java/tests/SOCK_SAP/SOCKAcceptorTest.java | 108 - java/tests/SOCK_SAP/SOCKConnectorTest.dsp | 73 - java/tests/SOCK_SAP/SOCKConnectorTest.java | 95 - java/tests/ServiceConfigurator/Makefile | 25 - .../ServiceConfigurator/ServiceConfigurator.dsp | 81 - java/tests/ServiceConfigurator/TestService.java | 52 - java/tests/ServiceConfigurator/reloadTest.java | 61 - java/tests/ServiceConfigurator/suspendTest.java | 80 - java/tests/ServiceConfigurator/suspendTest1.conf | 1 - java/tests/ServiceConfigurator/suspendTest2.conf | 1 - java/tests/ServiceConfigurator/suspendTest3.conf | 1 - java/tests/ServiceConfigurator/svc.conf | 1 - java/tests/Tests.dsw | 257 - java/tests/netsvcs/Logger/LoggerTest.java | 122 - java/tests/netsvcs/Logger/Makefile | 19 - java/tests/netsvcs/Naming/ClientTest.java | 117 - java/tests/netsvcs/Naming/Makefile | 21 - nightly.mwc | 7 - protocols/ace/RMCast/Makefile.am | 105 - protocols/ace/RMCast/README | 57 - protocols/ace/RMCast/RMCast_Export.h | 44 - psosim/Makefile | 76 - psosim/drv_conf.c | 80 - samwise/ChangeLog | 73 - samwise/PerlACE/MSProject.pm | 455 -- samwise/PerlACE/MSProject/DSP.pm | 28 - samwise/PerlSam/Generator.pm | 482 -- samwise/PerlSam/Generator/Automake.pm | 264 - samwise/PerlSam/Generator/Borland.pm | 383 - samwise/PerlSam/Generator/GNUMake.pm | 390 -- samwise/PerlSam/Generator/MSVC6.pm | 847 --- samwise/PerlSam/Generator/View.pm | 42 - samwise/PerlSam/Generator/VisualAge.pm | 118 - samwise/PerlSam/Parser.pm | 57 - samwise/PerlSam/Parser/Simple.pm | 331 - samwise/README.txt | 77 - samwise/TODO.txt | 258 - samwise/create_sam.pl | 940 --- samwise/libs.xml | 48 - samwise/makeinclude/executable.GNU | 26 - samwise/makeinclude/library.GNU | 17 - samwise/makeinclude/macros.GNU | 8 - samwise/makeinclude/rules.common.GNU | 7 - samwise/makeinclude/rules.makefiles.GNU | 25 - samwise/makeinclude/rules.nomakefiles.GNU | 6 - samwise/makeinclude/vacpp_setup.icc | 28 - samwise/makeinclude/workspace.GNU | 10 - samwise/sam.dtd | 42 - samwise/sam.pl | 127 - vc7_nightly.mwc | 7 - 1773 files changed, 1 insertion(+), 210371 deletions(-) delete mode 100644 Kokyu/DSRT_Dispatcher_Impl.cpp delete mode 100644 Kokyu/DSRT_Dispatcher_Impl.h delete mode 100644 Kokyu/DSRT_Dispatcher_Impl.i delete mode 100644 Kokyu/DSRT_Schedulers.cpp delete mode 100644 Kokyu/DSRT_Schedulers.h delete mode 100644 Kokyu/Default_Dispatcher_Impl.cpp delete mode 100644 Kokyu/Default_Dispatcher_Impl.h delete mode 100644 Kokyu/Default_Dispatcher_Impl.i delete mode 100644 Kokyu/Dispatcher_Impl.cpp delete mode 100644 Kokyu/Dispatcher_Impl.h delete mode 100644 Kokyu/Dispatcher_Impl.i delete mode 100644 Kokyu/Dispatcher_Task.cpp delete mode 100644 Kokyu/Dispatcher_Task.h delete mode 100644 Kokyu/Dispatcher_Task.i delete mode 100644 Kokyu/Kokyu.cpp delete mode 100644 Kokyu/Kokyu.dsw delete mode 100644 Kokyu/Kokyu.h delete mode 100644 Kokyu/Kokyu.i delete mode 100644 Kokyu/Kokyu.mpc delete mode 100644 Kokyu/Kokyu_DLL.dsp delete mode 100644 Kokyu/Kokyu_Static.dsp delete mode 100644 Kokyu/Makefile delete mode 100644 Kokyu/kokyu_export.h delete mode 100644 Kokyu/tests/DSRT_MIF/MIF.cpp delete mode 100644 Kokyu/tests/DSRT_MIF/Makefile delete mode 100644 Kokyu/tests/DSRT_MIF/svc.conf delete mode 100644 Kokyu/tests/DSRT_MIF/svc.conf.xml delete mode 100644 Kokyu/tests/EDF/EDF.dsp delete mode 100644 Kokyu/tests/EDF/EDF.dsw delete mode 100644 Kokyu/tests/EDF/test.cpp delete mode 100644 Kokyu/tests/FIFO/FIFO.dsp delete mode 100644 Kokyu/tests/FIFO/FIFO.dsw delete mode 100644 Kokyu/tests/FIFO/test.cpp delete mode 100644 Makefile.bor delete mode 100644 PACE/ChangeLog delete mode 100644 PACE/Makefile delete mode 100644 PACE/Makefile.am delete mode 100644 PACE/README delete mode 100644 PACE/THANKS delete mode 100644 PACE/VERSION delete mode 100644 PACE/docs/ACE_Integration.txt delete mode 100644 PACE/docs/README delete mode 100644 PACE/docs/www/Introduction/begin.html delete mode 100644 PACE/docs/www/Introduction/build.html delete mode 100644 PACE/docs/www/Introduction/change.html delete mode 100644 PACE/docs/www/Introduction/phases.html delete mode 100644 PACE/docs/www/Introduction/porting.html delete mode 100644 PACE/docs/www/Introduction/struct.html delete mode 100644 PACE/docs/www/Introduction/team.html delete mode 100644 PACE/docs/www/Introduction/using.html delete mode 100644 PACE/docs/www/PACE-abstract.html delete mode 100644 PACE/docs/www/PACE-car.html delete mode 100644 PACE/docs/www/PACE-docs.html delete mode 100644 PACE/docs/www/PACE-obtain.html delete mode 100644 PACE/docs/www/PACE-overview.html delete mode 100644 PACE/docs/www/PACE.html delete mode 100644 PACE/docs/www/Pix/PACE-mini-logo.gif delete mode 100644 PACE/docs/www/Pix/PACE-red-blue-logo.gif delete mode 100644 PACE/docs/www/Pix/PACE-red-blue-smaller.gif delete mode 100644 PACE/docs/www/Pix/ace-tmp.jpg delete mode 100644 PACE/docs/www/Pix/doc-logo.jpg delete mode 100644 PACE/docs/www/Pix/heli-1.jpg delete mode 100644 PACE/docs/www/Pix/pace-car1.jpg delete mode 100644 PACE/docs/www/Pix/pace-car2.jpg delete mode 100644 PACE/docs/www/Pix/pace-car3.jpg delete mode 100644 PACE/docs/www/Pix/redball.gif delete mode 100644 PACE/docs/www/Pix/stealth.jpg delete mode 100755 PACE/docs/www/index.html delete mode 100644 PACE/examples/README delete mode 100644 PACE/include/makeinclude/rules.common.GNU delete mode 100644 PACE/pace++/README delete mode 100644 PACE/pace/Makefile delete mode 100644 PACE/pace/Makefile.am delete mode 100644 PACE/pace/aio.h delete mode 100644 PACE/pace/assert.h delete mode 100644 PACE/pace/config/compiler.h delete mode 100644 PACE/pace/config/config.h delete mode 100644 PACE/pace/config/constants.h delete mode 100644 PACE/pace/config/defaults.h delete mode 100644 PACE/pace/config/defines.h delete mode 100644 PACE/pace/config/features.h delete mode 100644 PACE/pace/config/platform.h delete mode 100644 PACE/pace/config/utility.h delete mode 100644 PACE/pace/ctype.h delete mode 100644 PACE/pace/dirent.h delete mode 100644 PACE/pace/emulation/mqueue.c delete mode 100644 PACE/pace/emulation/mqueue.h delete mode 100644 PACE/pace/emulation/time.h delete mode 100644 PACE/pace/errno.h delete mode 100644 PACE/pace/fcntl.h delete mode 100644 PACE/pace/grp.h delete mode 100644 PACE/pace/limits.h delete mode 100644 PACE/pace/locale.h delete mode 100644 PACE/pace/man/Makefile delete mode 100644 PACE/pace/man/banner delete mode 100644 PACE/pace/man/pace.jpg delete mode 100644 PACE/pace/math.h delete mode 100644 PACE/pace/mqueue.h delete mode 100644 PACE/pace/posix/Makefile.am delete mode 100644 PACE/pace/posix/README delete mode 100644 PACE/pace/posix/TODO delete mode 100644 PACE/pace/posix/aio.c delete mode 100644 PACE/pace/posix/aio.h delete mode 100644 PACE/pace/posix/aio.inl delete mode 100644 PACE/pace/posix/assert.c delete mode 100644 PACE/pace/posix/assert.h delete mode 100644 PACE/pace/posix/assert.inl delete mode 100644 PACE/pace/posix/ctype.c delete mode 100644 PACE/pace/posix/ctype.h delete mode 100644 PACE/pace/posix/ctype.inl delete mode 100644 PACE/pace/posix/dirent.c delete mode 100644 PACE/pace/posix/dirent.h delete mode 100644 PACE/pace/posix/dirent.inl delete mode 100644 PACE/pace/posix/errno.h delete mode 100644 PACE/pace/posix/fcntl.c delete mode 100644 PACE/pace/posix/fcntl.h delete mode 100644 PACE/pace/posix/fcntl.inl delete mode 100644 PACE/pace/posix/grp.c delete mode 100644 PACE/pace/posix/grp.h delete mode 100644 PACE/pace/posix/grp.inl delete mode 100644 PACE/pace/posix/limits.h delete mode 100644 PACE/pace/posix/locale.c delete mode 100644 PACE/pace/posix/locale.h delete mode 100644 PACE/pace/posix/locale.inl delete mode 100644 PACE/pace/posix/math.c delete mode 100644 PACE/pace/posix/math.h delete mode 100644 PACE/pace/posix/math.inl delete mode 100644 PACE/pace/posix/mman.c delete mode 100644 PACE/pace/posix/mman.h delete mode 100644 PACE/pace/posix/mman.inl delete mode 100644 PACE/pace/posix/mqueue.c delete mode 100644 PACE/pace/posix/mqueue.h delete mode 100644 PACE/pace/posix/mqueue.inl delete mode 100644 PACE/pace/posix/pthread.c delete mode 100644 PACE/pace/posix/pthread.h delete mode 100644 PACE/pace/posix/pthread.inl delete mode 100644 PACE/pace/posix/pwd.c delete mode 100644 PACE/pace/posix/pwd.h delete mode 100644 PACE/pace/posix/pwd.inl delete mode 100644 PACE/pace/posix/sched.c delete mode 100644 PACE/pace/posix/sched.h delete mode 100644 PACE/pace/posix/sched.inl delete mode 100644 PACE/pace/posix/semaphore.c delete mode 100644 PACE/pace/posix/semaphore.h delete mode 100644 PACE/pace/posix/semaphore.inl delete mode 100644 PACE/pace/posix/setjmp.c delete mode 100644 PACE/pace/posix/setjmp.h delete mode 100644 PACE/pace/posix/setjmp.inl delete mode 100644 PACE/pace/posix/signal.c delete mode 100644 PACE/pace/posix/signal.h delete mode 100644 PACE/pace/posix/signal.inl delete mode 100644 PACE/pace/posix/socket.c delete mode 100644 PACE/pace/posix/socket.h delete mode 100644 PACE/pace/posix/socket.inl delete mode 100644 PACE/pace/posix/stat.c delete mode 100644 PACE/pace/posix/stat.h delete mode 100644 PACE/pace/posix/stat.inl delete mode 100644 PACE/pace/posix/stdio.c delete mode 100644 PACE/pace/posix/stdio.h delete mode 100644 PACE/pace/posix/stdio.inl delete mode 100644 PACE/pace/posix/stdlib.c delete mode 100644 PACE/pace/posix/stdlib.h delete mode 100644 PACE/pace/posix/stdlib.inl delete mode 100644 PACE/pace/posix/string.c delete mode 100644 PACE/pace/posix/string.h delete mode 100644 PACE/pace/posix/string.inl delete mode 100644 PACE/pace/posix/termios.c delete mode 100644 PACE/pace/posix/termios.h delete mode 100644 PACE/pace/posix/termios.inl delete mode 100644 PACE/pace/posix/time.c delete mode 100644 PACE/pace/posix/time.h delete mode 100644 PACE/pace/posix/time.inl delete mode 100644 PACE/pace/posix/times.c delete mode 100644 PACE/pace/posix/times.h delete mode 100644 PACE/pace/posix/times.inl delete mode 100644 PACE/pace/posix/types.h delete mode 100644 PACE/pace/posix/unistd.c delete mode 100644 PACE/pace/posix/unistd.h delete mode 100644 PACE/pace/posix/unistd.inl delete mode 100644 PACE/pace/posix/utime.c delete mode 100644 PACE/pace/posix/utime.h delete mode 100644 PACE/pace/posix/utime.inl delete mode 100644 PACE/pace/posix/utsname.c delete mode 100644 PACE/pace/posix/utsname.h delete mode 100644 PACE/pace/posix/utsname.inl delete mode 100644 PACE/pace/posix/wait.c delete mode 100644 PACE/pace/posix/wait.h delete mode 100644 PACE/pace/posix/wait.inl delete mode 100644 PACE/pace/pthread.h delete mode 100644 PACE/pace/pwd.h delete mode 100644 PACE/pace/sched.h delete mode 100644 PACE/pace/semaphore.h delete mode 100644 PACE/pace/setjmp.h delete mode 100644 PACE/pace/signal.h delete mode 100644 PACE/pace/stddef.h delete mode 100644 PACE/pace/stdio.h delete mode 100644 PACE/pace/stdlib.h delete mode 100644 PACE/pace/string.h delete mode 100644 PACE/pace/sys/mman.h delete mode 100644 PACE/pace/sys/socket.h delete mode 100644 PACE/pace/sys/stat.h delete mode 100644 PACE/pace/sys/times.h delete mode 100644 PACE/pace/sys/types.h delete mode 100644 PACE/pace/sys/utsname.h delete mode 100644 PACE/pace/sys/wait.h delete mode 100644 PACE/pace/termios.h delete mode 100644 PACE/pace/time.h delete mode 100644 PACE/pace/unistd.h delete mode 100644 PACE/pace/utime.h delete mode 100644 PACE/pace/vxworks/README delete mode 100644 PACE/pace/vxworks/aio.c delete mode 100644 PACE/pace/vxworks/aio.h delete mode 100644 PACE/pace/vxworks/aio.inl delete mode 100644 PACE/pace/vxworks/assert.c delete mode 100644 PACE/pace/vxworks/assert.h delete mode 100644 PACE/pace/vxworks/assert.inl delete mode 100644 PACE/pace/vxworks/ctype.c delete mode 100644 PACE/pace/vxworks/ctype.h delete mode 100644 PACE/pace/vxworks/ctype.inl delete mode 100644 PACE/pace/vxworks/dirent.c delete mode 100644 PACE/pace/vxworks/dirent.h delete mode 100644 PACE/pace/vxworks/dirent.inl delete mode 100644 PACE/pace/vxworks/errno.h delete mode 100644 PACE/pace/vxworks/fcntl.c delete mode 100644 PACE/pace/vxworks/fcntl.h delete mode 100644 PACE/pace/vxworks/fcntl.inl delete mode 100644 PACE/pace/vxworks/grp.c delete mode 100644 PACE/pace/vxworks/grp.h delete mode 100644 PACE/pace/vxworks/grp.inl delete mode 100644 PACE/pace/vxworks/limits.h delete mode 100644 PACE/pace/vxworks/locale.c delete mode 100644 PACE/pace/vxworks/locale.h delete mode 100644 PACE/pace/vxworks/locale.inl delete mode 100644 PACE/pace/vxworks/math.c delete mode 100644 PACE/pace/vxworks/math.h delete mode 100644 PACE/pace/vxworks/math.inl delete mode 100644 PACE/pace/vxworks/mman.c delete mode 100644 PACE/pace/vxworks/mman.h delete mode 100644 PACE/pace/vxworks/mman.inl delete mode 100644 PACE/pace/vxworks/mqueue.c delete mode 100644 PACE/pace/vxworks/mqueue.h delete mode 100644 PACE/pace/vxworks/mqueue.inl delete mode 100644 PACE/pace/vxworks/pthread.c delete mode 100644 PACE/pace/vxworks/pthread.h delete mode 100644 PACE/pace/vxworks/pthread.inl delete mode 100644 PACE/pace/vxworks/pwd.c delete mode 100644 PACE/pace/vxworks/pwd.h delete mode 100644 PACE/pace/vxworks/pwd.inl delete mode 100644 PACE/pace/vxworks/sched.c delete mode 100644 PACE/pace/vxworks/sched.h delete mode 100644 PACE/pace/vxworks/sched.inl delete mode 100644 PACE/pace/vxworks/semaphore.c delete mode 100644 PACE/pace/vxworks/semaphore.h delete mode 100644 PACE/pace/vxworks/semaphore.inl delete mode 100644 PACE/pace/vxworks/setjmp.c delete mode 100644 PACE/pace/vxworks/setjmp.h delete mode 100644 PACE/pace/vxworks/setjmp.inl delete mode 100644 PACE/pace/vxworks/signal.c delete mode 100644 PACE/pace/vxworks/signal.h delete mode 100644 PACE/pace/vxworks/signal.inl delete mode 100644 PACE/pace/vxworks/socket.c delete mode 100644 PACE/pace/vxworks/socket.h delete mode 100644 PACE/pace/vxworks/socket.inl delete mode 100644 PACE/pace/vxworks/stat.c delete mode 100644 PACE/pace/vxworks/stat.h delete mode 100644 PACE/pace/vxworks/stat.inl delete mode 100644 PACE/pace/vxworks/stdio.c delete mode 100644 PACE/pace/vxworks/stdio.h delete mode 100644 PACE/pace/vxworks/stdio.inl delete mode 100644 PACE/pace/vxworks/stdlib.c delete mode 100644 PACE/pace/vxworks/stdlib.h delete mode 100644 PACE/pace/vxworks/stdlib.inl delete mode 100644 PACE/pace/vxworks/string.c delete mode 100644 PACE/pace/vxworks/string.h delete mode 100644 PACE/pace/vxworks/string.inl delete mode 100644 PACE/pace/vxworks/termios.c delete mode 100644 PACE/pace/vxworks/termios.h delete mode 100644 PACE/pace/vxworks/termios.inl delete mode 100644 PACE/pace/vxworks/time.c delete mode 100644 PACE/pace/vxworks/time.h delete mode 100644 PACE/pace/vxworks/time.inl delete mode 100644 PACE/pace/vxworks/times.c delete mode 100644 PACE/pace/vxworks/times.h delete mode 100644 PACE/pace/vxworks/times.inl delete mode 100644 PACE/pace/vxworks/types.h delete mode 100644 PACE/pace/vxworks/unistd.c delete mode 100644 PACE/pace/vxworks/unistd.h delete mode 100644 PACE/pace/vxworks/unistd.inl delete mode 100644 PACE/pace/vxworks/utime.c delete mode 100644 PACE/pace/vxworks/utime.h delete mode 100644 PACE/pace/vxworks/utime.inl delete mode 100644 PACE/pace/vxworks/utsname.c delete mode 100644 PACE/pace/vxworks/utsname.h delete mode 100644 PACE/pace/vxworks/utsname.inl delete mode 100644 PACE/pace/vxworks/wait.c delete mode 100644 PACE/pace/vxworks/wait.h delete mode 100644 PACE/pace/vxworks/wait.inl delete mode 100644 PACE/pace/win32/README delete mode 100644 PACE/pace/win32/TODO delete mode 100644 PACE/pace/win32/aio.c delete mode 100644 PACE/pace/win32/aio.h delete mode 100644 PACE/pace/win32/aio.inl delete mode 100644 PACE/pace/win32/assert.c delete mode 100644 PACE/pace/win32/assert.h delete mode 100644 PACE/pace/win32/assert.inl delete mode 100644 PACE/pace/win32/ctype.c delete mode 100644 PACE/pace/win32/ctype.h delete mode 100644 PACE/pace/win32/ctype.inl delete mode 100644 PACE/pace/win32/dirent.c delete mode 100644 PACE/pace/win32/dirent.h delete mode 100644 PACE/pace/win32/dirent.inl delete mode 100644 PACE/pace/win32/errno.h delete mode 100644 PACE/pace/win32/fcntl.c delete mode 100644 PACE/pace/win32/fcntl.h delete mode 100644 PACE/pace/win32/fcntl.inl delete mode 100644 PACE/pace/win32/grp.c delete mode 100644 PACE/pace/win32/grp.h delete mode 100644 PACE/pace/win32/grp.inl delete mode 100644 PACE/pace/win32/limits.h delete mode 100644 PACE/pace/win32/locale.c delete mode 100644 PACE/pace/win32/locale.h delete mode 100644 PACE/pace/win32/locale.inl delete mode 100644 PACE/pace/win32/math.c delete mode 100644 PACE/pace/win32/math.h delete mode 100644 PACE/pace/win32/math.inl delete mode 100644 PACE/pace/win32/mman.c delete mode 100644 PACE/pace/win32/mman.h delete mode 100644 PACE/pace/win32/mman.inl delete mode 100644 PACE/pace/win32/mqueue.c delete mode 100644 PACE/pace/win32/mqueue.h delete mode 100644 PACE/pace/win32/mqueue.inl delete mode 100644 PACE/pace/win32/pace.dsw delete mode 100644 PACE/pace/win32/pace_dll.dsp delete mode 100644 PACE/pace/win32/pace_lib.dsp delete mode 100644 PACE/pace/win32/pthread.c delete mode 100644 PACE/pace/win32/pthread.h delete mode 100644 PACE/pace/win32/pthread.inl delete mode 100644 PACE/pace/win32/pthreadtypes.h delete mode 100644 PACE/pace/win32/pwd.c delete mode 100644 PACE/pace/win32/pwd.h delete mode 100644 PACE/pace/win32/pwd.inl delete mode 100644 PACE/pace/win32/sched.c delete mode 100644 PACE/pace/win32/sched.h delete mode 100644 PACE/pace/win32/sched.inl delete mode 100644 PACE/pace/win32/schedtypes.h delete mode 100644 PACE/pace/win32/semaphore.c delete mode 100644 PACE/pace/win32/semaphore.h delete mode 100644 PACE/pace/win32/semaphore.inl delete mode 100644 PACE/pace/win32/setjmp.c delete mode 100644 PACE/pace/win32/setjmp.h delete mode 100644 PACE/pace/win32/setjmp.inl delete mode 100644 PACE/pace/win32/signal.c delete mode 100644 PACE/pace/win32/signal.h delete mode 100644 PACE/pace/win32/signal.inl delete mode 100644 PACE/pace/win32/socket.c delete mode 100644 PACE/pace/win32/socket.h delete mode 100644 PACE/pace/win32/socket.inl delete mode 100644 PACE/pace/win32/stat.c delete mode 100644 PACE/pace/win32/stat.h delete mode 100644 PACE/pace/win32/stat.inl delete mode 100644 PACE/pace/win32/stdio.c delete mode 100644 PACE/pace/win32/stdio.h delete mode 100644 PACE/pace/win32/stdio.inl delete mode 100644 PACE/pace/win32/stdlib.c delete mode 100644 PACE/pace/win32/stdlib.h delete mode 100644 PACE/pace/win32/stdlib.inl delete mode 100644 PACE/pace/win32/string.c delete mode 100644 PACE/pace/win32/string.h delete mode 100644 PACE/pace/win32/string.inl delete mode 100644 PACE/pace/win32/termios.c delete mode 100644 PACE/pace/win32/termios.h delete mode 100644 PACE/pace/win32/termios.inl delete mode 100644 PACE/pace/win32/time.c delete mode 100644 PACE/pace/win32/time.h delete mode 100644 PACE/pace/win32/time.inl delete mode 100644 PACE/pace/win32/times.c delete mode 100644 PACE/pace/win32/times.h delete mode 100644 PACE/pace/win32/times.inl delete mode 100644 PACE/pace/win32/types.h delete mode 100644 PACE/pace/win32/unistd.c delete mode 100644 PACE/pace/win32/unistd.h delete mode 100644 PACE/pace/win32/unistd.inl delete mode 100644 PACE/pace/win32/utime.c delete mode 100644 PACE/pace/win32/utime.h delete mode 100644 PACE/pace/win32/utime.inl delete mode 100644 PACE/pace/win32/utsname.c delete mode 100644 PACE/pace/win32/utsname.h delete mode 100644 PACE/pace/win32/utsname.inl delete mode 100644 PACE/pace/win32/wait.c delete mode 100644 PACE/pace/win32/wait.h delete mode 100644 PACE/pace/win32/wait.inl delete mode 100644 PACE/tests/Cond_Var_Test.c delete mode 100644 PACE/tests/Makefile delete mode 100644 PACE/tests/Makefile.am delete mode 100644 PACE/tests/Posix_SP_Test.c delete mode 100644 PACE/tests/Pthread_Storage_Test.c delete mode 100644 PACE/tests/Pthreads_Test.c delete mode 100644 PACE/tests/README delete mode 100644 PACE/tests/Stat_Test.c delete mode 100644 PACE/tests/Stdio_Test.c delete mode 100644 PACE/tests/mqueue_test.c delete mode 100644 PACE/tests/test_stdio.dsp delete mode 100644 PACE/tests/tests.dsw delete mode 100644 PACE/tests/vxworks_stub.c delete mode 100644 Static_Performance.dsw delete mode 100644 TAO/CIAO/CCF/CCF/CCF.sln delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL.vcproj delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_LexicalAnalyzer.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_Parser.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticAction.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticActionImpl.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTreeFwd.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/MSVC_Pragmas.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CIDL/Makefile delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.vcproj delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLineDescriptor.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLineGrammar.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLineGrammar.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLineParser.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLineParser.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/IDLStream.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/MSVC_Pragmas.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/Makefile delete mode 100644 TAO/CIAO/CCF/CCF/CodeGenerationKit/Regex.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/DiagnosticStream.cpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/DiagnosticStream.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/ExH.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/FileSystem.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/MSVC_Pragmas.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/Parser.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/Preprocessor.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/ReferenceCounting.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/SemanticAction.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/Token.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/TokenStream.hpp delete mode 100644 TAO/CIAO/CCF/CCF/CompilerElements/Traversal.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2.vcproj delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_LexicalAnalyzer.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_LexicalAnalyzer.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_Parser.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SemanticAction.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SemanticActionImpl.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree.tpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTreeFwd.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree_BuiltIn.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree_BuiltIn.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_SyntaxTree_Value.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_Traversal.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/IDL2_Traversal.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/MSVC_Pragmas.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL2/Makefile delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3.vcproj delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_LexicalAnalyzer.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_Parser.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SemanticAction.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SemanticActionImpl.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTree.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTree.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTreeFwd.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTree_EventType.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_SyntaxTree_EventType.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_Traversal.cpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/IDL3_Traversal.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/MSVC_Pragmas.hpp delete mode 100644 TAO/CIAO/CCF/CCF/IDL3/Makefile delete mode 100644 TAO/CIAO/CCF/CCF/Makefile delete mode 100644 TAO/CIAO/CCF/DesignNotes delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Archive.gcc.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Archive.gcc.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Archive.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Archive.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Documentation.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Documentation.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Executable.gcc.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Executable.gcc.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Executable.generic.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Executable.generic.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Executable.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Executable.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Recursion.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Recursion.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Shared.gcc.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Shared.gcc.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Shared.generic.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Shared.generic.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Shared.post.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Shared.pre.rules delete mode 100644 TAO/CIAO/CCF/External/Utility/Config/Thoughts delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Build.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/Example/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/Logic/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/Makefile.documentation delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/News.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/System/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ExH/index.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/News.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ReferenceCounting/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ReferenceCounting/News.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/ReferenceCounting/index.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Style/CXX.css delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Style/CXX_Blue.css delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Synch/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Synch/News.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Synch/Policy/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/Synch/index.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Documentation/index.html delete mode 100644 TAO/CIAO/CCF/External/Utility/Makefile delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Compound.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Compound.tpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Converter.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Converter.tpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/ExH.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Logic/DescriptiveException.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Logic/DescriptiveException.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Logic/Exception.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/Logic/Exception.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/StringConverter.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/StringConverter.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/StringStreamConverter.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/StringStreamConverter.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/System/DescriptiveException.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/System/DescriptiveException.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ExH/System/Exception.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/DefaultImpl.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/DefaultImpl.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/ExternalLockImpl.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/ExternalLockImpl.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/Interface.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/Interface.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/Interface.tpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/ReferenceCounting.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/SmartPtr.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/SmartPtr.tpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/StrictPtr.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/ReferenceCounting/StrictPtr.tpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/Synch/Policy/Null.hpp delete mode 100644 TAO/CIAO/CCF/External/Utility/Utility/Synch/Policy/Null.ipp delete mode 100644 TAO/CIAO/CCF/External/Utility/Version delete mode 100644 TAO/CIAO/CCF/Makefile delete mode 100644 TAO/CIAO/CCF/Version delete mode 100644 TAO/CIAO/CIDLC/CIDLC.sln delete mode 100644 TAO/CIAO/CIDLC/CIDLC.vcproj delete mode 100644 TAO/CIAO/CIDLC/ExecutorMappingGenerator.cpp delete mode 100644 TAO/CIAO/CIDLC/ExecutorMappingGenerator.hpp delete mode 100644 TAO/CIAO/CIDLC/Literals.hpp delete mode 100644 TAO/CIAO/CIDLC/Makefile delete mode 100644 TAO/CIAO/CIDLC/README delete mode 100644 TAO/CIAO/CIDLC/ServantGenerator.cpp delete mode 100644 TAO/CIAO/CIDLC/ServantGenerator.hpp delete mode 100644 TAO/CIAO/CIDLC/ServantHeaderGenerator.cpp delete mode 100644 TAO/CIAO/CIDLC/ServantHeaderGenerator.hpp delete mode 100644 TAO/CIAO/CIDLC/ServantSourceGenerator.cpp delete mode 100644 TAO/CIAO/CIDLC/ServantSourceGenerator.hpp delete mode 100644 TAO/CIAO/CIDLC/Version delete mode 100644 TAO/CIAO/CIDLC/cidlc.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/README delete mode 100644 TAO/CIAO/CIDLC/parser_examples/cidl/cidl.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/cidl/cidl.mpc delete mode 100644 TAO/CIAO/CIDLC/parser_examples/cidl/cidl.vcproj delete mode 100644 TAO/CIAO/CIDLC/parser_examples/cidl/cidl_grammar.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/cidl/cidl_grammar.h delete mode 100644 TAO/CIAO/CIDLC/parser_examples/cidl/hello.cidl delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl2/idl2.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl2/idl2.mpc delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl2/idl2.vcproj delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl2/idl2_grammar.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl2/idl2_grammar.h delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl2/test_idl2.idl delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl3/idl3.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl3/idl3.mpc delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl3/idl3.vcproj delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl3/idl3_grammar.cpp delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl3/idl3_grammar.h delete mode 100644 TAO/CIAO/CIDLC/parser_examples/idl3/test_idl3.idl delete mode 100644 TAO/CIAO/CIDLC/parser_examples/parser_examples.sln delete mode 100644 TAO/CIAO/ChangeLog delete mode 100644 TAO/CIAO/Makefile delete mode 100644 TAO/CIAO/PROBLEM-REPORT-FORM delete mode 100644 TAO/CIAO/README delete mode 100644 TAO/CIAO/VERSION delete mode 100755 TAO/CIAO/bin/generate_component_mpc.pl delete mode 100644 TAO/CIAO/ciao/Active_Objref_Map.cpp delete mode 100644 TAO/CIAO/ciao/Active_Objref_Map.h delete mode 100644 TAO/CIAO/ciao/CCM_Base.idl delete mode 100644 TAO/CIAO/ciao/CCM_Component.idl delete mode 100644 TAO/CIAO/ciao/CCM_Container.idl delete mode 100644 TAO/CIAO/ciao/CCM_Container_Ex.idl delete mode 100644 TAO/CIAO/ciao/CCM_Core.mpc delete mode 100644 TAO/CIAO/ciao/CCM_Deployment.idl delete mode 100644 TAO/CIAO/ciao/CCM_Event.idl delete mode 100644 TAO/CIAO/ciao/CCM_Transaction.idl delete mode 100644 TAO/CIAO/ciao/CIAO_Client_Export.h delete mode 100644 TAO/CIAO/ciao/CIAO_Container_Export.h delete mode 100644 TAO/CIAO/ciao/CIAO_Export.h delete mode 100644 TAO/CIAO/ciao/CIAO_Server_Export.h delete mode 100644 TAO/CIAO/ciao/CIAO_Servers.idl delete mode 100644 TAO/CIAO/ciao/CIAO_Value.idl delete mode 100644 TAO/CIAO/ciao/CIAO_common.h delete mode 100644 TAO/CIAO/ciao/Client_init.cpp delete mode 100644 TAO/CIAO/ciao/Client_init.h delete mode 100644 TAO/CIAO/ciao/ComponentInstallation_Impl.cpp delete mode 100644 TAO/CIAO/ciao/ComponentInstallation_Impl.h delete mode 100644 TAO/CIAO/ciao/ComponentInstallation_Impl.inl delete mode 100644 TAO/CIAO/ciao/ComponentServer_Impl.cpp delete mode 100644 TAO/CIAO/ciao/ComponentServer_Impl.h delete mode 100644 TAO/CIAO/ciao/ComponentServer_Impl.inl delete mode 100644 TAO/CIAO/ciao/Component_Base.idl delete mode 100644 TAO/CIAO/ciao/Components.idl delete mode 100644 TAO/CIAO/ciao/ComponentsC.h delete mode 100644 TAO/CIAO/ciao/ComponentsS.h delete mode 100644 TAO/CIAO/ciao/Container_Base.cpp delete mode 100644 TAO/CIAO/ciao/Container_Base.h delete mode 100644 TAO/CIAO/ciao/Container_Base.inl delete mode 100644 TAO/CIAO/ciao/Container_Base.pidl delete mode 100644 TAO/CIAO/ciao/Container_Impl.cpp delete mode 100644 TAO/CIAO/ciao/Container_Impl.h delete mode 100644 TAO/CIAO/ciao/Container_Impl.inl delete mode 100644 TAO/CIAO/ciao/Cookies.cpp delete mode 100644 TAO/CIAO/ciao/Cookies.h delete mode 100644 TAO/CIAO/ciao/Cookies.inl delete mode 100644 TAO/CIAO/ciao/CosPersistentState.idl delete mode 100644 TAO/CIAO/ciao/HomeRegistrar.idl delete mode 100644 TAO/CIAO/ciao/HomeRegistrar_i.cpp delete mode 100644 TAO/CIAO/ciao/HomeRegistrar_i.h delete mode 100644 TAO/CIAO/ciao/HomeRegistrar_i.inl delete mode 100644 TAO/CIAO/ciao/Object_Set_T.cpp delete mode 100644 TAO/CIAO/ciao/Object_Set_T.h delete mode 100644 TAO/CIAO/ciao/Object_Set_T.inl delete mode 100644 TAO/CIAO/ciao/README delete mode 100644 TAO/CIAO/ciao/ServerActivator_Impl.cpp delete mode 100644 TAO/CIAO/ciao/ServerActivator_Impl.h delete mode 100644 TAO/CIAO/ciao/ServerActivator_Impl.inl delete mode 100644 TAO/CIAO/ciao/Server_init.cpp delete mode 100644 TAO/CIAO/ciao/Server_init.h delete mode 100644 TAO/CIAO/ciao/Version.h delete mode 100644 TAO/CIAO/ciao/ciao.rc delete mode 100644 TAO/CIAO/ciao/ciaofwd.h delete mode 100644 TAO/CIAO/ciao/diffs/Component_BaseC.cpp.diff delete mode 100644 TAO/CIAO/ciao/diffs/Component_BaseC.h.diff delete mode 100644 TAO/CIAO/ciao/diffs/Component_BaseS.h.diff delete mode 100644 TAO/CIAO/docs/ConfigValues.html delete mode 100644 TAO/CIAO/docs/XML/componentassembly.dtd delete mode 100644 TAO/CIAO/docs/XML/corbacomponent.dtd delete mode 100644 TAO/CIAO/docs/XML/properties.dtd delete mode 100644 TAO/CIAO/docs/XML/softpkg.dtd delete mode 100644 TAO/CIAO/docs/com-impl.html delete mode 100644 TAO/CIAO/docs/imgs/CCM-v5.vsd delete mode 100644 TAO/CIAO/docs/imgs/CCM.vsd delete mode 100644 TAO/CIAO/docs/imgs/File-Gen-Existing.png delete mode 100644 TAO/CIAO/docs/imgs/File-Gen-Future.png delete mode 100644 TAO/CIAO/docs/imgs/File_Generation_Flow.vsd delete mode 100644 TAO/CIAO/docs/imgs/IDL-CIDL-classes.vsd delete mode 100644 TAO/CIAO/docs/imgs/basic-container.png delete mode 100644 TAO/CIAO/docs/imgs/component-basic.png delete mode 100644 TAO/CIAO/docs/imgs/deployment.png delete mode 100644 TAO/CIAO/docs/imgs/extended-container.png delete mode 100644 TAO/CIAO/docs/imgs/home-config.png delete mode 100644 TAO/CIAO/docs/index.html delete mode 100644 TAO/CIAO/docs/new_components.html delete mode 100644 TAO/CIAO/docs/releasenotes.html delete mode 100644 TAO/CIAO/docs/templates/CIAO_Glue_Session_Template.cpp delete mode 100644 TAO/CIAO/docs/templates/CIAO_Glue_Session_Template.h delete mode 100644 TAO/CIAO/docs/templates/CIAO_Glue_Session_Template.inl delete mode 100644 TAO/CIAO/docs/templates/Executor.idl delete mode 100644 TAO/CIAO/docs/templates/cidl_template.cidl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED.cidl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedEDEI.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_exec.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/BMClosedED_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMClosedED/config delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice.cidl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDeviceEI.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_exec.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/BMDevice_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDevice/config delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay.cidl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplayEI.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_exec.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/BMDisplay_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BMDisplay/config delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP.dsw delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP.mpc delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/BasicSP_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC.cidl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/ECEI.idl delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_client.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/EC_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/README delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/client.cpp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/config delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/controller.cpp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/EC/controller.dsp delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/NOTE.txt delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/README delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BMClosedED.csd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BMClosedED.ssd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BMDevice.csd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BMDevice.ssd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BMDisplay.csd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BMDisplay.ssd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/BasicSP.cad delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/CIAO_Installation_Data.ini delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/EC.csd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/EC.ssd delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/ec.ior delete mode 100644 TAO/CIAO/examples/OEP/BasicSP/descriptors/test.dat delete mode 100644 TAO/CIAO/examples/OEP/Display/Configuration-0.png delete mode 100644 TAO/CIAO/examples/OEP/Display/Display.dsw delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS.cidl delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPSEI.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_exec.h delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_tracing_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_tracing_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/GPS_tracing_exec.h delete mode 100644 TAO/CIAO/examples/OEP/Display/GPS/config delete mode 100644 TAO/CIAO/examples/OEP/Display/HUDisplay.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/HUDisplay.mpc delete mode 100644 TAO/CIAO/examples/OEP/Display/HUDisplay_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/HUDisplay_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/HUDisplay_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/HUDisplay_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NOTE delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay.cidl delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplayEI.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_exec.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/NavDisplay_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplay/config delete mode 100755 TAO/CIAO/examples/OEP/Display/NavDisplay/run_test.pl delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/AddNavUnitCmd.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/AddNavUnitCmd.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/Command.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/DetailView.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/DetailView.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/MapView.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/MapView.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NavUnit.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NavUnit.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NodeItem.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/NodeItem.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/QuitCmd.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/QuitCmd.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/README delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/RootPanel.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/RootPanel.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/UpdatePositionCmd.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/UpdatePositionCmd.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/Worker.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/Worker.h delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/trolltech.gif delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/worldmap1.gif delete mode 100644 TAO/CIAO/examples/OEP/Display/NavDisplayGUI_exec/worldmap1.xpm delete mode 100644 TAO/CIAO/examples/OEP/Display/README delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen.cidl delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGenEI.idl delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_client.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_exec.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_exec.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_exec.h delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_exec_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_stub.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_stub_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_svnt.dsp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/RateGen_svnt_export.h delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/client.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/config delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/controller.cpp delete mode 100644 TAO/CIAO/examples/OEP/Display/RateGen/controller.dsp delete mode 100755 TAO/CIAO/examples/OEP/Display/RateGen/run_test.pl delete mode 100755 TAO/CIAO/examples/OEP/Display/cleanup_mpcfiles.cmd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/CIAO_Installation_Data.ini delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/DuelDisplay.cad delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/GPS.csd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/GPS.ssd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/GPS_tracing.csd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/HUDisplay.cad delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/HUDisplayGUI.cad delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/NOTE.txt delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/NavDisplay.csd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/NavDisplay.ssd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/NavDisplayGUI.csd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/RateGen.csd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/RateGen.ssd delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/RemoteDisplay.cad delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/RemoteDisplayGUI.cad delete mode 100644 TAO/CIAO/examples/OEP/Display/descriptors/test.dat delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED.cidl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedEDE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedEDEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedED_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/config delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice.cidl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDeviceE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDeviceEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDevice_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/config delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay.cidl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplayE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplayEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/BMDisplay_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BMDisplay/config delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSP.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSP.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSPE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSP_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSP_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSP_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/BasicSP_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC.cidl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/ECE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/ECEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/EC_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/README delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/client.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/config delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/EC/controller.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/README delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BMClosedED.csd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BMClosedED.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BMDevice.csd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BMDevice.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BMDisplay.csd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BMDisplay.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/BasicSP.cad delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/CIAO_Installation_Data.ini delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/EC.csd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/EC.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/BasicSP/descriptors/test.dat delete mode 100644 TAO/CIAO/examples/handcrafted/Display/Configuration-0.png delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPSE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPSEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_svnt.inl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_tracing_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/GPS/GPS_tracing_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplayE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.inl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NOTE delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplayE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplayEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_svnt.inl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplay/run_test.pl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/AddNavUnitCmd.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/AddNavUnitCmd.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/Command.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/DetailView.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/DetailView.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/MapView.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/MapView.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NavUnit.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NavUnit.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NodeItem.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/NodeItem.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/QuitCmd.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/QuitCmd.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/README delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/RootPanel.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/RootPanel.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/UpdatePositionCmd.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/UpdatePositionCmd.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/Worker.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/Worker.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/trolltech.gif delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/worldmap1.gif delete mode 100644 TAO/CIAO/examples/handcrafted/Display/NavDisplayGUI_exec/worldmap1.xpm delete mode 100644 TAO/CIAO/examples/handcrafted/Display/README delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen.cidl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGenE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGenEI.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_exec.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_exec.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_exec_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_stub_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_svnt.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_svnt.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_svnt.inl delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/RateGen_svnt_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/client.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/controller.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Display/RateGen/run_test.pl delete mode 100755 TAO/CIAO/examples/handcrafted/Display/cleanup_mpcfiles.cmd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/CIAO_Installation_Data.ini delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/DuelDisplay.cad delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.csd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/GPS_tracing.csd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/HUDisplay.cad delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/HUDisplayGUI.cad delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/NOTE.txt delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.csd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplayGUI.csd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.csd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/RemoteDisplay.cad delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/RemoteDisplayGUI.cad delete mode 100644 TAO/CIAO/examples/handcrafted/Display/descriptors/test.dat delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/CIAO_Installation_Data.ini delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/README delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/client.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/config delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello.ccd delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello.cidl delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello.csd delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello.mpc delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello.ssd delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/helloC.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/helloE.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_executors.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_executors.h delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_executors_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_servants.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_servants.h delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_servants_export.h delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/hello_stub_export.h delete mode 100755 TAO/CIAO/examples/handcrafted/Hello/run_simple_test.pl delete mode 100755 TAO/CIAO/examples/handcrafted/Hello/run_test.pl delete mode 100644 TAO/CIAO/examples/handcrafted/Hello/simple_client.cpp delete mode 100644 TAO/CIAO/examples/handcrafted/Philosophers/Philosophers.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Philosophers/PhilosophersC.idl delete mode 100644 TAO/CIAO/examples/handcrafted/Philosophers/PhilosophersS.idl delete mode 100644 TAO/CIAO/tests/temp/README delete mode 100644 TAO/CIAO/tests/temp/assembly/README delete mode 100644 TAO/CIAO/tests/temp/assembly/client.cpp delete mode 100644 TAO/CIAO/tests/temp/assembly/control.idl delete mode 100644 TAO/CIAO/tests/temp/assembly/control.mpc delete mode 100644 TAO/CIAO/tests/temp/assembly/run_test.pl delete mode 100644 TAO/CIAO/tests/temp/assembly/server.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Deployer.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Deployer.mpc delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Impl.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Impl.h delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Impl.inl delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Manager.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Service.idl delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Service_Impl.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Service_Impl.h delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Visitors.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Visitors.h delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Assembly_Visitors.inl delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Deployment_Configuration.cpp delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Deployment_Configuration.h delete mode 100644 TAO/CIAO/tools/Assembly_Deployer/Deployment_Configuration.inl delete mode 100644 TAO/CIAO/tools/ComponentServer/ComponentServer.cpp delete mode 100644 TAO/CIAO/tools/ComponentServer/ComponentServer.mpc delete mode 100644 TAO/CIAO/tools/ComponentServer/ComponentServer_test_client.cpp delete mode 100644 TAO/CIAO/tools/ComponentServer/README delete mode 100644 TAO/CIAO/tools/Daemon/CIAO_Daemon.cpp delete mode 100644 TAO/CIAO/tools/Daemon/CIAO_Installation_Data.ini delete mode 100644 TAO/CIAO/tools/Daemon/Daemon.idl delete mode 100644 TAO/CIAO/tools/Daemon/Daemon.mpc delete mode 100644 TAO/CIAO/tools/Daemon/DaemonController.cpp delete mode 100644 TAO/CIAO/tools/Daemon/Daemon_Commands.cpp delete mode 100644 TAO/CIAO/tools/Daemon/Daemon_Commands.h delete mode 100644 TAO/CIAO/tools/Daemon/Daemon_Commands.inl delete mode 100644 TAO/CIAO/tools/Daemon/Daemon_Impl.cpp delete mode 100644 TAO/CIAO/tools/Daemon/Daemon_Impl.h delete mode 100644 TAO/CIAO/tools/Daemon/Daemon_Impl.inl delete mode 100644 TAO/CIAO/tools/Daemon/README delete mode 100644 TAO/CIAO/tools/Daemon/Softpkg_Commands.cpp delete mode 100644 TAO/CIAO/tools/Daemon/Softpkg_Commands.h delete mode 100644 TAO/CIAO/tools/Daemon/Softpkg_Commands.inl delete mode 100644 TAO/CIAO/tools/Daemon/controller_i.cpp delete mode 100644 TAO/CIAO/tools/Daemon/controller_i.h delete mode 100644 TAO/CIAO/tools/Daemon/controller_i.inl delete mode 100644 TAO/CIAO/tools/ServerActivator/README delete mode 100644 TAO/CIAO/tools/ServerActivator/ServerActivator.cpp delete mode 100644 TAO/CIAO/tools/ServerActivator/ServerActivator.mpc delete mode 100644 TAO/CIAO/tools/ServerActivator/ServerActivator_test_client.cpp delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Makefile delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/README delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Simple_Component_Server.cpp delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Simple_Component_Server.mpc delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Simple_Server.idl delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Simple_Server_Stub_Export.h delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Simple_Server_i.cpp delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/Simple_Server_i.h delete mode 100644 TAO/CIAO/tools/Simple_Component_Server/sample_client.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/Assembly_Handlers.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/Assembly_Handlers.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/Assembly_Handlers.inl delete mode 100644 TAO/CIAO/tools/XML_Helpers/Assembly_Spec.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/Assembly_Spec.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/Assembly_Spec.inl delete mode 100644 TAO/CIAO/tools/XML_Helpers/Cascadable_DocHandler.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/Cascadable_DocHandler.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/Cascadable_DocHandler.i delete mode 100644 TAO/CIAO/tools/XML_Helpers/Handler-Interaction.png delete mode 100644 TAO/CIAO/tools/XML_Helpers/Handler-Interaction.vsd delete mode 100644 TAO/CIAO/tools/XML_Helpers/README delete mode 100644 TAO/CIAO/tools/XML_Helpers/Softpkg_Handlers.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/Softpkg_Handlers.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/Softpkg_Handlers.inl delete mode 100644 TAO/CIAO/tools/XML_Helpers/Svcconf_Handler.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/Svcconf_Handler.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/Svcconf_Handler.i delete mode 100644 TAO/CIAO/tools/XML_Helpers/XMLHelpers.mpc delete mode 100644 TAO/CIAO/tools/XML_Helpers/XML_Helpers_Export.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/XML_Utils.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/XML_Utils.h delete mode 100644 TAO/CIAO/tools/XML_Helpers/XML_Utils.inl delete mode 100644 TAO/CIAO/tools/XML_Helpers/main.cpp delete mode 100644 TAO/CIAO/tools/XML_Helpers/svc.conf.xml delete mode 100644 TAO/man/man1/TAO_Concurrency_Service.1 delete mode 100644 TAO/man/man1/TAO_CosEvent_Service.1 delete mode 100644 TAO/man/man1/TAO_Event_Service.1 delete mode 100644 TAO/man/man1/tao_idl.1 delete mode 100644 TAO/man/man7/TAO.7 delete mode 100644 TAO/performance-tests/AMI_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/AMI_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/AMI_Latency/Roundtrip_Handler.cpp delete mode 100644 TAO/performance-tests/AMI_Latency/Roundtrip_Handler.h delete mode 100644 TAO/performance-tests/AMI_Latency/Server_Task.cpp delete mode 100644 TAO/performance-tests/AMI_Latency/client.cpp delete mode 100644 TAO/performance-tests/AMI_Latency/server.cpp delete mode 100644 TAO/performance-tests/DII_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/DII_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/DII_Latency/client.cpp delete mode 100644 TAO/performance-tests/DII_Latency/server.cpp delete mode 100644 TAO/performance-tests/DSI_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/DSI_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/DSI_Latency/client.cpp delete mode 100644 TAO/performance-tests/DSI_Latency/server.cpp delete mode 100644 TAO/performance-tests/Deferred_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/Deferred_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/Deferred_Latency/client.cpp delete mode 100644 TAO/performance-tests/Deferred_Latency/server.cpp delete mode 100644 TAO/performance-tests/RTCorba/Multiple_Endpoints/Endpoint_Per_Priority/Makefile delete mode 100644 TAO/performance-tests/Single_Threaded_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/Single_Threaded_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/Single_Threaded_Latency/client.cpp delete mode 100644 TAO/performance-tests/Single_Threaded_Latency/server.cpp delete mode 100644 TAO/performance-tests/Thread_Per_Connection_Latency/Client_Task.cpp delete mode 100644 TAO/performance-tests/Thread_Per_Connection_Latency/Client_Task.h delete mode 100644 TAO/performance-tests/Thread_Per_Connection_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/Thread_Per_Connection_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/Thread_Per_Connection_Latency/client.cpp delete mode 100644 TAO/performance-tests/Thread_Per_Connection_Latency/server.cpp delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/Client_Task.h delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/Roundtrip.cpp delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/Roundtrip.h delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/Worker_Thread.cpp delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/client.cpp delete mode 100644 TAO/performance-tests/Thread_Pool_Latency/server.cpp delete mode 100644 configure.ac delete mode 100644 java/ChangeLog delete mode 100644 java/EAC/BoundsException.java delete mode 100644 java/EAC/Configuration.java delete mode 100644 java/EAC/Configurator.java delete mode 100644 java/EAC/ConnectionException.java delete mode 100644 java/EAC/Connector.java delete mode 100644 java/EAC/EACComponent.java delete mode 100644 java/EAC/EACFont.java delete mode 100644 java/EAC/EACLabel.java delete mode 100644 java/EAC/EACMenuBar.java delete mode 100644 java/EAC/EACPanel.java delete mode 100644 java/EAC/EACPrintStream.java delete mode 100644 java/EAC/EmptyQueueException.java delete mode 100644 java/EAC/File.java delete mode 100644 java/EAC/InputMode.java delete mode 100644 java/EAC/Intersection.java delete mode 100644 java/EAC/Operator.java delete mode 100644 java/EAC/Primitive.java delete mode 100644 java/EAC/Queue.java delete mode 100644 java/EAC/README delete mode 100644 java/EAC/ResourcePool.java delete mode 100644 java/EAC/Rubberband.java delete mode 100644 java/EAC/RubberbandLine.java delete mode 100644 java/EAC/Sink.java delete mode 100644 java/EAC/Source.java delete mode 100644 java/EAC/System_Manual.doc delete mode 100644 java/EAC/TooManyPrimitivesException.java delete mode 100644 java/EAC/Union.java delete mode 100644 java/EAC/User_Manual.doc delete mode 100644 java/ImageProcessing/ImageProcessing.dsp delete mode 100644 java/ImageProcessing/ImageProcessing.dsw delete mode 100644 java/ImageProcessing/filters/Assert.java delete mode 100644 java/ImageProcessing/filters/BleachFilter.java delete mode 100644 java/ImageProcessing/filters/BlurFilter.java delete mode 100644 java/ImageProcessing/filters/DarkenFilter.java delete mode 100644 java/ImageProcessing/filters/DeSpeckleFilter.java delete mode 100644 java/ImageProcessing/filters/DissolveFilter.java delete mode 100644 java/ImageProcessing/filters/EdgeDetectFilter.java delete mode 100644 java/ImageProcessing/filters/EmbossFilter.java delete mode 100644 java/ImageProcessing/filters/Makefile delete mode 100644 java/ImageProcessing/filters/MedFilter.java delete mode 100644 java/ImageProcessing/filters/OilPaintFilter.java delete mode 100644 java/ImageProcessing/filters/PixelizeFilter.java delete mode 100644 java/ImageProcessing/filters/RandomizeFilter.java delete mode 100644 java/ImageProcessing/filters/RotateFilter.java delete mode 100644 java/ImageProcessing/filters/SharpenFilter.java delete mode 100644 java/ImageProcessing/filters/SpatialFilter.java delete mode 100644 java/ImageProcessing/filters/SpreadFilter.java delete mode 100644 java/ImageProcessing/filters/Timer.java delete mode 100644 java/ImageProcessing/framework/BaseButton.java delete mode 100644 java/ImageProcessing/framework/BenchmarkApplet.java delete mode 100644 java/ImageProcessing/framework/DialogManager.java delete mode 100644 java/ImageProcessing/framework/DialogType.java delete mode 100644 java/ImageProcessing/framework/FileBrowser.java delete mode 100644 java/ImageProcessing/framework/FilePanel.java delete mode 100644 java/ImageProcessing/framework/FilterTest.java delete mode 100644 java/ImageProcessing/framework/GIFHandler.java delete mode 100644 java/ImageProcessing/framework/GifEncoder.java delete mode 100644 java/ImageProcessing/framework/Hierarchy.java delete mode 100644 java/ImageProcessing/framework/HierarchyAdapter.java delete mode 100644 java/ImageProcessing/framework/Icon.java delete mode 100644 java/ImageProcessing/framework/ImageApp.java delete mode 100644 java/ImageProcessing/framework/ImageByteCounter.java delete mode 100644 java/ImageProcessing/framework/ImageCanvas.java delete mode 100644 java/ImageProcessing/framework/ImageEncoder.java delete mode 100644 java/ImageProcessing/framework/ImageProcessor.java delete mode 100644 java/ImageProcessing/framework/ImageSender.java delete mode 100644 java/ImageProcessing/framework/IntHashtable.java delete mode 100644 java/ImageProcessing/framework/ListFiles.java delete mode 100755 java/ImageProcessing/framework/LoadURLFrame.java delete mode 100644 java/ImageProcessing/framework/Makefile delete mode 100644 java/ImageProcessing/framework/MedJava.html delete mode 100644 java/ImageProcessing/framework/Options.java delete mode 100755 java/ImageProcessing/framework/SaveURLFrame.java delete mode 100644 java/ImageProcessing/framework/Separator.java delete mode 100644 java/ImageProcessing/framework/ServerHandler.java delete mode 100644 java/ImageProcessing/framework/ServerTest.java delete mode 100644 java/ImageProcessing/framework/StatusDisplay.java delete mode 100644 java/ImageProcessing/framework/StatusIndicator.java delete mode 100644 java/ImageProcessing/framework/TestHandler.java delete mode 100644 java/ImageProcessing/framework/Tester.java delete mode 100644 java/ImageProcessing/framework/doc01.gif delete mode 100644 java/ImageProcessing/framework/file03.gif delete mode 100644 java/ImageProcessing/framework/filter.conf delete mode 100644 java/ImageProcessing/framework/help.conf delete mode 100644 java/ImageProcessing/framework/test.html delete mode 100644 java/ImageProcessing/framework/testFilter.conf delete mode 100644 java/JACE/ASX/IOCntlCmds.java delete mode 100644 java/JACE/ASX/IOCntlMsg.java delete mode 100644 java/JACE/ASX/MessageBlock.java delete mode 100644 java/JACE/ASX/MessageQueue.java delete mode 100644 java/JACE/ASX/MessageType.java delete mode 100644 java/JACE/ASX/Module.java delete mode 100644 java/JACE/ASX/Stream.java delete mode 100644 java/JACE/ASX/StreamHead.java delete mode 100644 java/JACE/ASX/StreamTail.java delete mode 100644 java/JACE/ASX/Task.java delete mode 100644 java/JACE/ASX/TaskFlags.java delete mode 100644 java/JACE/ASX/ThruTask.java delete mode 100644 java/JACE/ASX/TimeValue.java delete mode 100644 java/JACE/ASX/TimedWait.java delete mode 100644 java/JACE/ASX/TimeoutException.java delete mode 100644 java/JACE/ASX/package.html delete mode 100644 java/JACE/Concurrency/AbstractLock.java delete mode 100644 java/JACE/Concurrency/Condition.java delete mode 100644 java/JACE/Concurrency/LockAdapter.java delete mode 100644 java/JACE/Concurrency/LockException.java delete mode 100644 java/JACE/Concurrency/Mutex.java delete mode 100644 java/JACE/Concurrency/RWMutex.java delete mode 100644 java/JACE/Concurrency/RenewObject.java delete mode 100644 java/JACE/Concurrency/Semaphore.java delete mode 100644 java/JACE/Concurrency/ThreadManager.java delete mode 100644 java/JACE/Concurrency/Token.java delete mode 100644 java/JACE/Concurrency/WaitObject.java delete mode 100644 java/JACE/Concurrency/package.html delete mode 100644 java/JACE/Connection/AcceptStrategy.java delete mode 100644 java/JACE/Connection/Acceptor.java delete mode 100644 java/JACE/Connection/ActivateStrategy.java delete mode 100644 java/JACE/Connection/Blob.java delete mode 100644 java/JACE/Connection/BlobHandler.java delete mode 100644 java/JACE/Connection/BlobReader.java delete mode 100644 java/JACE/Connection/BlobWriter.java delete mode 100644 java/JACE/Connection/Connector.java delete mode 100644 java/JACE/Connection/CreationStrategy.java delete mode 100644 java/JACE/Connection/HTTPHelper.java delete mode 100644 java/JACE/Connection/StrategyAcceptor.java delete mode 100644 java/JACE/Connection/SvcHandler.java delete mode 100644 java/JACE/Connection/package.html delete mode 100644 java/JACE/Makefile delete mode 100644 java/JACE/Misc/GetOpt.java delete mode 100644 java/JACE/Misc/package.html delete mode 100644 java/JACE/OS/ACE.java delete mode 100644 java/JACE/OS/OS.java delete mode 100644 java/JACE/OS/package.html delete mode 100644 java/JACE/Reactor/EventHandler.java delete mode 100644 java/JACE/Reactor/TimerQueue.java delete mode 100644 java/JACE/Reactor/package.html delete mode 100644 java/JACE/SOCK_SAP/INETAddr.java delete mode 100644 java/JACE/SOCK_SAP/SOCKAcceptor.java delete mode 100644 java/JACE/SOCK_SAP/SOCKConnector.java delete mode 100644 java/JACE/SOCK_SAP/SOCKStream.java delete mode 100644 java/JACE/SOCK_SAP/package.html delete mode 100644 java/JACE/ServiceConfigurator/Service.java delete mode 100644 java/JACE/ServiceConfigurator/ServiceConfig.java delete mode 100644 java/JACE/ServiceConfigurator/ServiceLoader.java delete mode 100644 java/JACE/ServiceConfigurator/ServiceObject.java delete mode 100644 java/JACE/ServiceConfigurator/ServiceRepository.java delete mode 100644 java/JACE/ServiceConfigurator/package.html delete mode 100644 java/JACE/Timers/ProfileTimer.java delete mode 100644 java/JACE/Timers/package.html delete mode 100644 java/JACE/makebat.zip delete mode 100644 java/JACE/netsvcs/Handler.java delete mode 100644 java/JACE/netsvcs/Logger/LogRecord.java delete mode 100644 java/JACE/netsvcs/Logger/LoggingStrategy.java delete mode 100644 java/JACE/netsvcs/Logger/ServerLoggingAcceptor.java delete mode 100644 java/JACE/netsvcs/Logger/ServerLoggingHandler.java delete mode 100644 java/JACE/netsvcs/Logger/StderrStrategy.java delete mode 100644 java/JACE/netsvcs/Logger/c.bat delete mode 100644 java/JACE/netsvcs/Logger/package.html delete mode 100644 java/JACE/netsvcs/Naming/NameAcceptor.java delete mode 100644 java/JACE/netsvcs/Naming/NameHandler.java delete mode 100644 java/JACE/netsvcs/Naming/NameProxy.java delete mode 100644 java/JACE/netsvcs/Naming/NameReply.java delete mode 100644 java/JACE/netsvcs/Naming/NameRequest.java delete mode 100644 java/JACE/netsvcs/Naming/c.bat delete mode 100644 java/JACE/netsvcs/Naming/package.html delete mode 100644 java/JACE/netsvcs/Server.java delete mode 100644 java/JACE/netsvcs/Time/TSClerkHandler.java delete mode 100644 java/JACE/netsvcs/Time/TSClerkProcessor.java delete mode 100644 java/JACE/netsvcs/Time/TSServerAcceptor.java delete mode 100644 java/JACE/netsvcs/Time/TSServerHandler.java delete mode 100644 java/JACE/netsvcs/Time/TimeInfo.java delete mode 100644 java/JACE/netsvcs/Time/TimeRequest.java delete mode 100644 java/JACE/netsvcs/Time/c.bat delete mode 100644 java/JACE/netsvcs/Time/package.html delete mode 100644 java/JACE/netsvcs/Time/r.bat delete mode 100644 java/JACE/netsvcs/Token/LockHandler.java delete mode 100644 java/JACE/netsvcs/Token/LockHandlerAdapter.java delete mode 100644 java/JACE/netsvcs/Token/LockOperations.java delete mode 100644 java/JACE/netsvcs/Token/LockTypes.java delete mode 100644 java/JACE/netsvcs/Token/MutexHandler.java delete mode 100644 java/JACE/netsvcs/Token/RWMutexHandler.java delete mode 100644 java/JACE/netsvcs/Token/RemoteLock.java delete mode 100644 java/JACE/netsvcs/Token/RemoteMutex.java delete mode 100644 java/JACE/netsvcs/Token/RemoteRWMutex.java delete mode 100644 java/JACE/netsvcs/Token/TokenAcceptor.java delete mode 100644 java/JACE/netsvcs/Token/TokenReply.java delete mode 100644 java/JACE/netsvcs/Token/TokenRequest.java delete mode 100644 java/JACE/netsvcs/Token/TokenRequestHandler.java delete mode 100644 java/JACE/netsvcs/Token/package.html delete mode 100644 java/JACE/netsvcs/package.html delete mode 100644 java/JACE/overview.html delete mode 100644 java/JACE/package.html delete mode 100644 java/JACE/tests/ASX/BufferStreamTest.java delete mode 100644 java/JACE/tests/ASX/MessageQueueTest.java delete mode 100644 java/JACE/tests/ASX/PriorityBufferTest.java delete mode 100644 java/JACE/tests/ASX/TaskTest.java delete mode 100644 java/JACE/tests/ASX/ThreadPoolTest.java delete mode 100644 java/JACE/tests/Concurrency/Condition/Consumer.java delete mode 100644 java/JACE/tests/Concurrency/Condition/JoinableThreadGroup.java delete mode 100644 java/JACE/tests/Concurrency/Condition/Producer.java delete mode 100644 java/JACE/tests/Concurrency/Condition/QueueTest.java delete mode 100644 java/JACE/tests/Concurrency/Condition/SimpleMessageQueue.java delete mode 100644 java/JACE/tests/Concurrency/IterationTest.java delete mode 100644 java/JACE/tests/Concurrency/RWMutexTest.java delete mode 100644 java/JACE/tests/Concurrency/TimingTest.java delete mode 100644 java/JACE/tests/Concurrency/TokenTest.java delete mode 100644 java/JACE/tests/Connection/AcceptorTest.java delete mode 100644 java/JACE/tests/Connection/ClientHandler.java delete mode 100644 java/JACE/tests/Connection/ConnectorTest.java delete mode 100644 java/JACE/tests/Connection/HTTPHelperTest.java delete mode 100644 java/JACE/tests/Connection/ServerHandler.java delete mode 100644 java/JACE/tests/Makefile delete mode 100644 java/JACE/tests/Misc/ParseArgsTest.java delete mode 100644 java/JACE/tests/Reactor/TimeValueTest.java delete mode 100644 java/JACE/tests/Reactor/TimerQueueTest.java delete mode 100644 java/JACE/tests/SOCK_SAP/SOCKAcceptorTest.java delete mode 100644 java/JACE/tests/SOCK_SAP/SOCKConnectorTest.java delete mode 100644 java/JACE/tests/ServiceConfigurator/Main.java delete mode 100644 java/JACE/tests/ServiceConfigurator/svc.conf delete mode 100644 java/JACE/tests/netsvcs/Logger/LoggerTest.java delete mode 100644 java/JACE/tests/netsvcs/Naming/ClientTest.java delete mode 100644 java/JACE/tests/netsvcs/Time/TSClient.java delete mode 100644 java/JACE/tests/netsvcs/Token/ProxyClientTest.java delete mode 100644 java/MSVJProjects.zip delete mode 100644 java/README delete mode 100644 java/VERSION delete mode 100644 java/apps/NexusII/README delete mode 100644 java/apps/NexusII/classes/ClientHandler.class delete mode 100644 java/apps/NexusII/classes/FrameHandler.class delete mode 100644 java/apps/NexusII/classes/ImageCanvas.class delete mode 100644 java/apps/NexusII/classes/NexusClientApplet.class delete mode 100644 java/apps/NexusII/classes/NexusIIserver.class delete mode 100644 java/apps/NexusII/classes/Room.class delete mode 100644 java/apps/NexusII/classes/RoomFactory.class delete mode 100644 java/apps/NexusII/classes/RoomFrame.class delete mode 100644 java/apps/NexusII/classes/RoomThread.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CApplet.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CApplet.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CButton.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CButton.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CCanvas.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CCanvas.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CFrame.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CFrame.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CList.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CList.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CPanel.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CPanel.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextArea.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextArea.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextField.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextField.java delete mode 100644 java/apps/NexusII/classes/awtCommand/Command.class delete mode 100644 java/apps/NexusII/classes/awtCommand/Command.java delete mode 100644 java/apps/NexusII/classes/commandHandler.class delete mode 100644 java/apps/NexusII/classes/commandParser.class delete mode 100644 java/apps/NexusII/classes/connectionHandler.class delete mode 100644 java/apps/NexusII/classes/joinHandler.class delete mode 100644 java/apps/NexusII/classes/roomHandler.class delete mode 100644 java/apps/NexusII/classes/textHandler.class delete mode 100644 java/apps/NexusII/src/Consumer.java delete mode 100644 java/apps/NexusII/src/MT_Bounded_Queue.java delete mode 100644 java/apps/NexusII/src/MT_Bounded_Queue_Group.java delete mode 100644 java/apps/NexusII/src/NexusClientApplet.java delete mode 100644 java/apps/NexusII/src/NexusIIserver.java delete mode 100644 java/apps/NexusII/src/Producer.java delete mode 100644 java/apps/NexusII/src/Room.java delete mode 100644 java/apps/NexusII/src/RoomFrame.java delete mode 100644 java/apps/NexusII/src/RoomSpace.java delete mode 100644 java/apps/NexusII/src/Timed_Wait.java delete mode 100644 java/apps/NexusII/src/Timer.java delete mode 100644 java/apps/NexusII/src/commandHandler.java delete mode 100644 java/apps/NexusII/src/commandParser.java delete mode 100644 java/apps/NexusII/src/connectionHandler.java delete mode 100644 java/apps/NexusII/src/consts.java delete mode 100644 java/apps/NexusII/src/dataPacket.java delete mode 100644 java/apps/NexusII/src/joinHandler.java delete mode 100644 java/apps/NexusII/src/makefile delete mode 100644 java/apps/NexusII/src/nexusDemuxThread.java delete mode 100644 java/apps/NexusII/src/roomHandler.java delete mode 100644 java/apps/NexusII/src/socketReaderThread.java delete mode 100644 java/apps/NexusII/src/socketWriterThread.java delete mode 100644 java/apps/NexusII/src/url_to_url.java delete mode 100755 java/apps/NexusII/start delete mode 100644 java/apps/NexusII/start.html delete mode 100644 java/classes/README.TXT delete mode 100644 java/doc/images/GridBagEx.gif delete mode 100644 java/doc/images/OpenBookIcon.gif delete mode 100644 java/doc/images/blue-ball-small.gif delete mode 100644 java/doc/images/blue-ball.gif delete mode 100644 java/doc/images/class-index.gif delete mode 100644 java/doc/images/constructor-index.gif delete mode 100644 java/doc/images/constructors.gif delete mode 100644 java/doc/images/cyan-ball-small.gif delete mode 100644 java/doc/images/cyan-ball.gif delete mode 100644 java/doc/images/error-index.gif delete mode 100644 java/doc/images/exception-index.gif delete mode 100644 java/doc/images/green-ball-small.gif delete mode 100644 java/doc/images/green-ball.gif delete mode 100644 java/doc/images/interface-index.gif delete mode 100644 java/doc/images/magenta-ball-small.gif delete mode 100644 java/doc/images/magenta-ball.gif delete mode 100644 java/doc/images/method-index.gif delete mode 100644 java/doc/images/methods.gif delete mode 100644 java/doc/images/package-index.gif delete mode 100644 java/doc/images/red-ball-small.gif delete mode 100644 java/doc/images/red-ball.gif delete mode 100644 java/doc/images/variable-index.gif delete mode 100644 java/doc/images/variables.gif delete mode 100644 java/doc/images/yellow-ball-small.gif delete mode 100644 java/doc/images/yellow-ball.gif delete mode 100644 java/examples/Logger/README delete mode 100644 java/examples/Logger/simple-server/LogRecord.java delete mode 100644 java/examples/Logger/simple-server/LoggerConstants.java delete mode 100644 java/examples/Logger/simple-server/LoggingAcceptor.java delete mode 100644 java/examples/Logger/simple-server/LoggingClient.java delete mode 100644 java/examples/Logger/simple-server/LoggingHandler.java delete mode 100644 java/examples/Logger/simple-server/Makefile delete mode 100644 java/examples/Logger/simple-server/README delete mode 100644 java/examples/Logger/simple-server/SimpleLogger.java delete mode 100644 java/gjt/Assert.java delete mode 100644 java/gjt/Bargauge.java delete mode 100644 java/gjt/Border.java delete mode 100644 java/gjt/Box.java delete mode 100644 java/gjt/BulletinLayout.java delete mode 100644 java/gjt/ButtonPanel.java delete mode 100644 java/gjt/CardPanel.java delete mode 100644 java/gjt/ChoiceCardPanel.java delete mode 100644 java/gjt/ColumnLayout.java delete mode 100644 java/gjt/ComponentScroller.java delete mode 100644 java/gjt/DialogClient.java delete mode 100644 java/gjt/DrawingPanel.java delete mode 100644 java/gjt/DrawnRectangle.java delete mode 100644 java/gjt/EtchedBorder.java delete mode 100644 java/gjt/EtchedRectangle.java delete mode 100644 java/gjt/Etching.java delete mode 100644 java/gjt/ExclusiveImageButtonPanel.java delete mode 100644 java/gjt/FontDialog.java delete mode 100644 java/gjt/GJT.DSP delete mode 100644 java/gjt/GJT.DSW delete mode 100644 java/gjt/GJTDialog.java delete mode 100644 java/gjt/IconCardPanel.java delete mode 100644 java/gjt/ImageButton.java delete mode 100644 java/gjt/ImageButtonController.java delete mode 100644 java/gjt/ImageButtonEvent.java delete mode 100644 java/gjt/ImageButtonPanel.java delete mode 100644 java/gjt/ImageButtonPanelController.java delete mode 100644 java/gjt/ImageCanvas.java delete mode 100644 java/gjt/ImageScroller.java delete mode 100644 java/gjt/LabelCanvas.java delete mode 100644 java/gjt/Makefile delete mode 100644 java/gjt/MessageDialog.java delete mode 100644 java/gjt/MouseController.java delete mode 100644 java/gjt/Orientation.java delete mode 100644 java/gjt/ProgressDialog.java delete mode 100644 java/gjt/QuestionDialog.java delete mode 100644 java/gjt/RadioImageButtonPanelController.java delete mode 100644 java/gjt/RowLayout.java delete mode 100644 java/gjt/Scroller.java delete mode 100644 java/gjt/ScrollerLayout.java delete mode 100644 java/gjt/SelectionEvent.java delete mode 100644 java/gjt/Separator.java delete mode 100644 java/gjt/SpringyImageButtonController.java delete mode 100644 java/gjt/StateButton.java delete mode 100644 java/gjt/StateButtonController.java delete mode 100644 java/gjt/StickyImageButtonController.java delete mode 100644 java/gjt/Stopwatch.java delete mode 100644 java/gjt/StopwatchClient.java delete mode 100644 java/gjt/ThreeDBorder.java delete mode 100644 java/gjt/ThreeDBorderStyle.java delete mode 100644 java/gjt/ThreeDRectangle.java delete mode 100644 java/gjt/Toolbar.java delete mode 100644 java/gjt/Util.java delete mode 100644 java/gjt/YesNoDialog.java delete mode 100644 java/gjt/animation/CollisionArena.java delete mode 100644 java/gjt/animation/CollisionDetector.java delete mode 100644 java/gjt/animation/EdgeCollisionDetector.java delete mode 100644 java/gjt/animation/Playfield.java delete mode 100644 java/gjt/animation/Sequence.java delete mode 100644 java/gjt/animation/Sprite.java delete mode 100644 java/gjt/animation/SpriteCollisionDetector.java delete mode 100644 java/gjt/image/BleachImageFilter.java delete mode 100644 java/gjt/image/DissolveFilter.java delete mode 100644 java/gjt/image/ImageDissolver.java delete mode 100644 java/gjt/rubberband/Rubberband.java delete mode 100644 java/gjt/rubberband/RubberbandEllipse.java delete mode 100644 java/gjt/rubberband/RubberbandLine.java delete mode 100644 java/gjt/rubberband/RubberbandPanel.java delete mode 100644 java/gjt/rubberband/RubberbandRectangle.java delete mode 100644 java/gjt/test/AttributesPanel.java delete mode 100644 java/gjt/test/BargaugeTest.java delete mode 100644 java/gjt/test/BleachImageFilterTest.java delete mode 100644 java/gjt/test/BorderTest.java delete mode 100644 java/gjt/test/BoxTest.java delete mode 100644 java/gjt/test/BumpAnimationTest.java delete mode 100644 java/gjt/test/ChoiceCardPanelTest.java delete mode 100644 java/gjt/test/ColumnLayoutTest.java delete mode 100644 java/gjt/test/ComponentScrollerTest.java delete mode 100644 java/gjt/test/ConnectionsPanel.java delete mode 100644 java/gjt/test/DialogTest.java delete mode 100644 java/gjt/test/DrawnRectangleTest.java delete mode 100644 java/gjt/test/FontDialogTest.java delete mode 100644 java/gjt/test/IconCardPanelTest.java delete mode 100644 java/gjt/test/ImageButtonTest.java delete mode 100644 java/gjt/test/ImageDissolverTest.java delete mode 100644 java/gjt/test/ImageScrollerTest.java delete mode 100644 java/gjt/test/LabelCanvasTest.java delete mode 100644 java/gjt/test/MessageDialogTest.java delete mode 100644 java/gjt/test/OccupationOracle.java delete mode 100644 java/gjt/test/RowLayoutTest.java delete mode 100644 java/gjt/test/RubberbandTest.java delete mode 100644 java/gjt/test/SeparatorTest.java delete mode 100644 java/gjt/test/SimpleAnimationTest.java delete mode 100644 java/gjt/test/SimpleBargaugeTest.java delete mode 100644 java/gjt/test/StateButtonTest.java delete mode 100644 java/gjt/test/TenPixelBorder.java delete mode 100644 java/gjt/test/TitledPanel.java delete mode 100644 java/gjt/test/ToolbarTest.java delete mode 100644 java/gjt/test/TwoDrinkersAnimationTest.java delete mode 100644 java/gjt/test/UnitTest.java delete mode 100644 java/java-ace.gif delete mode 100644 java/netsvcs/Logger/DefaultLMR.java delete mode 100644 java/netsvcs/Logger/LogMessageReceiver.java delete mode 100644 java/netsvcs/Logger/LogRecord.java delete mode 100644 java/netsvcs/Logger/Makefile delete mode 100644 java/netsvcs/Logger/ServerLoggingAcceptor.java delete mode 100644 java/netsvcs/Logger/ServerLoggingHandler.java delete mode 100644 java/netsvcs/Naming/Makefile delete mode 100644 java/netsvcs/Naming/NameAcceptor.java delete mode 100644 java/netsvcs/Naming/NameHandler.java delete mode 100644 java/netsvcs/Naming/NameProxy.java delete mode 100644 java/netsvcs/Naming/NameReply.java delete mode 100644 java/netsvcs/Naming/NameRequest.java delete mode 100755 java/netsvcs/Time/Clerk.java delete mode 100755 java/netsvcs/Time/Makefile delete mode 100755 java/netsvcs/Time/Server.java delete mode 100755 java/netsvcs/Time/TSClerkHandler.java delete mode 100755 java/netsvcs/Time/TSClerkProcessor.java delete mode 100755 java/netsvcs/Time/TSRequestAcceptor.java delete mode 100755 java/netsvcs/Time/TSRequestHandler.java delete mode 100755 java/netsvcs/Time/TSServerAcceptor.java delete mode 100755 java/netsvcs/Time/TSServerHandler.java delete mode 100644 java/src/ACE.java delete mode 100644 java/src/AcceptStrategy.java delete mode 100644 java/src/Acceptor.java delete mode 100644 java/src/ActivateStrategy.java delete mode 100644 java/src/AddServiceObjectNode.java delete mode 100644 java/src/Blob.java delete mode 100644 java/src/BlobHandler.java delete mode 100644 java/src/BlobReader.java delete mode 100644 java/src/BlobWriter.java delete mode 100644 java/src/ClassNameGenerator.java delete mode 100644 java/src/ClassReader.java delete mode 100644 java/src/Condition.java delete mode 100644 java/src/Connector.java delete mode 100644 java/src/CreationStrategy.java delete mode 100644 java/src/EventHandler.java delete mode 100644 java/src/GetOpt.java delete mode 100644 java/src/HTTPHelper.java delete mode 100644 java/src/INETAddr.java delete mode 100644 java/src/IOCntlCmds.java delete mode 100644 java/src/IOCntlMsg.java delete mode 100644 java/src/JACE.DSP delete mode 100644 java/src/JACE.DSW delete mode 100644 java/src/Makefile delete mode 100644 java/src/MessageBlock.java delete mode 100644 java/src/MessageQueue.java delete mode 100644 java/src/MessageType.java delete mode 100644 java/src/Module.java delete mode 100644 java/src/Mutex.java delete mode 100644 java/src/OS.java delete mode 100644 java/src/ParseNode.java delete mode 100644 java/src/ProfileTimer.java delete mode 100644 java/src/README delete mode 100644 java/src/RWMutex.java delete mode 100644 java/src/RemoveNode.java delete mode 100644 java/src/ResumeNode.java delete mode 100644 java/src/SOCKAcceptor.java delete mode 100644 java/src/SOCKConnector.java delete mode 100644 java/src/SOCKStream.java delete mode 100644 java/src/Semaphore.java delete mode 100644 java/src/ServiceConfig.java delete mode 100644 java/src/ServiceLoader.java delete mode 100644 java/src/ServiceObject.java delete mode 100644 java/src/ServiceObjectRecord.java delete mode 100644 java/src/ServiceRecord.java delete mode 100644 java/src/ServiceRepository.java delete mode 100644 java/src/StrategyAcceptor.java delete mode 100644 java/src/Stream.java delete mode 100644 java/src/StreamHead.java delete mode 100644 java/src/StreamTail.java delete mode 100644 java/src/SuspendNode.java delete mode 100644 java/src/SvcHandler.java delete mode 100644 java/src/Task.java delete mode 100644 java/src/TaskFlags.java delete mode 100644 java/src/ThreadManager.java delete mode 100644 java/src/ThruTask.java delete mode 100644 java/src/TimeValue.java delete mode 100644 java/src/TimedWait.java delete mode 100644 java/src/TimeoutException.java delete mode 100644 java/src/TimerQueue.java delete mode 100644 java/src/Token.java delete mode 100644 java/tests/ASX/BufferStreamTest.dsp delete mode 100644 java/tests/ASX/BufferStreamTest.java delete mode 100644 java/tests/ASX/Makefile delete mode 100644 java/tests/ASX/MessageQueueTest.dsp delete mode 100644 java/tests/ASX/MessageQueueTest.java delete mode 100644 java/tests/ASX/PriorityBufferTest.dsp delete mode 100644 java/tests/ASX/PriorityBufferTest.java delete mode 100644 java/tests/ASX/TaskTest.dsp delete mode 100644 java/tests/ASX/TaskTest.java delete mode 100644 java/tests/ASX/ThreadPoolTest.dsp delete mode 100644 java/tests/ASX/ThreadPoolTest.java delete mode 100644 java/tests/Concurrency/Condition/Condition.dsp delete mode 100644 java/tests/Concurrency/Condition/Consumer.java delete mode 100644 java/tests/Concurrency/Condition/JoinableThreadGroup.java delete mode 100644 java/tests/Concurrency/Condition/Makefile delete mode 100644 java/tests/Concurrency/Condition/Producer.java delete mode 100644 java/tests/Concurrency/Condition/QueueTest.java delete mode 100644 java/tests/Concurrency/Condition/SimpleMessageQueue.java delete mode 100644 java/tests/Concurrency/Makefile delete mode 100644 java/tests/Concurrency/MutexTest.dsp delete mode 100644 java/tests/Concurrency/MutexTest.java delete mode 100644 java/tests/Concurrency/RWMutexTest.dsp delete mode 100644 java/tests/Concurrency/RWMutexTest.java delete mode 100644 java/tests/Concurrency/SemaphoreTest.dsp delete mode 100644 java/tests/Concurrency/SemaphoreTest.java delete mode 100644 java/tests/Concurrency/TokenTest.dsp delete mode 100644 java/tests/Concurrency/TokenTest.java delete mode 100644 java/tests/Connection/AcceptorTest.dsp delete mode 100644 java/tests/Connection/AcceptorTest.java delete mode 100644 java/tests/Connection/ClientHandler.dsp delete mode 100644 java/tests/Connection/ClientHandler.java delete mode 100644 java/tests/Connection/ConnectorTest.dsp delete mode 100644 java/tests/Connection/ConnectorTest.java delete mode 100644 java/tests/Connection/HTTPHelperTest.java delete mode 100644 java/tests/Connection/Makefile delete mode 100644 java/tests/Connection/ServerHandler.dsp delete mode 100644 java/tests/Connection/ServerHandler.java delete mode 100644 java/tests/Misc/Makefile delete mode 100644 java/tests/Misc/ParseArgsTest.dsp delete mode 100644 java/tests/Misc/ParseArgsTest.java delete mode 100644 java/tests/Reactor/Makefile delete mode 100644 java/tests/Reactor/TimeValueTest.dsp delete mode 100644 java/tests/Reactor/TimeValueTest.java delete mode 100644 java/tests/Reactor/TimerQueueTest.dsp delete mode 100644 java/tests/Reactor/TimerQueueTest.java delete mode 100644 java/tests/SOCK_SAP/Makefile delete mode 100644 java/tests/SOCK_SAP/SOCKAcceptorTest.dsp delete mode 100644 java/tests/SOCK_SAP/SOCKAcceptorTest.java delete mode 100644 java/tests/SOCK_SAP/SOCKConnectorTest.dsp delete mode 100644 java/tests/SOCK_SAP/SOCKConnectorTest.java delete mode 100644 java/tests/ServiceConfigurator/Makefile delete mode 100644 java/tests/ServiceConfigurator/ServiceConfigurator.dsp delete mode 100644 java/tests/ServiceConfigurator/TestService.java delete mode 100644 java/tests/ServiceConfigurator/reloadTest.java delete mode 100644 java/tests/ServiceConfigurator/suspendTest.java delete mode 100644 java/tests/ServiceConfigurator/suspendTest1.conf delete mode 100644 java/tests/ServiceConfigurator/suspendTest2.conf delete mode 100644 java/tests/ServiceConfigurator/suspendTest3.conf delete mode 100644 java/tests/ServiceConfigurator/svc.conf delete mode 100644 java/tests/Tests.dsw delete mode 100644 java/tests/netsvcs/Logger/LoggerTest.java delete mode 100644 java/tests/netsvcs/Logger/Makefile delete mode 100644 java/tests/netsvcs/Naming/ClientTest.java delete mode 100644 java/tests/netsvcs/Naming/Makefile delete mode 100644 nightly.mwc delete mode 100644 protocols/ace/RMCast/Makefile.am delete mode 100644 protocols/ace/RMCast/README delete mode 100644 protocols/ace/RMCast/RMCast_Export.h delete mode 100644 psosim/Makefile delete mode 100644 psosim/drv_conf.c delete mode 100644 samwise/ChangeLog delete mode 100644 samwise/PerlACE/MSProject.pm delete mode 100644 samwise/PerlACE/MSProject/DSP.pm delete mode 100644 samwise/PerlSam/Generator.pm delete mode 100644 samwise/PerlSam/Generator/Automake.pm delete mode 100644 samwise/PerlSam/Generator/Borland.pm delete mode 100644 samwise/PerlSam/Generator/GNUMake.pm delete mode 100644 samwise/PerlSam/Generator/MSVC6.pm delete mode 100644 samwise/PerlSam/Generator/View.pm delete mode 100644 samwise/PerlSam/Generator/VisualAge.pm delete mode 100644 samwise/PerlSam/Parser.pm delete mode 100644 samwise/PerlSam/Parser/Simple.pm delete mode 100644 samwise/README.txt delete mode 100644 samwise/TODO.txt delete mode 100755 samwise/create_sam.pl delete mode 100644 samwise/libs.xml delete mode 100644 samwise/makeinclude/executable.GNU delete mode 100644 samwise/makeinclude/library.GNU delete mode 100644 samwise/makeinclude/macros.GNU delete mode 100644 samwise/makeinclude/rules.common.GNU delete mode 100644 samwise/makeinclude/rules.makefiles.GNU delete mode 100644 samwise/makeinclude/rules.nomakefiles.GNU delete mode 100644 samwise/makeinclude/vacpp_setup.icc delete mode 100644 samwise/makeinclude/workspace.GNU delete mode 100644 samwise/sam.dtd delete mode 100755 samwise/sam.pl delete mode 100644 vc7_nightly.mwc diff --git a/Kokyu/DSRT_Dispatcher_Impl.cpp b/Kokyu/DSRT_Dispatcher_Impl.cpp deleted file mode 100644 index 50642a8386a..00000000000 --- a/Kokyu/DSRT_Dispatcher_Impl.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ - -#include "ace/Sched_Params.h" -#include "ace/Arg_Shifter.h" -#include "ace/Dynamic_Service.h" - -#include "DSRT_Dispatcher_Impl.h" -#include "DSRT_Schedulers.h" - -#if ! defined (__ACE_INLINE__) -#include "DSRT_Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Kokyu, Dispatcher_Impl, "$Id$") - - //using namespace Kokyu; - -namespace Kokyu -{ -int -DSRT_Dispatcher_Impl::init_i (const DSRT_ConfigInfo& config_info) -{ - curr_config_info_ = config_info; - - this->scheduler_impl_ = - ACE_Dynamic_Service::instance ("DSRT_Scheduler_Impl"); - - return 0; -} - -int -DSRT_Dispatcher_Impl::schedule_i (guid_t guid, - const DSRT_QoSDescriptor& qos_info) -{ - ACE_UNUSED_ARG (guid); - ACE_hthread_t thr_handle; - ACE_Thread::self (thr_handle); - - int prio = this->scheduler_impl_->schedule (guid, qos_info); - ACE_OS::thr_setprio (thr_handle, prio); - - return prio; -} - -int -DSRT_Dispatcher_Impl::update_schedule_i (guid_t guid, - const DSRT_QoSDescriptor& qos_info) -{ - ACE_UNUSED_ARG (guid); - ACE_UNUSED_ARG (qos_info); - return 0; -} - -int -DSRT_Dispatcher_Impl::cancel_schedule_i (guid_t guid, - const DSRT_QoSDescriptor& qos_info) -{ - return schedule_i (guid, qos_info); -} - -} diff --git a/Kokyu/DSRT_Dispatcher_Impl.h b/Kokyu/DSRT_Dispatcher_Impl.h deleted file mode 100644 index f0ed126dbbc..00000000000 --- a/Kokyu/DSRT_Dispatcher_Impl.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file DSRT_Dispatcher_Impl.h - * - * $Id$ - * - */ - -#ifndef DSRT_DISPATCHER_IMPL_H -#define DSRT_DISPATCHER_IMPL_H -#include "ace/pre.h" -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Task.h" -#include "ace/Message_Block.h" -#include "ace/Auto_Ptr.h" -#include "ace/Service_Config.h" - -#include "ace/Sched_Params.h" - -#include "kokyu_export.h" -#include "Kokyu.h" - -namespace Kokyu -{ - class DSRT_Scheduler_Impl; - - class DSRT_Dispatcher_Impl - { - public: - - virtual ~DSRT_Dispatcher_Impl (); - - int init (const DSRT_ConfigInfo&); - int schedule (guid_t guid, - const DSRT_QoSDescriptor&); - int update_schedule (guid_t guid, - const DSRT_QoSDescriptor&); - int cancel_schedule (guid_t guid, - const DSRT_QoSDescriptor&); - - private: - - int init_i (const DSRT_ConfigInfo&); - int schedule_i (guid_t guid, - const DSRT_QoSDescriptor&); - int update_schedule_i (guid_t guid, - const DSRT_QoSDescriptor&); - int cancel_schedule_i (guid_t guid, - const DSRT_QoSDescriptor&); - - private: - DSRT_ConfigInfo curr_config_info_; - DSRT_Scheduler_Impl* scheduler_impl_; - }; - -} //end of namespace - -#if defined (__ACE_INLINE__) -#include "DSRT_Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* DEFAULT_DISPATCHER_IMPL_H */ diff --git a/Kokyu/DSRT_Dispatcher_Impl.i b/Kokyu/DSRT_Dispatcher_Impl.i deleted file mode 100644 index 96a0fbdd26c..00000000000 --- a/Kokyu/DSRT_Dispatcher_Impl.i +++ /dev/null @@ -1,38 +0,0 @@ -// $Id$ - -namespace Kokyu -{ - -ACE_INLINE -DSRT_Dispatcher_Impl::~DSRT_Dispatcher_Impl () -{ -} - -ACE_INLINE -int DSRT_Dispatcher_Impl::init (const DSRT_ConfigInfo& config_info) -{ - return this->init_i (config_info); -} - -ACE_INLINE -int DSRT_Dispatcher_Impl::schedule (guid_t guid, - const DSRT_QoSDescriptor& qos) -{ - return this->schedule_i (guid, qos); -} - -ACE_INLINE -int DSRT_Dispatcher_Impl::update_schedule (guid_t guid, - const DSRT_QoSDescriptor& qos) -{ - return this->update_schedule_i (guid, qos); -} - -ACE_INLINE -int DSRT_Dispatcher_Impl::cancel_schedule (guid_t guid, - const DSRT_QoSDescriptor& qos) -{ - return this->cancel_schedule_i (guid, qos); -} - -} diff --git a/Kokyu/DSRT_Schedulers.cpp b/Kokyu/DSRT_Schedulers.cpp deleted file mode 100644 index f0d469883c4..00000000000 --- a/Kokyu/DSRT_Schedulers.cpp +++ /dev/null @@ -1,190 +0,0 @@ -// $Id$ - -#include "ace/Sched_Params.h" -#include "ace/Arg_Shifter.h" - -#include "DSRT_Schedulers.h" - -#if ! defined (__ACE_INLINE__) -//#include "DSRT_Schedulers.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Kokyu, DSRT_Schedulers, "$Id$") - - -namespace Kokyu -{ -DSRT_Scheduler_Impl::DSRT_Scheduler_Impl () - :sched_policy_ (ACE_SCHED_FIFO), - sched_scope_ (ACE_SCOPE_THREAD), - min_prio_ (ACE_Sched_Params::priority_min (sched_policy_, sched_scope_)), - max_prio_ (ACE_Sched_Params::priority_max (sched_policy_, sched_scope_)) -{ -#if defined (ACE_WIN32) - // Count up the number of distinct native priorities on current - // platform. - int n; - Priority_t current_priority = this->min_prio_; - for (n = 1; current_priority != this->max_prio_; ++n) - { - current_priority = - ACE_Sched_Params::next_priority (this->sched_policy_, - current_priority); - } - - this->prio_range_ = n-1; - -#else - this->prio_range_ = this->max_prio_ - this->min_prio_ + 1; -#endif /* ACE_WIN32 */ - -} - -int -DSRT_Scheduler_Impl::schedule (guid_t id, const DSRT_QoSDescriptor& qos) -{ - return this->schedule_i (id, qos); -} - -MIF_Scheduler_Impl::MIF_Scheduler_Impl () - : DSRT_Scheduler_Impl () -{ -} - -int -MIF_Scheduler_Impl::init (int argc, ACE_TCHAR* argv[]) -{ - ACE_Arg_Shifter arg_shifter (argc, argv); - - //ACE_DEBUG ((LM_DEBUG, "svc::init called\n")); - - while (arg_shifter.is_anything_left ()) - { - const ACE_TCHAR* arg = arg_shifter.get_current (); - - if (ACE_OS::strcasecmp (arg, ACE_LIB_TEXT("-sched_policy")) == 0) - { - arg_shifter.consume_arg (); - - if (arg_shifter.is_parameter_next ()) - { - const ACE_TCHAR* opt = arg_shifter.get_current (); - if (ACE_OS::strcasecmp (opt, ACE_LIB_TEXT("FIFO")) == 0) - { - this->sched_policy_ = ACE_SCHED_FIFO; - } - else if (ACE_OS::strcasecmp (opt, ACE_LIB_TEXT("OTHER")) == 0) - { - this->sched_policy_ = ACE_SCHED_OTHER; - } - else - { - ACE_ERROR ((LM_ERROR, - ACE_LIB_TEXT("-sched_policy ") - ACE_LIB_TEXT("unsupported sched policy <%s>\n"), - opt)); - } - arg_shifter.consume_arg (); - } - } - else if (ACE_OS::strcasecmp (arg, ACE_LIB_TEXT("-sched_scope")) == 0) - { - arg_shifter.consume_arg (); - - if (arg_shifter.is_parameter_next ()) - { - const ACE_TCHAR* opt = arg_shifter.get_current (); - if (ACE_OS::strcasecmp (opt, ACE_LIB_TEXT("THREAD")) == 0) - { - this->sched_scope_ = ACE_SCOPE_THREAD; - } - else if (ACE_OS::strcasecmp (opt, ACE_LIB_TEXT("PROCESS")) == 0) - { - this->sched_scope_ = ACE_SCOPE_PROCESS; - } - else - { - ACE_ERROR ((LM_ERROR, - ACE_LIB_TEXT("-sched_scope ") - ACE_LIB_TEXT("unsupported sched scope <%s>\n"), - opt)); - } - arg_shifter.consume_arg (); - } - } - else if (ACE_OS::strcasecmp (arg, ACE_LIB_TEXT("-min_importance")) == 0) - { - arg_shifter.consume_arg (); - - if (arg_shifter.is_parameter_next ()) - { - const ACE_TCHAR* opt = arg_shifter.get_current (); - this->min_importance_ = ACE_OS::atoi (opt); - arg_shifter.consume_arg (); - } - } - else if (ACE_OS::strcasecmp (arg, ACE_LIB_TEXT("-max_importance")) == 0) - { - arg_shifter.consume_arg (); - - if (arg_shifter.is_parameter_next ()) - { - const ACE_TCHAR* opt = arg_shifter.get_current (); - this->max_importance_ = ACE_OS::atoi (opt); - arg_shifter.consume_arg (); - } - } - } - - this->importance_range_ = this->max_importance_ - this->min_importance_; - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("MIF_Scheduler: importance_range = %d\n"), - this->importance_range_)); - return 0; -} - -int -MIF_Scheduler_Impl::fini (void) -{ - return 0; -} - -Priority_t -MIF_Scheduler_Impl::schedule_i (guid_t id, const DSRT_QoSDescriptor& qos) -{ - ACE_UNUSED_ARG ((id)); - // ACE_DEBUG ((LM_DEBUG, "(%t) request for MIF schedule\n")); - - Priority_t prio = qos.importance_ * this->prio_range_ / this->importance_range_; - - if (prio > max_prio_) - { - prio = max_prio_; - } - - return prio; -} - - -} - -// **************************************************************** - -//could not use ACE_FACTORY_DEFINE macro here because of Kokyu namespace -// see new Kokyu::MIF_Scheduler_Impl in _make_xx factory function -//need to revisit later - -void _gobble_MIF_Scheduler_Impl (void *p) { \ - ACE_Service_Object *_p = ACE_static_cast (ACE_Service_Object *, p); - ACE_ASSERT (_p != 0); - delete _p; } -extern "C" Kokyu_Export ACE_Service_Object * -_make_MIF_Scheduler_Impl (ACE_Service_Object_Exterminator *gobbler) -{ - if (gobbler != 0) - *gobbler = (ACE_Service_Object_Exterminator) _gobble_MIF_Scheduler_Impl; - ACE_DEBUG ((LM_DEBUG, "about to create MIF_Scheduler_Impl\n" )); - return new Kokyu::MIF_Scheduler_Impl; -} - -// **************************************************************** diff --git a/Kokyu/DSRT_Schedulers.h b/Kokyu/DSRT_Schedulers.h deleted file mode 100644 index fefaa7951e3..00000000000 --- a/Kokyu/DSRT_Schedulers.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file DSRT_Schedulers.h - * - * $Id$ - * - * @author Venkita Subramonian (venkita@cs.wustl.edu) - * - * Based on previous work by Tim Harrison (harrison@cs.wustl.edu), - * Chris Gill, Carlos O'Ryan and other members of the DOC group. - */ - -#ifndef DSRT_SCHEDULERS_H -#define DSRT_SCHEDULERS_H -#include "ace/pre.h" -#include "ace/OS.h" - -#include "Kokyu.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -namespace Kokyu -{ - class DSRT_Scheduler_Impl : public ACE_Service_Object - { - public: - DSRT_Scheduler_Impl (); - int schedule (guid_t, const DSRT_QoSDescriptor&); - - private: - virtual Priority_t schedule_i (guid_t, const DSRT_QoSDescriptor&) = 0; - - protected: - ACE_Sched_Params::Policy sched_policy_; - int sched_scope_; - Priority_t min_prio_; - Priority_t max_prio_; - Priority_t prio_range_; - }; - - class MIF_Scheduler_Impl : public DSRT_Scheduler_Impl - { - public: - MIF_Scheduler_Impl (); - virtual int init (int argc, ACE_TCHAR* argv[]); - virtual int fini (void); - static void init_svcs (void); - - private: - virtual Priority_t schedule_i (guid_t, const DSRT_QoSDescriptor&); - - private: - short min_importance_; - short max_importance_; - short importance_range_; - }; -} - -//could not use SVC declare macros here because of Kokyu namespace -//need to revisit later -extern ACE_Static_Svc_Descriptor ace_svc_desc_MIF_Scheduler_Impl; - -ACE_FACTORY_DECLARE (Kokyu, MIF_Scheduler_Impl) - -#if defined (__ACE_INLINE__) -//#include "DSRT_Schedulers.i" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* DSRT_SCHEDULERS_H */ diff --git a/Kokyu/Default_Dispatcher_Impl.cpp b/Kokyu/Default_Dispatcher_Impl.cpp deleted file mode 100644 index 8e1fea22d01..00000000000 --- a/Kokyu/Default_Dispatcher_Impl.cpp +++ /dev/null @@ -1,138 +0,0 @@ -// $Id$ - -#include "Default_Dispatcher_Impl.h" -#include "ace/Sched_Params.h" - -#if ! defined (__ACE_INLINE__) -#include "Default_Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Kokyu, Dispatcher_Impl, "$Id$") - -namespace Kokyu -{ -int -Default_Dispatcher_Impl::init_i (const ConfigInfoSet& config_info_set) -{ - //create and init the dispatcher tasks here - - ACE_DEBUG ((LM_DEBUG, "entering init_t\n" )); - int size; - size = config_info_set.size (); - - if (size == 0) - return -1; - - this->ntasks_ = size; - - Dispatcher_Task_Auto_Ptr * tasks_array=0; - ACE_NEW_RETURN (tasks_array, Dispatcher_Task_Auto_Ptr[ntasks_], -1); - - ACE_DEBUG ((LM_DEBUG, "after new on task array\n" )); - tasks_.reset(tasks_array); - - ACE_DEBUG ((LM_DEBUG, "task array auto_ptr set\n" )); - - ConfigInfoSet& config_set = const_cast (config_info_set); - ConfigInfoSet::ITERATOR iter(config_set); - int i=0; - - ConfigInfo* config; - for (;i tmp_task_auto_ptr (task); - tasks_[i++] = tmp_task_auto_ptr; - //I couldn't use reset because MSVC++ auto_ptr does not have reset method. - //So in configurations where the auto_ptr maps to the std::auto_ptr instead - //of ACE auto_ptr, this would be a problem. - //tasks_[i++].reset (task); - } - - this->activate (); - - curr_config_info_ = config_info_set; - return 0; -} - -int -Default_Dispatcher_Impl::activate () -{ - int i; - for(i=0; iget_curr_config_info ().thread_priority_; - - if (this->tasks_[i]->activate (flags, 1, 1, priority) == -1) - { - flags = THR_BOUND; - priority = ACE_Sched_Params::priority_min (ACE_SCHED_OTHER, - ACE_SCOPE_THREAD); - if (this->tasks_[i]->activate (flags, 1, 1, priority) == -1) - ACE_ERROR ((LM_ERROR, - "EC (%P|%t) cannot activate queue %d", i)); - } - } - - return 0; -} - -Dispatcher_Task* -Default_Dispatcher_Impl::find_task_with_preemption_prio (Priority_t prio) -{ - int i; - - if (prio >=0) - { - for( i=0; ipreemption_priority () == prio) - return tasks_[i].get(); - } - } - - return 0; -} - -int -Default_Dispatcher_Impl::dispatch_i (const Dispatch_Command* cmd, - const QoSDescriptor& qos_info) -{ - //delegate to the appropriate task - if (qos_info.preemption_priority_ < 0) - return -1; - - Dispatcher_Task* task = - find_task_with_preemption_prio (qos_info.preemption_priority_); - - if (task != 0) - task->enqueue (cmd, qos_info); - else - tasks_[0]->enqueue (cmd, qos_info); - - return 0; -} - -int -Default_Dispatcher_Impl::shutdown_i () -{ - //post shutdown command to all tasks - int i; - - for(i=0; ienqueue (shutdown_cmd, qos_info); - } - - return 0; -} - -} diff --git a/Kokyu/Default_Dispatcher_Impl.h b/Kokyu/Default_Dispatcher_Impl.h deleted file mode 100644 index dab89df9119..00000000000 --- a/Kokyu/Default_Dispatcher_Impl.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Default_Dispatcher_Impl.h - * - * $Id$ - * - * @author Venkita Subramonian (venkita@cs.wustl.edu) - * - * Based on previous work by Tim Harrison (harrison@cs.wustl.edu), - * Chris Gill, Carlos O'Ryan and other members of the DOC group. - */ - -#ifndef DEFAULT_DISPATCHER_IMPL_H -#define DEFAULT_DISPATCHER_IMPL_H -#include "ace/pre.h" -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Task.h" -#include "ace/Message_Block.h" -#include "ace/Auto_Ptr.h" - -#include "kokyu_export.h" -#include "Kokyu.h" -#include "Dispatcher_Impl.h" -#include "Dispatcher_Task.h" - -namespace Kokyu -{ - class Default_Dispatcher_Impl : public Dispatcher_Impl - { - public: - virtual ~Default_Dispatcher_Impl (); - int activate (); - - private: - int init_i (const ConfigInfoSet&); - int dispatch_i (const Dispatch_Command*, - const QoSDescriptor&); - int shutdown_i (); - Dispatcher_Task* find_task_with_preemption_prio (Priority_t); - - private: - typedef auto_ptr Dispatcher_Task_Auto_Ptr; - ACE_Auto_Array_Ptr tasks_; - int ntasks_; - ConfigInfoSet curr_config_info_; - }; - - // **************************************************************** - - class Shutdown_Task_Command : public Dispatch_Command - { - public: - /// Constructor - Shutdown_Task_Command (ACE_Allocator *mb_allocator = 0); - - /// Command callback - int execute (); - }; - - // **************************************************************** - -} //end of namespace - -#if defined (__ACE_INLINE__) -#include "Default_Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* DEFAULT_DISPATCHER_IMPL_H */ diff --git a/Kokyu/Default_Dispatcher_Impl.i b/Kokyu/Default_Dispatcher_Impl.i deleted file mode 100644 index 07df24d94d9..00000000000 --- a/Kokyu/Default_Dispatcher_Impl.i +++ /dev/null @@ -1,21 +0,0 @@ -// $Id$ - -namespace Kokyu -{ -ACE_INLINE -Default_Dispatcher_Impl::~Default_Dispatcher_Impl() -{ -} - -ACE_INLINE -Shutdown_Task_Command::Shutdown_Task_Command (ACE_Allocator *mb_allocator) -{ - ACE_UNUSED_ARG ((mb_allocator)); -} - -ACE_INLINE int -Shutdown_Task_Command::execute () -{ - return -1; -} -} diff --git a/Kokyu/Dispatcher_Impl.cpp b/Kokyu/Dispatcher_Impl.cpp deleted file mode 100644 index 762d0254fdf..00000000000 --- a/Kokyu/Dispatcher_Impl.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// $Id$ - -#include "Dispatcher_Impl.h" - -#if ! defined (__ACE_INLINE__) -#include "Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Kokyu, Dispatcher_Impl, "$Id$") diff --git a/Kokyu/Dispatcher_Impl.h b/Kokyu/Dispatcher_Impl.h deleted file mode 100644 index 623704b8dbe..00000000000 --- a/Kokyu/Dispatcher_Impl.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Dispatcher_Impl.h - * - * $Id$ - * - * @author Venkita Subramonian (venkita@cs.wustl.edu) - * - * Based on previous work by Tim Harrison (harrison@cs.wustl.edu), - * Chris Gill, Carlos O'Ryan and other members of the DOC group. - */ - -#ifndef DISPATCHER_IMPL_H -#define DISPATCHER_IMPL_H -#include "ace/pre.h" -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "kokyu_export.h" -#include "Kokyu.h" - -namespace Kokyu -{ - class Dispatcher_Impl - { - public: - //following an idiom to avoid public virtual functions. - //instead make them private and use the template method - //pattern - "Virtually Yours" article in CUJ Experts Forum - int init (const ConfigInfoSet&); - int dispatch (const Dispatch_Command*, - const QoSDescriptor&); - int shutdown (); - virtual ~Dispatcher_Impl(); - private: - virtual int init_i (const ConfigInfoSet&) =0; - virtual int dispatch_i (const Dispatch_Command*, - const QoSDescriptor&) =0; - virtual int shutdown_i () =0; - - }; -} //end of namespace - -#if defined (__ACE_INLINE__) -#include "Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* DISPATCHER_IMPL_H */ diff --git a/Kokyu/Dispatcher_Impl.i b/Kokyu/Dispatcher_Impl.i deleted file mode 100644 index 54a9748aae7..00000000000 --- a/Kokyu/Dispatcher_Impl.i +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -namespace Kokyu -{ -ACE_INLINE -int Dispatcher_Impl::init (const ConfigInfoSet& config_info) -{ - return init_i (config_info); -} - -ACE_INLINE -int Dispatcher_Impl::dispatch (const Dispatch_Command* cmd, - const QoSDescriptor& qos_info) -{ - return dispatch_i (cmd, qos_info); -} - -ACE_INLINE -int Dispatcher_Impl::shutdown () -{ - return shutdown_i (); -} - -ACE_INLINE -Dispatcher_Impl::~Dispatcher_Impl() -{ -} -} diff --git a/Kokyu/Dispatcher_Task.cpp b/Kokyu/Dispatcher_Task.cpp deleted file mode 100644 index 87e58535211..00000000000 --- a/Kokyu/Dispatcher_Task.cpp +++ /dev/null @@ -1,155 +0,0 @@ -// $Id$ - -#include "Dispatcher_Task.h" - -#if ! defined (__ACE_INLINE__) -#include "Dispatcher_Task.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Kokyu, Dispatcher_Task, "$Id$") - -namespace Kokyu -{ - -int -Dispatcher_Task::init () -{ - switch(curr_config_info_.dispatching_type_) - { - case FIFO_DISPATCHING: - ACE_NEW_RETURN ( - this->the_queue_, - ACE_Message_Queue, - -1); - break; - - case DEADLINE_DISPATCHING: - ACE_NEW_RETURN ( - this->the_queue_, - ACE_Dynamic_Message_Queue (deadline_msg_strategy_), - -1); - break; - - case LAXITY_DISPATCHING: - ACE_NEW_RETURN ( - this->the_queue_, - ACE_Dynamic_Message_Queue (laxity_msg_strategy_), - -1); - break; - - default: - return -1; - break; - } - - if (this->the_queue_ != 0) - { - this->msg_queue(this->the_queue_); - } - return 0; -} - -int -Dispatcher_Task::svc (void) -{ - int done = 0; - while (!done) - { - ACE_Message_Block *mb; - if (this->getq (mb) == -1) - if (ACE_OS::last_error () == ESHUTDOWN) - return 0; - else - ACE_ERROR ((LM_ERROR, - "EC (%P|%t) getq error in Dispatching Queue\n")); - - Dispatch_Queue_Item *qitem = - ACE_dynamic_cast(Dispatch_Queue_Item*, mb); - - if (qitem == 0) - { - ACE_Message_Block::release (mb); - continue; - } - - Dispatch_Command* command = qitem->command (); - - ACE_ASSERT(command != 0); - int result = command->execute (); - - if (command->can_be_deleted ()) - command->destroy (); - - ACE_Message_Block::release (mb); - - if (result == -1) - done = 1; - } - return 0; -} - -int -Dispatcher_Task::enqueue (const Dispatch_Command* cmd, - const QoSDescriptor& qos_info) -{ - if (this->allocator_ == 0) - this->allocator_ = ACE_Allocator::instance (); - - void* buf = this->allocator_->malloc (sizeof (Dispatch_Queue_Item)); - - if (buf == 0) - return -1; - - ACE_Message_Block *mb = - new (buf) Dispatch_Queue_Item (cmd, - qos_info, - this->data_block_.duplicate (), - this->allocator_); - - this->putq (mb); - - return 0; -} - -int Dispatcher_Task::get_native_prio () -{ - ACE_hthread_t thr_handle; - ACE_Thread::self (thr_handle); - int prio; - - if (ACE_Thread::getprio (thr_handle, prio) == -1) - { - if (errno == ENOTSUP) - { - ACE_DEBUG((LM_DEBUG, - ACE_TEXT ("getprior not supported on this platform\n") - )); - return 0; - } - ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("getprio failed")), - -1); - } - - return prio; -} - -void Dispatch_Queue_Item::init_i (const QoSDescriptor& qos_info) -{ - this->msg_priority (qos_info.preemption_priority_); - this->msg_execution_time (qos_info.execution_time_); - this->msg_deadline_time (qos_info.deadline_); -} - -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class ACE_Locked_Data_Block >; - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_Locked_Data_Block > - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/Kokyu/Dispatcher_Task.h b/Kokyu/Dispatcher_Task.h deleted file mode 100644 index 9beae6d556c..00000000000 --- a/Kokyu/Dispatcher_Task.h +++ /dev/null @@ -1,106 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Dispatcher_Task.h - * - * $Id$ - * - * @author Venkita Subramonian (venkita@cs.wustl.edu) - * - * Based on previous work by Tim Harrison (harrison@cs.wustl.edu), - * Chris Gill, Carlos O'Ryan and other members of the DOC group. - */ - -#ifndef TAO_DISPATCHER_TASK_H -#define TAO_DISPATCHER_TASK_H -#include "ace/pre.h" -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Task.h" - -#include "kokyu_export.h" -#include "Kokyu.h" - -namespace Kokyu -{ - -class Dispatch_Queue_Item : public ACE_Message_Block -{ -public: - Dispatch_Queue_Item (const Dispatch_Command* , const QoSDescriptor&); - - Dispatch_Queue_Item::Dispatch_Queue_Item ( - const Dispatch_Command* cmd, - const QoSDescriptor& qos_info, - ACE_Allocator* mb_allocator =0); - - Dispatch_Queue_Item::Dispatch_Queue_Item ( - const Dispatch_Command* cmd, - const QoSDescriptor& qos_info, - ACE_Data_Block* data_block, - ACE_Allocator* mb_allocator =0); - - Dispatch_Command* command (); - -private: - void init_i(const QoSDescriptor&); - -private: - const Dispatch_Command* command_; - QoSDescriptor qos_info_; -}; - -/** - * @class Dispatcher_Task - * - * @brief Implement the dispatching queues for FIFO and Priority - * dispatching. - * - */ -class Dispatcher_Task : public ACE_Task -{ -public: - /// Constructor - Dispatcher_Task (const ConfigInfo& config_info, - ACE_Thread_Manager* thr_manager = 0); - - int init(); - - int enqueue (const Dispatch_Command* cmd, - const QoSDescriptor& qos_info); - - /// Process the events in the queue. - int svc (void); - - const ConfigInfo& get_curr_config_info() const; - Priority_t preemption_priority() const; - -private: - static int get_native_prio(); - -private: - /// An per-task allocator - ACE_Allocator *allocator_; - - /// Helper data structure to minimize memory allocations... - ACE_Locked_Data_Block > data_block_; - - /// The queue - ACE_Message_Queue* the_queue_; - - ConfigInfo curr_config_info_; - ACE_Deadline_Message_Strategy deadline_msg_strategy_; - ACE_Laxity_Message_Strategy laxity_msg_strategy_; -}; - -} //end of namespace - -#if defined (__ACE_INLINE__) -#include "Dispatcher_Task.i" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* DISPATCHER_TASK_H */ diff --git a/Kokyu/Dispatcher_Task.i b/Kokyu/Dispatcher_Task.i deleted file mode 100644 index 93736390d48..00000000000 --- a/Kokyu/Dispatcher_Task.i +++ /dev/null @@ -1,76 +0,0 @@ -// $Id$ - -namespace Kokyu -{ -ACE_INLINE -Dispatcher_Task::Dispatcher_Task (const ConfigInfo& config_info, - ACE_Thread_Manager* thr_manager) - : ACE_Task (thr_manager), - allocator_ (0), - curr_config_info_ (config_info), - deadline_msg_strategy_ (0, 0, 0x7FFFFFFFUL, 0x08000000UL ), - //bits for static priority = 0 - //max dynamic prio = 2^31 - 1 - //pending offset = 15/16th of the dynamic prio range - //which means that the LATE population will be in the - //1/16th part of the range. - laxity_msg_strategy_ (0, 0, 0x7FFFFFFFUL, 0x08000000UL ) -{ - this->init(); -} - -ACE_INLINE -Priority_t -Dispatcher_Task::preemption_priority() const -{ - return curr_config_info_.preemption_priority_; -} - - -ACE_INLINE -const ConfigInfo& -Dispatcher_Task::get_curr_config_info() const -{ - return curr_config_info_; -} - -ACE_INLINE -Dispatch_Queue_Item::Dispatch_Queue_Item ( - const Dispatch_Command* cmd, - const QoSDescriptor& qos_info) - :command_ (cmd), qos_info_ (qos_info) -{ - this->init_i (qos_info); -} - -ACE_INLINE -Dispatch_Queue_Item::Dispatch_Queue_Item ( - const Dispatch_Command* cmd, - const QoSDescriptor& qos_info, - ACE_Data_Block *data_block, - ACE_Allocator* mb_allocator) - : ACE_Message_Block (data_block, 0, mb_allocator), - command_ (cmd), qos_info_ (qos_info) - -{ - this->init_i (qos_info); -} - -ACE_INLINE -Dispatch_Queue_Item::Dispatch_Queue_Item ( - const Dispatch_Command* cmd, - const QoSDescriptor& qos_info, - ACE_Allocator* mb_allocator) - : ACE_Message_Block (mb_allocator), - command_ (cmd), qos_info_ (qos_info) -{ - this->init_i (qos_info); -} - -ACE_INLINE -Dispatch_Command* -Dispatch_Queue_Item::command() -{ - return const_cast (command_); -} -} diff --git a/Kokyu/Kokyu.cpp b/Kokyu/Kokyu.cpp deleted file mode 100644 index 274068c8a22..00000000000 --- a/Kokyu/Kokyu.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// $Id$ - -#include "ace/Dynamic_Service.h" -#include "Kokyu.h" -#include "Default_Dispatcher_Impl.h" - -#if ! defined (__ACE_INLINE__) -#include "Kokyu.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Kokyu, Dispatcher_Impl, "$Id$") - -namespace Kokyu -{ - -int Dispatcher::dispatch (const Dispatch_Command* cmd, const QoSDescriptor& qos) -{ - return dispatcher_impl_->dispatch (cmd, qos); -} - -int Dispatcher::shutdown () -{ - return dispatcher_impl_->shutdown (); -} - - -void Dispatcher::implementation (Dispatcher_Impl* impl) -{ - auto_ptr tmp_impl (impl); - dispatcher_impl_ = tmp_impl; - - //I couldn't use reset because MSVC++ auto_ptr does not have reset method. - //So in configurations where the auto_ptr maps to the std::auto_ptr instead - //of ACE auto_ptr, this would be a problem. - //dispatcher_impl_.reset (impl); -} - - -Dispatcher* -Dispatcher_Factory:: -create_dispatcher (const ConfigInfoSet& config_info_set) -{ - Dispatcher_Impl* tmp; - ACE_NEW_RETURN (tmp, Default_Dispatcher_Impl, (Dispatcher*)0); - Dispatcher* disp; - ACE_NEW_RETURN (disp, Dispatcher, (Dispatcher*)0); - disp->implementation (tmp); - tmp->init (config_info_set); - return disp; -} - -void -DSRT_Dispatcher::implementation (DSRT_Dispatcher_Impl* impl) -{ - dispatcher_impl_ = impl; -} - -int -DSRT_Dispatcher::schedule (guid_t guid, const DSRT_QoSDescriptor& qos) -{ - return dispatcher_impl_->schedule (guid, qos); -} - -int -DSRT_Dispatcher::update_schedule (guid_t guid, const DSRT_QoSDescriptor& qos) -{ - return dispatcher_impl_->update_schedule (guid, qos); -} - -int -DSRT_Dispatcher::cancel_schedule (guid_t guid, const DSRT_QoSDescriptor& qos) -{ - return dispatcher_impl_->cancel_schedule (guid, qos); -} - -DSRT_Dispatcher* -Dispatcher_Factory:: -create_DSRT_dispatcher (const DSRT_ConfigInfo& config_info) -{ - ACE_UNUSED_ARG ((config_info)); - - DSRT_Dispatcher_Impl* tmp; - - //DSRT_Dispatcher_Impl::init_svcs (); - - ACE_Service_Config::open ("Kokyu", ACE_DEFAULT_LOGGER_KEY, 0); - - //tmp = - // ACE_Dynamic_Service::instance ("DSRT_Dispatcher_Impl"); - - ACE_NEW_RETURN (tmp, DSRT_Dispatcher_Impl, (DSRT_Dispatcher*) 0); - ACE_ASSERT (tmp != 0); - DSRT_Dispatcher* disp; - ACE_NEW_RETURN (disp, DSRT_Dispatcher, (DSRT_Dispatcher*)0); - disp->implementation (tmp); - tmp->init (config_info); - return disp; -} - -} diff --git a/Kokyu/Kokyu.dsw b/Kokyu/Kokyu.dsw deleted file mode 100644 index 9ce4ef90750..00000000000 --- a/Kokyu/Kokyu.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Kokyu_DLL"=.\Kokyu_DLL.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Kokyu_static"=.\Kokyu_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/Kokyu/Kokyu.h b/Kokyu/Kokyu.h deleted file mode 100644 index 9802c6a1dd5..00000000000 --- a/Kokyu/Kokyu.h +++ /dev/null @@ -1,163 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Kokyu.h - * - * $Id$ - * - * @author Venkita Subramonian (venkita@cs.wustl.edu) - * - * Based on previous work by Tim Harrison (harrison@cs.wustl.edu), - * Chris Gill, Carlos O'Ryan and other members of the DOC group. - */ - -#ifndef KOKYU_H -#define KOKYU_H -#include "ace/pre.h" -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Array.h" -#include "ace/Time_Value.h" -#include "ace/Auto_Ptr.h" -#include "ace/Message_Block.h" -#include "ace/Sched_Params.h" - -#include "kokyu_export.h" - -namespace Kokyu -{ - typedef long Priority_t; - typedef ACE_Time_Value Deadline_t; //absolute deadline - typedef ACE_Time_Value Execution_Time_t; //execution time - - enum Dispatching_Type_t - // Defines the type of prioritization strategy - // to be used by a dispatching queue - { - FIFO_DISPATCHING, - DEADLINE_DISPATCHING, - LAXITY_DISPATCHING - }; - - enum Criticality_t - // Defines the criticality of the operation. - // For use with Dynamic Scheduler. - { - VERY_LOW_CRITICALITY, - LOW_CRITICALITY, - MEDIUM_CRITICALITY, - HIGH_CRITICALITY, - VERY_HIGH_CRITICALITY - }; - - enum Importance_t - // Defines the importance of the operation, - // which can be used by the RtecScheduler as a - // "tie-breaker" when other scheduling - // parameters are equal. - { - VERY_LOW_IMPORTANCE, - LOW_IMPORTANCE, - MEDIUM_IMPORTANCE, - HIGH_IMPORTANCE, - VERY_HIGH_IMPORTANCE - }; - - struct ConfigInfo - { - Priority_t preemption_priority_; - - // OS priority of the dispatching thread associated with the queue - Priority_t thread_priority_; - - // type of dispatching queue - Dispatching_Type_t dispatching_type_; - }; - - typedef ACE_Array ConfigInfoSet; - - struct QoSDescriptor - { - Priority_t preemption_priority_; - Deadline_t deadline_; - Execution_Time_t execution_time_; - Importance_t importance_; - }; - - struct DSRT_QoSDescriptor - { - short importance_; - }; - - class Kokyu_Export Dispatch_Command - { - public: - Dispatch_Command(int dont_delete = 0); - - /// Command callback - virtual int execute () = 0; - - int can_be_deleted () const; - - void destroy (void); - protected: - /// Destructor - // only inheritance is possible and object should be on heap, - // since object could be handed over to a different thread. - virtual ~Dispatch_Command (void); - - private: - int dont_delete_; - }; - - class Dispatcher_Impl; - class DSRT_Dispatcher_Impl; - - struct DSRT_ConfigInfo - { - }; - - typedef int guid_t; - class Kokyu_Export DSRT_Dispatcher - { - public: - int schedule (guid_t guid, const DSRT_QoSDescriptor&); - int update_schedule (guid_t guid, const DSRT_QoSDescriptor&); - int cancel_schedule (guid_t guid, const DSRT_QoSDescriptor&); - void implementation (DSRT_Dispatcher_Impl*); - - private: - DSRT_Dispatcher_Impl* dispatcher_impl_; - }; - - class Kokyu_Export Dispatcher - { - public: - int dispatch (const Dispatch_Command*, const QoSDescriptor&); - int shutdown (); - void implementation (Dispatcher_Impl*); - private: - auto_ptr dispatcher_impl_; - }; - - class Kokyu_Export Dispatcher_Factory - { - public: - //@@ Should we return auto_ptr instead? - static Dispatcher* create_dispatcher (const ConfigInfoSet&); - static DSRT_Dispatcher* create_DSRT_dispatcher (const DSRT_ConfigInfo&); - }; -} //end of namespace - -#if defined (__ACE_INLINE__) -#include "Kokyu.i" -#endif /* __ACE_INLINE__ */ - -#include "Dispatcher_Impl.h" -#include "DSRT_Dispatcher_Impl.h" - -#include "ace/post.h" -#endif /* KOKYU_H */ diff --git a/Kokyu/Kokyu.i b/Kokyu/Kokyu.i deleted file mode 100644 index 583e64c237f..00000000000 --- a/Kokyu/Kokyu.i +++ /dev/null @@ -1,33 +0,0 @@ -// $Id$ - - -namespace Kokyu -{ - -ACE_INLINE -Dispatch_Command::Dispatch_Command (int dont_delete) - :dont_delete_ (dont_delete) -{ -} - -ACE_INLINE -int Dispatch_Command::can_be_deleted (void) const -{ - return !dont_delete_; -} - -ACE_INLINE -void Dispatch_Command::destroy (void) -{ - //@@what if it was allocated thru an allocator? - //may be this should be left as a pure virtual - delete this; -} - -ACE_INLINE -Dispatch_Command::~Dispatch_Command (void) -{ -} - - -} diff --git a/Kokyu/Kokyu.mpc b/Kokyu/Kokyu.mpc deleted file mode 100644 index 684029092b7..00000000000 --- a/Kokyu/Kokyu.mpc +++ /dev/null @@ -1,7 +0,0 @@ -project : Kokyulib, core { - depends = ace - sharedname = Kokyu - dllflags = KOKYU_BUILD_DLL - libout = .. - include_dir = ace -} diff --git a/Kokyu/Kokyu_DLL.dsp b/Kokyu/Kokyu_DLL.dsp deleted file mode 100644 index 96dfa903fc4..00000000000 --- a/Kokyu/Kokyu_DLL.dsp +++ /dev/null @@ -1,227 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Kokyu_DLL" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=Kokyu_DLL - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Kokyu_DLL.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Kokyu_DLL.mak" CFG="Kokyu_DLL - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Kokyu_DLL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "Kokyu_DLL - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Kokyu_DLL - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "DLL\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "KOKYU_DLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\\" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "KOKYU_BUILD_DLL" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo /o"Kokyu.bsc" -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 ace.lib /nologo /dll /machine:I386 /out:"..\bin\Kokyu.dll" /libpath:"../ace" -# SUBTRACT LINK32 /incremental:yes /debug - -!ELSEIF "$(CFG)" == "Kokyu_DLL - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "DLL\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "KOKYU_DLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "KOKYU_BUILD_DLL" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo /o"Kokyu.bsc" -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib /nologo /dll /debug /machine:I386 /out:"..\bin\Kokyud.dll" /pdbtype:sept /libpath:"../ace" - -!ENDIF - -# Begin Target - -# Name "Kokyu_DLL - Win32 Release" -# Name "Kokyu_DLL - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\Default_Dispatcher_Impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Task.cpp -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Dispatcher_Impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Schedulers.cpp -# End Source File -# Begin Source File - -SOURCE=.\Kokyu.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\Default_Dispatcher_Impl.h -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Impl.h -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Task.h -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Dispatcher_Impl.h -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Schedulers.h -# End Source File -# Begin Source File - -SOURCE=.\Kokyu.h -# End Source File -# Begin Source File - -SOURCE=.\kokyu_export.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Default_Dispatcher_Impl.i - -!IF "$(CFG)" == "Kokyu_DLL - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_DLL - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Impl.i - -!IF "$(CFG)" == "Kokyu_DLL - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_DLL - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Task.i - -!IF "$(CFG)" == "Kokyu_DLL - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_DLL - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Dispatcher_Impl.i - -!IF "$(CFG)" == "Kokyu_DLL - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_DLL - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Kokyu.i - -!IF "$(CFG)" == "Kokyu_DLL - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_DLL - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/Kokyu/Kokyu_Static.dsp b/Kokyu/Kokyu_Static.dsp deleted file mode 100644 index 87dcd65a8f6..00000000000 --- a/Kokyu/Kokyu_Static.dsp +++ /dev/null @@ -1,215 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Kokyu_Static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=Kokyu_Static - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Kokyu_static.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Kokyu_static.mak" CFG="Kokyu_Static - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Kokyu_Static - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "Kokyu_Static - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Kokyu_Static - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Static\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "ACE_AS_STATIC_LIBS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"Kokyus.lib" - -!ELSEIF "$(CFG)" == "Kokyu_Static - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Static\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "ACE_AS_STATIC_LIBS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"Kokyusd.lib" - -!ENDIF - -# Begin Target - -# Name "Kokyu_Static - Win32 Release" -# Name "Kokyu_Static - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\Default_Dispatcher_Impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Task.cpp -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Dispatcher_Impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Schedulers.cpp -# End Source File -# Begin Source File - -SOURCE=.\Kokyu.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\Default_Dispatcher_Impl.h -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Impl.h -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Task.h -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Dispatcher_Impl.h -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Schedulers.h -# End Source File -# Begin Source File - -SOURCE=.\Kokyu.h -# End Source File -# Begin Source File - -SOURCE=.\kokyu_export.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Default_Dispatcher_Impl.i - -!IF "$(CFG)" == "Kokyu_Static - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_Static - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Impl.i - -!IF "$(CFG)" == "Kokyu_Static - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_Static - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Dispatcher_Task.i - -!IF "$(CFG)" == "Kokyu_Static - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_Static - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\DSRT_Dispatcher_Impl.i - -!IF "$(CFG)" == "Kokyu_Static - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_Static - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Kokyu.i - -!IF "$(CFG)" == "Kokyu_Static - Win32 Release" - -!ELSEIF "$(CFG)" == "Kokyu_Static - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/Kokyu/Makefile b/Kokyu/Makefile deleted file mode 100644 index 38c133d2a9e..00000000000 --- a/Kokyu/Makefile +++ /dev/null @@ -1,584 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libKokyu -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) - -CPP_SRCS += \ - Kokyu \ - Dispatcher_Impl \ - Dispatcher_Task \ - Default_Dispatcher_Impl \ - DSRT_Dispatcher_Impl \ - DSRT_Schedulers - -FILES = $(CPP_SRCS) -DEFS = $(addsuffix .h,$(FILES)) -LSRC = $(addsuffix .cpp,$(FILES)) -LIBS=$(ACELIB) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -ifeq ($(shared_libs),1) -ifneq ($(SHLIB),) -CPPFLAGS += -DKOKYU_BUILD_DLL -endif -endif -ifeq ($(static_libs),1) -ifneq ($(LIB),) -CPPFLAGS += -DACE_AS_STATIC_LIBS -endif -endif - - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - - - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - - -.obj/Kokyu.o .obj/Kokyu.so .shobj/Kokyu.o .shobj/Kokyu.so: Kokyu.cpp Kokyu.h \ - $(ACE_ROOT)/ace/pre.h \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/post.h \ - $(ACE_ROOT)/ace/ace_wchar.h \ - $(ACE_ROOT)/ace/ace_wchar.inl \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/ACE_export.h \ - $(ACE_ROOT)/ace/Global_Macros.h \ - $(ACE_ROOT)/ace/OS_Export.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - kokyu_export.h Kokyu.i Default_Dispatcher_Impl.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_Errno.h \ - $(ACE_ROOT)/ace/OS_Errno.inl \ - $(ACE_ROOT)/ace/OS_Dirent.inl \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS_String.inl \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_Memory.inl \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/OS_TLI.inl \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Time_Value.inl \ - $(ACE_ROOT)/ace/Default_Constants.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread_Adapter.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Thread_Exit.h \ - $(ACE_ROOT)/ace/Thread_Control.h \ - $(ACE_ROOT)/ace/Thread_Control.inl \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Array_Base.h \ - $(ACE_ROOT)/ace/Array_Base.inl \ - $(ACE_ROOT)/ace/Array_Base.cpp \ - $(ACE_ROOT)/ace/Unbounded_Set.h \ - $(ACE_ROOT)/ace/Unbounded_Set.inl \ - $(ACE_ROOT)/ace/Unbounded_Set.cpp \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Framework_Component.h \ - $(ACE_ROOT)/ace/Framework_Component.inl \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Framework_Component_T.h \ - $(ACE_ROOT)/ace/Framework_Component_T.inl \ - $(ACE_ROOT)/ace/Framework_Component_T.cpp \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Notification_Strategy.h \ - $(ACE_ROOT)/ace/Notification_Strategy.inl \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - Dispatcher_Impl.h Dispatcher_Impl.i Dispatcher_Task.h \ - Dispatcher_Task.i Default_Dispatcher_Impl.i - -.obj/Dispatcher_Impl.o .obj/Dispatcher_Impl.so .shobj/Dispatcher_Impl.o .shobj/Dispatcher_Impl.so: Dispatcher_Impl.cpp Dispatcher_Impl.h \ - $(ACE_ROOT)/ace/pre.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE_export.h \ - $(ACE_ROOT)/ace/post.h \ - $(ACE_ROOT)/ace/ace_wchar.h \ - $(ACE_ROOT)/ace/ace_wchar.inl \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_Export.h \ - $(ACE_ROOT)/ace/OS_Errno.h \ - $(ACE_ROOT)/ace/OS_Errno.inl \ - $(ACE_ROOT)/ace/OS_Dirent.inl \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS_String.inl \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_Memory.inl \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/OS_TLI.inl \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Time_Value.inl \ - $(ACE_ROOT)/ace/Default_Constants.h \ - $(ACE_ROOT)/ace/Global_Macros.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread_Adapter.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Thread_Exit.h \ - $(ACE_ROOT)/ace/Thread_Control.h \ - $(ACE_ROOT)/ace/Thread_Control.inl \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Array_Base.h \ - $(ACE_ROOT)/ace/Array_Base.inl \ - $(ACE_ROOT)/ace/Array_Base.cpp \ - $(ACE_ROOT)/ace/Unbounded_Set.h \ - $(ACE_ROOT)/ace/Unbounded_Set.inl \ - $(ACE_ROOT)/ace/Unbounded_Set.cpp \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Framework_Component.h \ - $(ACE_ROOT)/ace/Framework_Component.inl \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Framework_Component_T.h \ - $(ACE_ROOT)/ace/Framework_Component_T.inl \ - $(ACE_ROOT)/ace/Framework_Component_T.cpp \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Notification_Strategy.h \ - $(ACE_ROOT)/ace/Notification_Strategy.inl \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - kokyu_export.h Kokyu.h Kokyu.i Dispatcher_Impl.i - -.obj/Dispatcher_Task.o .obj/Dispatcher_Task.so .shobj/Dispatcher_Task.o .shobj/Dispatcher_Task.so: Dispatcher_Task.cpp Dispatcher_Task.h \ - $(ACE_ROOT)/ace/pre.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE_export.h \ - $(ACE_ROOT)/ace/post.h \ - $(ACE_ROOT)/ace/ace_wchar.h \ - $(ACE_ROOT)/ace/ace_wchar.inl \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_Export.h \ - $(ACE_ROOT)/ace/OS_Errno.h \ - $(ACE_ROOT)/ace/OS_Errno.inl \ - $(ACE_ROOT)/ace/OS_Dirent.inl \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS_String.inl \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_Memory.inl \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/OS_TLI.inl \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Time_Value.inl \ - $(ACE_ROOT)/ace/Default_Constants.h \ - $(ACE_ROOT)/ace/Global_Macros.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread_Adapter.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Thread_Exit.h \ - $(ACE_ROOT)/ace/Thread_Control.h \ - $(ACE_ROOT)/ace/Thread_Control.inl \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Array_Base.h \ - $(ACE_ROOT)/ace/Array_Base.inl \ - $(ACE_ROOT)/ace/Array_Base.cpp \ - $(ACE_ROOT)/ace/Unbounded_Set.h \ - $(ACE_ROOT)/ace/Unbounded_Set.inl \ - $(ACE_ROOT)/ace/Unbounded_Set.cpp \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Framework_Component.h \ - $(ACE_ROOT)/ace/Framework_Component.inl \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Framework_Component_T.h \ - $(ACE_ROOT)/ace/Framework_Component_T.inl \ - $(ACE_ROOT)/ace/Framework_Component_T.cpp \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Notification_Strategy.h \ - $(ACE_ROOT)/ace/Notification_Strategy.inl \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - kokyu_export.h Kokyu.h \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp Kokyu.i \ - Dispatcher_Task.i - -.obj/Default_Dispatcher_Impl.o .obj/Default_Dispatcher_Impl.so .shobj/Default_Dispatcher_Impl.o .shobj/Default_Dispatcher_Impl.so: Default_Dispatcher_Impl.cpp \ - Default_Dispatcher_Impl.h \ - $(ACE_ROOT)/ace/pre.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE_export.h \ - $(ACE_ROOT)/ace/post.h \ - $(ACE_ROOT)/ace/ace_wchar.h \ - $(ACE_ROOT)/ace/ace_wchar.inl \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_Export.h \ - $(ACE_ROOT)/ace/OS_Errno.h \ - $(ACE_ROOT)/ace/OS_Errno.inl \ - $(ACE_ROOT)/ace/OS_Dirent.inl \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS_String.inl \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_Memory.inl \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/OS_TLI.inl \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Time_Value.inl \ - $(ACE_ROOT)/ace/Default_Constants.h \ - $(ACE_ROOT)/ace/Global_Macros.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread_Adapter.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Thread_Exit.h \ - $(ACE_ROOT)/ace/Thread_Control.h \ - $(ACE_ROOT)/ace/Thread_Control.inl \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Array_Base.h \ - $(ACE_ROOT)/ace/Array_Base.inl \ - $(ACE_ROOT)/ace/Array_Base.cpp \ - $(ACE_ROOT)/ace/Unbounded_Set.h \ - $(ACE_ROOT)/ace/Unbounded_Set.inl \ - $(ACE_ROOT)/ace/Unbounded_Set.cpp \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Framework_Component.h \ - $(ACE_ROOT)/ace/Framework_Component.inl \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Framework_Component_T.h \ - $(ACE_ROOT)/ace/Framework_Component_T.inl \ - $(ACE_ROOT)/ace/Framework_Component_T.cpp \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Notification_Strategy.h \ - $(ACE_ROOT)/ace/Notification_Strategy.inl \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - kokyu_export.h Kokyu.h Kokyu.i Dispatcher_Impl.h Dispatcher_Impl.i \ - Dispatcher_Task.h Dispatcher_Task.i Default_Dispatcher_Impl.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/Kokyu/kokyu_export.h b/Kokyu/kokyu_export.h deleted file mode 100644 index 8b15053da15..00000000000 --- a/Kokyu/kokyu_export.h +++ /dev/null @@ -1,55 +0,0 @@ -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl Kokyu -// ------------------------------ -#ifndef KOKYU_EXPORT_H -#define KOKYU_EXPORT_H - -#include "ace/config-all.h" - -#if defined (ACE_AS_STATIC_LIBS) -# if !defined (KOKYU_HAS_DLL) -# define KOKYU_HAS_DLL 0 -# endif /* ! KOKYU_HAS_DLL */ -#else -# if !defined (KOKYU_HAS_DLL) -# define KOKYU_HAS_DLL 1 -# endif /* ! KOKYU_HAS_DLL */ -#endif - -#if defined (KOKYU_HAS_DLL) && (KOKYU_HAS_DLL == 1) -# if defined (KOKYU_BUILD_DLL) -# define Kokyu_Export ACE_Proper_Export_Flag -# define KOKYU_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* KOKYU_BUILD_DLL */ -# define Kokyu_Export ACE_Proper_Import_Flag -# define KOKYU_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* KOKYU_BUILD_DLL */ -#else /* KOKYU_HAS_DLL == 1 */ -# define Kokyu_Export -# define KOKYU_SINGLETON_DECLARATION(T) -# define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* KOKYU_HAS_DLL == 1 */ - -// Set KOKYU_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (KOKYU_NTRACE) -# if (ACE_NTRACE == 1) -# define KOKYU_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define KOKYU_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !KOKYU_NTRACE */ - -#if (KOKYU_NTRACE == 1) -# define KOKYU_TRACE(X) -#else /* (KOKYU_NTRACE == 1) */ -# define KOKYU_TRACE(X) ACE_TRACE_IMPL(X) -#endif /* (KOKYU_NTRACE == 1) */ - -#endif /* KOKYU_EXPORT_H */ - -// End of auto generated file. diff --git a/Kokyu/tests/DSRT_MIF/MIF.cpp b/Kokyu/tests/DSRT_MIF/MIF.cpp deleted file mode 100644 index 136523c8aaa..00000000000 --- a/Kokyu/tests/DSRT_MIF/MIF.cpp +++ /dev/null @@ -1,112 +0,0 @@ -// $Id$ - -#include "ace/Auto_Ptr.h" - -#include "Kokyu.h" -#include "ace/Task.h" -#include "ace/Sched_Params.h" - -class MyTask : public ACE_Task_Base -{ -public: - - MyTask (ACE_Barrier& barrier, - Kokyu::DSRT_Dispatcher* dispatcher, - Kokyu::DSRT_QoSDescriptor& qos) - :barrier_ (barrier), - dispatcher_ (dispatcher), - qos_ (qos) - {} - - int svc (void) - { - ACE_hthread_t thr_handle; - ACE_Thread::self (thr_handle); - int prio; - - prio = dispatcher_->schedule (0, qos_); - ACE_Thread::setprio (thr_handle, prio); - barrier_.wait (); - - if (ACE_Thread::getprio (thr_handle, prio) == -1) - { - if (errno == ENOTSUP) - { - ACE_DEBUG((LM_DEBUG, - ACE_TEXT ("getprio not supported on this platform\n") - )); - return 0; - } - ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("getprio failed")), - -1); - } - - ACE_DEBUG ((LM_DEBUG, "(%t) Thread prio is %d\n", prio)); - return 0; - } - -private: - ACE_Barrier& barrier_; - Kokyu::DSRT_Dispatcher* dispatcher_; - Kokyu::DSRT_QoSDescriptor& qos_; - -}; - -int main (int,char**) -{ - Kokyu::DSRT_ConfigInfo config_info; - - // config_info.scheduler_type_ = Kokyu::SCHED_MIF; - - ACE_Barrier barrier (3); - - ACE_DEBUG ((LM_DEBUG, "before create_dispatcher\n" )); - auto_ptr - disp (Kokyu::Dispatcher_Factory::create_DSRT_dispatcher (config_info)); - - ACE_DEBUG ((LM_DEBUG, "after create_dispatcher\n" )); - - ACE_ASSERT (disp.get () != 0); - - Kokyu::DSRT_QoSDescriptor qos1, qos2, qos3; - - qos1.importance_ = 1; - qos2.importance_ = 2; - qos3.importance_ = 3; - - MyTask mytask1 (barrier, disp.get (), qos1); - MyTask mytask2 (barrier, disp.get (), qos2); - MyTask mytask3 (barrier, disp.get (), qos3); - - long flags = THR_BOUND | THR_SCHED_FIFO; - - if (mytask1.activate (flags) == -1) - { - flags = THR_BOUND; - if (mytask1.activate (flags) == -1) - ACE_ERROR ((LM_ERROR, - "EC (%P|%t) cannot activate task\n")); - } - - if (mytask2.activate (flags) == -1) - { - flags = THR_BOUND; - if (mytask2.activate (flags) == -1) - ACE_ERROR ((LM_ERROR, - "EC (%P|%t) cannot activate task\n")); - } - - if (mytask3.activate (flags) == -1) - { - flags = THR_BOUND; - if (mytask3.activate (flags) == -1) - ACE_ERROR ((LM_ERROR, - "EC (%P|%t) cannot activate task\n")); - } - - while(1){} - - return 0; -} diff --git a/Kokyu/tests/DSRT_MIF/Makefile b/Kokyu/tests/DSRT_MIF/Makefile deleted file mode 100644 index 7a178befd94..00000000000 --- a/Kokyu/tests/DSRT_MIF/Makefile +++ /dev/null @@ -1,218 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = MIF - -LSRC = $(addsuffix .cpp,$(BIN)) - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -CPPFLAGS += -I$(ACE_ROOT)/Kokyu -LDFLAGS += -lKokyu - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - - -.obj/MIF.o .obj/MIF.so .shobj/MIF.o .shobj/MIF.so: MIF.cpp \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/pre.h \ - $(ACE_ROOT)/ace/post.h \ - $(ACE_ROOT)/ace/ace_wchar.h \ - $(ACE_ROOT)/ace/ace_wchar.inl \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/ACE_export.h \ - $(ACE_ROOT)/ace/Global_Macros.h \ - $(ACE_ROOT)/ace/OS_Export.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - $(ACE_ROOT)/Kokyu/Kokyu.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_Errno.h \ - $(ACE_ROOT)/ace/OS_Errno.inl \ - $(ACE_ROOT)/ace/OS_Dirent.inl \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS_String.inl \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_Memory.inl \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/OS_TLI.inl \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Time_Value.inl \ - $(ACE_ROOT)/ace/Default_Constants.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Array.h \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Array_Base.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Array_Base.inl \ - $(ACE_ROOT)/ace/Array_Base.cpp \ - $(ACE_ROOT)/ace/Unbounded_Set.h \ - $(ACE_ROOT)/ace/Unbounded_Set.inl \ - $(ACE_ROOT)/ace/Unbounded_Set.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(ACE_ROOT)/Kokyu/kokyu_export.h \ - $(ACE_ROOT)/Kokyu/Kokyu.i \ - $(ACE_ROOT)/Kokyu/Dispatcher_Impl.h \ - $(ACE_ROOT)/Kokyu/Dispatcher_Impl.i \ - $(ACE_ROOT)/Kokyu/DSRT_Dispatcher_Impl.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread_Adapter.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread_Adapter.inl \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Thread_Exit.h \ - $(ACE_ROOT)/ace/Thread_Control.h \ - $(ACE_ROOT)/ace/Thread_Control.inl \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Framework_Component.h \ - $(ACE_ROOT)/ace/Framework_Component.inl \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Framework_Component_T.h \ - $(ACE_ROOT)/ace/Framework_Component_T.inl \ - $(ACE_ROOT)/ace/Framework_Component_T.cpp \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Notification_Strategy.h \ - $(ACE_ROOT)/ace/Notification_Strategy.inl \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/String_Base.h \ - $(ACE_ROOT)/ace/String_Base_Const.h \ - $(ACE_ROOT)/ace/String_Base.i \ - $(ACE_ROOT)/ace/String_Base.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_Allocator.h \ - $(ACE_ROOT)/ace/Malloc_Allocator.i \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/XML_Svc_Conf.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Test_and_Set.h \ - $(ACE_ROOT)/ace/Test_and_Set.i \ - $(ACE_ROOT)/ace/Test_and_Set.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/Kokyu/DSRT_Dispatcher_Impl.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/Kokyu/tests/DSRT_MIF/svc.conf b/Kokyu/tests/DSRT_MIF/svc.conf deleted file mode 100644 index 247c85945d9..00000000000 --- a/Kokyu/tests/DSRT_MIF/svc.conf +++ /dev/null @@ -1,4 +0,0 @@ -# -dynamic DSRT_Scheduler_Impl Service_Object * -Kokyu:_make_MIF_Scheduler_Impl() -"-sched_scope thread -sched_policy fifo -min_importance 0 -max_importance 10" \ No newline at end of file diff --git a/Kokyu/tests/DSRT_MIF/svc.conf.xml b/Kokyu/tests/DSRT_MIF/svc.conf.xml deleted file mode 100644 index aef4b3ea0a9..00000000000 --- a/Kokyu/tests/DSRT_MIF/svc.conf.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Kokyu/tests/EDF/EDF.dsp b/Kokyu/tests/EDF/EDF.dsp deleted file mode 100644 index 2684638fcae..00000000000 --- a/Kokyu/tests/EDF/EDF.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="EDF" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=EDF - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "EDF.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "EDF.mak" CFG="EDF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "EDF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "EDF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "EDF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /I "../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 ..\..\..\ace\aced.lib ..\..\Kokyud.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "EDF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\..\..\ace\aced.lib ..\..\Kokyud.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "EDF - Win32 Release" -# Name "EDF - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\test.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/Kokyu/tests/EDF/EDF.dsw b/Kokyu/tests/EDF/EDF.dsw deleted file mode 100644 index 57af290f426..00000000000 --- a/Kokyu/tests/EDF/EDF.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "test"=.\EDF.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/Kokyu/tests/EDF/test.cpp b/Kokyu/tests/EDF/test.cpp deleted file mode 100644 index 24dc46310a5..00000000000 --- a/Kokyu/tests/EDF/test.cpp +++ /dev/null @@ -1,96 +0,0 @@ -// $Id$ - -#include "ace/Auto_Ptr.h" - -#include "Kokyu.h" -#include "ace/Task.h" -#include "ace/Sched_Params.h" - -class MyCommand : public Kokyu::Dispatch_Command -{ -public: - MyCommand(int i) - :Kokyu::Dispatch_Command(1),id_(i) - { - } - - int execute() - { - ACE_hthread_t thr_handle; - ACE_Thread::self (thr_handle); - int prio; - - if (ACE_Thread::getprio (thr_handle, prio) == -1) - { - if (errno == ENOTSUP) - { - ACE_DEBUG((LM_DEBUG, - ACE_TEXT ("getprior not supported on this platform\n") - )); - return 0; - } - ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("getprio failed")), - -1); - } - - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT (("(%t|prio=%d) | command %d executed\n")), - prio, id_)); - return 0; - } - -private: - int id_; -}; - - -int main (int,char**) -{ - Kokyu::ConfigInfoSet config_info(3); - - Kokyu::Priority_t min_prio = - ACE_Sched_Params::priority_min (ACE_SCHED_FIFO); - - config_info[0].preemption_priority_ = 1; - config_info[0].thread_priority_ = min_prio; - config_info[0].dispatching_type_ = Kokyu::DEADLINE_DISPATCHING; - - ACE_DEBUG ((LM_DEBUG, "before create_dispatcher\n" )); - auto_ptr - disp (Kokyu::Dispatcher_Factory::create_dispatcher (config_info)); - - ACE_ASSERT (disp.get() != 0); - - MyCommand cmd1(1), cmd2(2), cmd3(3); - - Kokyu::QoSDescriptor qos1, qos2, qos3; - - // Get the current time. - ACE_Time_Value current_time = ACE_OS::gettimeofday (); - - ACE_Time_Value deadline1, deadline2, deadline3; - - deadline1 = current_time + ACE_Time_Value(150,0); - deadline2 = current_time + ACE_Time_Value(200,0); - deadline3 = current_time + ACE_Time_Value(100,0); - - qos1.preemption_priority_ = 1; - qos1.deadline_ = deadline1; - qos2.preemption_priority_ = 1; - qos2.deadline_ = deadline2; - qos3.preemption_priority_ = 1; - qos3.deadline_ = deadline3; - - disp->dispatch (&cmd1, qos1); - printf("inserted 1\n"); - disp->dispatch (&cmd2, qos2); - printf("inserted 2\n"); - disp->dispatch (&cmd3, qos3); - printf("inserted 3\n"); - - while(1){} - - return 0; -} diff --git a/Kokyu/tests/FIFO/FIFO.dsp b/Kokyu/tests/FIFO/FIFO.dsp deleted file mode 100644 index 1eb83b8b161..00000000000 --- a/Kokyu/tests/FIFO/FIFO.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="FIFO" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=FIFO - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "FIFO.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "FIFO.mak" CFG="FIFO - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "FIFO - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "FIFO - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "FIFO - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /I "../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 ..\..\..\ace\aced.lib ..\..\Kokyud.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "FIFO - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\..\..\ace\aced.lib ..\..\Kokyud.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "FIFO - Win32 Release" -# Name "FIFO - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\test.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/Kokyu/tests/FIFO/FIFO.dsw b/Kokyu/tests/FIFO/FIFO.dsw deleted file mode 100644 index 0e51d4387e0..00000000000 --- a/Kokyu/tests/FIFO/FIFO.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "test"=.\FIFO.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/Kokyu/tests/FIFO/test.cpp b/Kokyu/tests/FIFO/test.cpp deleted file mode 100644 index 6697e704bdb..00000000000 --- a/Kokyu/tests/FIFO/test.cpp +++ /dev/null @@ -1,84 +0,0 @@ -// $Id$ - -#include "ace/Auto_Ptr.h" - -#include "Kokyu.h" -#include "ace/Task.h" - -class MyCommand : public Kokyu::Dispatch_Command -{ -public: - MyCommand(int i) - :Kokyu::Dispatch_Command(1),id_(i) - { - } - - int execute() - { - ACE_hthread_t thr_handle; - ACE_Thread::self (thr_handle); - int prio; - - if (ACE_Thread::getprio (thr_handle, prio) == -1) - { - if (errno == ENOTSUP) - { - ACE_DEBUG((LM_DEBUG, - ACE_TEXT ("getprior not supported on this platform\n") - )); - return 0; - } - ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("getprio failed")), - -1); - } - - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT (("(%t|prio=%d) | command %d executed\n")), - prio, id_)); - return 0; - } - -private: - int id_; -}; - - -int main (int,char**) -{ - Kokyu::ConfigInfoSet config_info(3); - - config_info[0].preemption_priority_ = 1; - config_info[0].thread_priority_ = 15; - config_info[0].dispatching_type_ = Kokyu::FIFO_DISPATCHING; - - config_info[1].preemption_priority_ = 2; - config_info[1].thread_priority_ = 2; - config_info[1].dispatching_type_ = Kokyu::FIFO_DISPATCHING; - - config_info[2].preemption_priority_ = 3; - config_info[2].thread_priority_ = 0; - config_info[2].dispatching_type_ = Kokyu::FIFO_DISPATCHING; - - ACE_DEBUG ((LM_DEBUG, "before create_dispatcher\n" )); - auto_ptr disp (Kokyu::Dispatcher_Factory::create_dispatcher (config_info)); - - ACE_ASSERT (disp.get() != 0); - - MyCommand cmd1(1), cmd2(2), cmd3(3); - - Kokyu::QoSDescriptor qos1, qos2, qos3; - - qos1.preemption_priority_ = 2; - qos2.preemption_priority_ = 3; - qos3.preemption_priority_ = 1; - - disp->dispatch (&cmd1, qos1); - disp->dispatch (&cmd2, qos2); - disp->dispatch (&cmd3, qos3); - - while(1){} - - return 0; -} diff --git a/Makefile.bor b/Makefile.bor deleted file mode 100644 index a10fc536b15..00000000000 --- a/Makefile.bor +++ /dev/null @@ -1,24 +0,0 @@ -# -# Makefile for building ACE -# - -!ifndef BUILD -BUILD = all -!endif - -!if $(BUILD) == all - -DIRS = \ - ace \ - examples \ - performance-tests \ - tests \ - ACEXML \ - ACEXML\tests - -!else -!error Please set your BUILD variable to either "all". -!endif - - -!include <$(ACE_ROOT)\include\makeinclude\recurse.bor> diff --git a/PACE/ChangeLog b/PACE/ChangeLog deleted file mode 100644 index 6fef5133ed1..00000000000 --- a/PACE/ChangeLog +++ /dev/null @@ -1,3716 +0,0 @@ -Wed Dec 12 12:30:32 2001 Joe Hoffert - - * VERSION: - Updated the version to 1.2. (Thanks to Garth Watney - for pointing out this - oversight.) - - * THANKS: - Added Garth Watney . - -Thu Oct 4 10:03:27 2001 Joe Hoffert - - * pace/vxworks/pthread.c: - * pace/vxworks/pthread.h: - * pace/vxworks/pthread.inl: - * pace/vxworks/types.h: - Changed default stack size, moved pthread_self from .inl - to .c file, and removed redundant code for C vs C++ - signatures. - - * tests/Cond_Var_Test.c: - * tests/Makefile: - * tests/Pthreads_Test.c: - Modified tests to take out gratuitous print statements. - These tests should now only print out statements when - there is an error (like the ACE and TAO tests). - - * tests/README: - Added comment about mqueue_test needing input. - - * tests/Pthread_Storage_Test.c: - * tests/Stat_Test.c: - Added new tests for thread-specific storage and for some - functions typically declared in the stat.h file. - -Tue Sep 4 16:23:46 2001 Joe Hoffert - - * tests/vxworks_stub.c: - * tests/Cond_Var_Test.c: - Rectified warnings about type of argc. - -Tue Sep 4 15:26:46 2001 Joe Hoffert - - * tests/Cond_Var_Test.c: - Cleanup up unused variables and signed type on argc. - - * tests/Makefile: - Corrected inclusion of BIN2 - executables that aren't - always included - for non VxWorks platforms. - -Tue Sep 4 09:15:00 2001 Joe Hoffert - - * tests/Pthreads_Test.c: - Moved PACE_UNUSED_ARG to after declaration of variables. - -Tue Sep 4 08:55:02 2001 Joe Hoffert - - * tests/Cond_Var_Test.c: - Added test for condition variables. - -Tue Sep 4 08:36:13 2001 Joe Hoffert - - * tests/vxworks_stub.c: - Added call to pacevx_vxworks_init to initialize the - main thread. - - * tests/Pthreads_Test.c (main): - Moved PACE_UNUSED_ARG to beginning of main. - - * tests/Makefile: - Makefile doesn't build Posix_SP_Test on VxWorks. The - test doesn't compile (which is actually the test for - certain #defines). - - * pace/pthread.h: - Added #define PACE_PTHREAD_MUTEX_INITIALIZER - PTHREAD_MUTEX_INITIALIZER - -Fri Aug 31 16:48:10 2001 Joe Hoffert - - * pace/vxworks/types.h: - Removed extraneous blank lines. - - * pace/vxworks/pthread.inl: - Cleaned up comment for popping cleanup routines. - - * pace/vxworks/pthread.c: - Removed duplicate code (for C and C++) and fixed - VxWorks unld errors by making the main thread detached - and unregistering the cleanup function when the - last non-main thread is done. - - * pace/vxworks/pthread.h: - Added PACE_PTHREAD_MUTEX_INITIALIZER initializer. - -Fri Aug 24 08:24:43 2001 Joe Hoffert - - * pace/vxworks/stdio.inl: - * pace/vxworks/pthread.c: - Added spaces between function name and argument list - for some functions since fuzz was complaining about - it. - -Wed Aug 22 12:30:25 2001 Joe Hoffert - - * pace/win32/pace_lib.dsp: - Added #define PACE_AS_STATIC_LIBS to static debug - build be consistent with ACE and TAO project files. - It was mistakenly just added for the static release - build previously. - -Wed Aug 22 12:16:30 2001 Joe Hoffert - - * pace/win32/pace_lib.dsp: - Added #define PACE_AS_STATIC_LIBS to be consistent - with ACE and TAO project files. - - * pace/win32/pace_dll.dsp: - Added #define PACE_BUILD_DLL and removed #define - PACE_DLL_EXPORTS to be consistent with ACE and TAO - project files. - -Wed Aug 22 12:05:27 2001 Joe Hoffert - - * pace/config/constants.h: - Removed PACE_HAS_DLL and PACE_Export #defines since - these are now implemented appropriately for PACE - in pace/config/config.h. - -Wed Aug 22 09:04:28 2001 Joe Hoffert - - * Makefile: - Took away restriction for VxWorks since we now support - that OS. - - * include/makeinclude/rules.common.GNU: - Added check for pace_tracing set to 1 and included the - appropriate -DPACE_TRACING if set. - - * pace/Makefile: - Changed absolute path of $(ACE_ROOT)/PACE to $(PACE_ROOT) - to include rules.common.GNU and defined PACE_ROOT to be - $(ACE_ROOT)/PACE if not already defined. This is needed - for the DII COE work since there the PACE files are not - necessarily underneath the ACE files. - - * pace/aio.h: - * pace/ctype.h: - * pace/dirent.h: - * pace/fcntl.h: - * pace/grp.h: - * pace/locale.h: - * pace/math.h: - * pace/mqueue.h: - * pace/pthread.h: - * pace/pwd.h: - * pace/sched.h: - * pace/semaphore.h: - * pace/setjmp.h: - * pace/signal.h: - * pace/stdio.h: - * pace/stdlib.h: - * pace/string.h: - * pace/termios.h: - * pace/time.h: - * pace/unistd.h: - * pace/utime.h: - * pace/sys/mman.h: - * pace/sys/socket.h: - * pace/sys/stat.h: - * pace/sys/times.h: - * pace/sys/utsname.h: - * pace/sys/wait.h: - Added PACE_Export to all function declarations - - for Windows DLL builds. - - * pace/config/config.h: - Added PACE_Export #define to go away for non-Windows - platforms and to be appropriate for a DLL - using dllexport - - or for an application or DLL that including these functions - - using dllimport. - - * pace/config/constants.h: - Moved PACE_TRACE define to utility.h. - - * pace/config/features.h: - Removed extraneous lines at end of file. - - * pace/config/utility.h: - Moved PACE_TRACE define from constants.h to here - - and made it to be turned on or off by setting pace_tracing - to 1. - - * pace/vxworks/pthread.c: - Added PACE_TRACE tracing and renamed pace_pthread* - functions to pthread* functions. This will allow - the compiler to flag us - with an error - when these - functions are implemented and we can then remove - our emulation code. - - * pace/vxworks/pthread.h: - Added declarations for all the POSIX Pthread - functions that VxWorks doesn't support - and - which we emulate in pthread.c. - - * pace/vxworks/pthread.inl: - Added PACE_TRACE tracing and added calls to POSIX - routines which get emulated in pthread.c. - - * pace/vxworks/aio.inl: - * pace/vxworks/ctype.inl: - * pace/vxworks/dirent.inl: - * pace/vxworks/fcntl.inl: - * pace/vxworks/grp.inl: - * pace/vxworks/locale.inl: - * pace/vxworks/math.inl: - * pace/vxworks/mman.inl: - * pace/vxworks/mqueue.inl: - * pace/vxworks/pwd.inl: - * pace/vxworks/sched.inl: - * pace/vxworks/semaphore.inl: - * pace/vxworks/setjmp.inl: - * pace/vxworks/signal.inl: - * pace/vxworks/socket.inl: - * pace/vxworks/stat.inl: - * pace/vxworks/stdio.inl: - * pace/vxworks/stdlib.inl: - * pace/vxworks/string.inl: - * pace/vxworks/termios.inl: - * pace/vxworks/time.inl: - * pace/vxworks/times.inl: - * pace/vxworks/unistd.inl: - * pace/vxworks/utime.inl: - * pace/vxworks/wait.inl: - Added PACE_TRACE tracing. - - * pace/vxworks/utsname.inl: - Added PACE_TRACE tracing and added OS version for - release name. - - * tests/Makefile: - Cleaned up a dangling continuation line and added comment - about building Posix_SP_Test last since it may not even - compile ( which is actually the tests). - - * tests/Posix_SP_Test.c: - * tests/Pthreads_Test.c: - * tests/mqueue_test.c: - Included vxworks_stub.c file to build for VxWorks. - - * tests/Stdio_Test.c: - Included vxworks_stub.c file to build for VxWorks and - unlinked temporary file when done. - - * tests/vxworks_stub.c: - Added this file to encapsulate the machinations needed - to get the tests to build for VxWorks. - -Fri Jul 20 15:53:56 2001 Joe Hoffert - - * pace/win32/string.c (strtok_r): - Fixed problems with reference to ACE_OS and some C++ - incongruities. - -Fri Jul 20 15:44:02 2001 Joe Hoffert - - * pace/win32/string.h: - - * pace/win32/string.inl (strtok_r): - - * pace/win32/string.c (strtok_r): - Added support for strtok_r. Stole code from ACE_OS_String. - Was causing a problem with the TAO IDL compiler. - -Tue Jul 10 10:43:38 2001 Joe Hoffert - - * Makefile: - Changed default definition of PACE_ROOT to be $ACE_ROOT/PACE - rather than $ACE_ROOT/pace. - -Mon Jul 9 15:53:43 2001 Joe Hoffert - - * tests/Stdio_Test.c: - Added directives to compile test for VxWorks, e.g. calling - spa and having it call ace_main (borrowed from ACE_OS). - - * tests/Pthreads_Test.c: - * tests/Makefile: - Added Pthreads_Test to test POSIX threads (at least - minimally). - -Mon Jul 9 15:39:26 2001 Joe Hoffert - - * pace/vxworks/utsname.h: - VxWorks does not have a utsname.h so remove it from being - included. - - * pace/vxworks/signal.inl: - Fixed call to sigwait. Used call to sigtimedwait (as ACE - does) since sigwait doesn't appear to be supported by - VxWorks. - - * pace/vxworks/pthread.inl: - Moved some functions from inline to non-inline. - - * pace/vxworks/pthread.c: - Moved some functions from inline to non-inline. - - * pace/pthread.h: - Changed some functions from inline to non-inline for - VxWorks. - - * pace/fcntl.h: - Added appropriate return for pace_fcntl on VxWorks. - -Fri Jun 29 15:52:28 2001 Joe Hoffert - - * pace/config/platform.h: - Remove "#error "Here in platform.h for Win32" message. - -Tue Jun 12 14:46:48 2001 Joe Hoffert - - * pace/vxworks/unistd.inl: - Added cast for non-const char*. - - * pace/vxworks/time.inl: - Removed declaration of errno. - - * pace/vxworks/pthread.inl: - * pace/vxworks/pthread.h: - * pace/vxworks/pthread.c: - Added supported for pthreads. The vast majority of this code - was donated by Hughes Network Systems via Braeton Taylor - . - - * pace/config/config.h: - - * pace/pthread.h: - With the addition of VxWorks not all PACE functions are inlined - now. Added #if !(PACE_VXWORKS) to handle this. - - * THANKS: - Added Braeton Taylor of Hughes Network Systems for his - contribution of pthread code for VxWorks. - -Fri Jun 1 15:38:45 2001 Joe Hoffert - - * pace/vxworks/aio.c: - * pace/vxworks/aio.inl: - * pace/vxworks/aio.h: - * pace/vxworks/assert.c: - * pace/vxworks/assert.inl: - * pace/vxworks/assert.h: - * pace/vxworks/ctype.c: - * pace/vxworks/ctype.h: - * pace/vxworks/ctype.inl: - * pace/vxworks/dirent.c: - * pace/vxworks/dirent.h: - * pace/vxworks/dirent.inl: - * pace/vxworks/errno.h: - * pace/vxworks/fcntl.c: - * pace/vxworks/fcntl.h: - * pace/vxworks/fcntl.inl: - * pace/vxworks/grp.c: - * pace/vxworks/grp.h: - * pace/vxworks/grp.inl: - * pace/vxworks/limits.h: - * pace/vxworks/locale.c: - * pace/vxworks/locale.h: - * pace/vxworks/locale.inl: - * pace/vxworks/math.c: - * pace/vxworks/math.h: - * pace/vxworks/math.inl: - * pace/vxworks/mman.c: - * pace/vxworks/mman.h: - * pace/vxworks/mman.inl: - * pace/vxworks/mqueue.c: - * pace/vxworks/mqueue.h: - * pace/vxworks/pthread.c: - * pace/vxworks/pthread.h: - * pace/vxworks/pthread.inl: - * pace/vxworks/pwd.c: - * pace/vxworks/pwd.h: - * pace/vxworks/pwd.inl: - * pace/vxworks/sched.c: - * pace/vxworks/sched.h: - * pace/vxworks/sched.inl: - * pace/vxworks/semaphore.c: - * pace/vxworks/semaphore.h: - * pace/vxworks/semaphore.inl: - * pace/vxworks/setjmp.c: - * pace/vxworks/setjmp.h: - * pace/vxworks/setjmp.inl: - * pace/vxworks/signal.c: - * pace/vxworks/signal.h: - * pace/vxworks/signal.inl: - * pace/vxworks/socket.c: - * pace/vxworks/socket.h: - * pace/vxworks/socket.inl: - * pace/vxworks/stat.c: - * pace/vxworks/stat.h: - * pace/vxworks/stat.inl: - * pace/vxworks/stdio.c: - * pace/vxworks/stdio.h: - * pace/vxworks/stdio.inl: - * pace/vxworks/stdlib.c: - * pace/vxworks/stdlib.h: - * pace/vxworks/stdlib.inl: - * pace/vxworks/string.c: - * pace/vxworks/string.h: - * pace/vxworks/string.inl: - * pace/vxworks/termios.c: - * pace/vxworks/termios.h: - * pace/vxworks/termios.inl: - * pace/vxworks/time.c: - * pace/vxworks/time.h: - * pace/vxworks/time.inl: - * pace/vxworks/times.c: - * pace/vxworks/times.h: - * pace/vxworks/times.inl: - * pace/vxworks/types.h: - * pace/vxworks/unistd.c: - * pace/vxworks/unistd.h: - * pace/vxworks/unistd.inl: - * pace/vxworks/utime.c: - * pace/vxworks/utime.h: - * pace/vxworks/utime.inl: - * pace/vxworks/utsname.c: - * pace/vxworks/utsname.h: - * pace/vxworks/utsname.inl: - * pace/vxworks/wait.c: - * pace/vxworks/wait.h: - * pace/vxworks/wait.inl: - Added these files for the VxWorks port of PACE. - -Mon May 14 12:55:33 2001 Joe Hoffert - - * docs/www/pace-car.html: - - Deleted this file since it comflicts with PACE-car.html on - file systems that are not case-sensitive. (It also appears - to be a duplicate file.) - -Sun May 13 14:42:11 2001 Luther J Baker - - * docs/www/*: - - Basic Web Site added to the repo. - -Sun May 13 14:18:34 2001 Luther J Baker - - * docs/index.html: - * docs/overview.html: - * docs/legend.html: - * docs/todo.html: - * docs/PACE_POSIX_support.txt: - - Superfluous files removed. - - * docs/README: - - Added identification line of text. - -Mon Apr 23 10:43:23 2001 Carlos O'Ryan - - * pace/config/compiler.h: - Reverted on of Cristian's changes. He agrees that it is not - worthwhile to use the C9X 'inline' feature when only a few - versions of gcc support it, while inlining static functions with - -O3 is supported by all versions. - -Mon Apr 23 09:45:13 2001 Carlos O'Ryan - - * pace/win32/pthread.c (pthread_getschedparam): - Fixed syntax error, thanks to Cristian Ferretti - for keeping track of the builds - and providing the patch. - -Sun Apr 22 18:53:28 2001 Carlos O'Ryan - - * pace/win32/ctype.h: - ctype.inl is already #included in pace/ctype.h, no need to - #include it again. - -Sun Apr 22 15:03:11 2001 Carlos O'Ryan - - * pace/ctype.h: - Add missing #includes that were causing compilation warnings. - -Sat Apr 21 17:37:40 2001 Carlos O'Ryan - - * pace/win32/socket.inl: - * pace/win32/socket.c: - Make Fuzz happy, some RCS ids went missing. - -Sat Apr 21 15:31:27 2001 Carlos O'Ryan - - * PACE/pace/ctype.h: - * PACE/pace/config/compiler.h: - * PACE/pace/config/platform.h: - * PACE/pace/win32/pthread.c: - * PACE/pace/win32/pthread.inl: - * PACE/pace/win32/semaphore.c: - * PACE/pace/win32/semaphore.h: - * PACE/pace/win32/signal.inl: - * PACE/pace/win32/socket.c: - * PACE/pace/win32/socket.h: - * PACE/pace/win32/socket.inl: - * PACE/pace/win32/stdlib.inl: - * PACE/pace/win32/unistd.h: - * PACE/pace/win32/unistd.inl: - * PACE/pace/win32/utime.c: - * PACE/pace/win32/utsname.c: - * PACE/pace/win32/utsname.inl: - * PACE/pace/win32/wait.inl: - Add support for mingw (www.mingw.org) and partial support for - cygwin (http://cygwin.com/). Many thanks to Cristian Ferretti - - -Mon Apr 16 16:17:35 2001 Carlos O'Ryan - - * pace/posix/socket.h: - * pace/config/platform.h: - * include/makeinclude/rules.common.GNU: - Add support for QNX, it behaves like other POSIX platforms. - -Wed Mar 21 09:26:38 2001 Joe Hoffert - - * pace/posix/socket.h: - Added typedef of pace_socklen_t to int for Solaris 5.6. Thanks - to Lu Yunhai for this solution. - -Mon Mar 19 16:56:47 2001 Luther Baker - - * pace/win32/unistd.c: - * pace/win32/unistd.inl: - * pace/win32/stdio.c: - * pace/win32/time.inl: - Removed ::MsvcFoo punctuation. Since PACE is a c-library, - it doesn't recognize this C++ism. (::) - - * pace/win32/unistd.h: - Added signature for pace_win32_read (needs to be visible - before unistd.inl). - -Tue Mar 13 12:58:09 2001 Joe Hoffert - - * pace/win32/setjmp.inl: - Removed function calls to setjmp and sigsetjmp since - these are now macros. - - * pace/win32/stdio.c: - Adding pace_win32_fseek function to support pace_fseek. - - * pace/win32/time.inl: - Adding support for tzset for Windows. - - * pace/win32/unistd.c: - Adding call to pace_win32_read function and cleaned up - pace_write code. - - * pace/win32/unistd.inl: - Adding pace_win32_read function to support pace_read. - -Wed Feb 28 15:04:41 2001 Joe Hoffert - - * pace/posix/string.inl (pace_strtok_r): - Added call to strtok_r for Lynx and SunOS since it is - supported but PACE_HAS_REENTRANT doesn't get defined - for them. - - * pace/posix/setjmp.inl: - * pace/setjmp.h: - Changed setjmp and sigsetjmp from functions to macros since - the functions were causing warnings on linux (Red Hat 7). - - * include/makeinclude/rules.common.GNU: - Added support for Solaris 8 - -Fri Feb 9 19:35:29 2001 Luther J Baker - - * pace/config/compiler.h - * pace/config/utility.h - * pace/config/fcntl.h - * pace/win32/mman.inl - * pace/win32/pthread.h - * pace/win32/semaphore.inl - * pace/win32/stat.inl - * pace/win32/stdio.inl - * pace/win32/types.h - * pace/win32/unistd.inl - * pace/win32/utime.h - * pace/win32/utime.inl - - Thanks to Christopher Kohlhoff - for making the changes necessary to port PACE to - Borland C++ Builder 5. - -Thu Feb 1 17:36:24 2001 Luther J Baker - - * pace/win32/signal.h (PACE_SIGSET_T): - * pace/win32/signal.inl (pace_sigfillset): - - Used ACE implementation. - -Sun Jan 28 13:20:28 2001 Luther J Baker - - * pace/posix/unistd.inl (pace_getlogin_r): - - Changed C++ style comments to C. - -Thu Jan 25 17:26:41 2001 Luther J Baker - - * pace/posix/unistd.inl (pace_access): - - Yet another change to the illustrious function. - Let it be noted that there needs to be a better test for - the _REENTRANT policy. Linux supports 'these' calls but - is currently forced to the emulation code. - - The #if (PACE_SUNOS) || (PACE_LYNXOS) should not be here. - Instead, there should be a simple test like PACE_HAS_REENTRANT - or something even higher (such as in ACE: ACE_MT_SAFE). - -Tue Jan 23 14:56:51 2001 Luther J Baker - - * pace/posix/unistd.inl (pace_getlogin_r): - - Rewrote code and based preprocessor selection on - PACE_HAS_REENTRANT as opposed to PACE_LYNXOS, PACE_SUNOS - on an otherwise defined platform macro. - -Fri Jan 19 12:43:27 2001 Priyanka Gontla - - * pace/posix/socket.h: - Added a check for HPUX so that pace_family_t is not defined for - HPUX. - -Thu Jan 18 15:22:07 2001 Joe Hoffert - - * tests/Stdio_Test.c (main): - Removed SLEEPTIME constant since it isn't always used. - - * pace/emulation/mqueue.c: - Added char* casts from malloc and mmap calls. - - * pace/posix/unistd.inl (pace_getlogin_r): - Changed from POSIX User Group Unit of Functionality to - User Group Reentrant Unit of Functionality. - - * pace/posix/sched.inl (pace_sched_rr_get_interval): - SunOS 5.5.1 uses sched_get_rr_get_interval rather than - sched_rr_get_interval. - - * pace/posix/socket.h: - Fixed problems with SunOS 5.5.1 support (i.e., doesn't - use socklen_t structs - it uses ints instead - and it - doesn't use family_t structs at all.) - -Mon Jan 15 10:44:39 2001 Darrell Brunsch - - * tests/tests.dsw: - - Added dependencies between the projects. - - * pace/win32/pace_dll.dsp: - * pace/win32/pace_lib.dsp: - * tests/test_stdio.dsp: - - - Fixed the intermediate and output directories to - fit the model used in ACE. - - - Changed the names of the two pace* projects so - msvc_auto_compile.pl will be able to recognize - them as libraries. - - - Added two new configurations to test_stdio so it - now can link to both the dynamic and static - version of PACE. - - - Changed the configuration name of the static - projects to Win32 Static Release and Debug - -Mon Jan 15 10:32:19 2001 Carlos O'Ryan - - * pace/setjmp.h: - The 'extern "C"' block was closed twice, making KCC unhappy. - -Mon Jan 15 10:20:55 2001 Carlos O'Ryan - - * pace/posix/socket.c: - Change #include from "pace/posix/sys/socket.inl" to - "pace/posix/socket.inl", the former does not exist and the - program fails to compile. - Only detected in builds with inline=0 - -Fri Jan 12 07:35:31 2001 Joe Hoffert - - * Makefile: - Changed to ignore VxWorks platforms (not currently - supported by PACE). - - * include/makeinclude/rules.common.GNU: - Added CFLAGS for LynxOS 3.0.0 so that the PACE library - will compile and not break nightly builds. - - * tests/mqueue_test.c: - * tests/Stdio_Test.c: - * tests/Posix_SP_Test.c: - Changed to compile (i.e., do nothing) for LynxOS 3.0.0 - to keep nightly builds from breaking. - - * pace/posix/pthread.inl: - Added support for LynxOS 3.0.0. - - * pace/posix/socket.h: - Fixed problems with LynxOS support (i.e., Lynx doesn't - use socklen_t structs - it uses ints instead - and Lynx - doesn't use family_t structs at all.) - -Thu Jan 04 17:10:09 2001 Luther Baker - - * pace/win32/pace.dsw - - Typographic changes. - -Thu Jan 04 13:59:00 2001 Luther Baker - - * pace/win32/pace.dsw - - Changed MS libraries to link to. Now consistent with ACE. - (ie, Always 'Multithreaded DLL' with Debug version using - the DEBUG DLL and Release using the standard DLL). - - * pace/pace/win32/stdlib.h - - Updated. Implements the posix C functions that were added - to PACE last year. - -Wed Jan 3 10:01:02 2001 Joe Hoffert - - * pace/man/Makefile: - Updated directory to use to generate man pages (in html). - -Fri Dec 22 12:09:59 2000 Luther J Baker - - * pace/Makefile: - * pace/config/config.h: - - * pace/sys/socket.h: - * pace/posix/socket.h: - * pace/posix/socket.inl: - * pace/posix/socket.c: - - Updated. Linux is building sockets correctly now. - -Fri Dec 22 10:54:13 2000 Luther J Baker - - * pace/socket.h - * pace/sys/socket.h - * pace/Makefile - - Moved socket.h to sys/socket.h. - - Started looking at Makefile to add socket.h - -Thu Dec 21 18:22:28 2000 Luther J Baker - - * docs/index.html: - * docs/legend.html: - * docs/overview.html: - * docs/todo.html: - - Begin moving PACE documentation to main distribution. - Also rewriting much of this. - -Thu Dec 21 18:02:23 2000 Luther J Baker - - * pace/docs/todo.txt - - Meaningless file removed. - -Wed Dec 20 16:49:47 2000 Luther J Baker - - * tests/Stdio_Test.c: - - An innocent change :-/. Used pace_strcmp (...) instead of - strcmp. Had to include "pace/string.h". - -Wed Dec 20 16:42:45 2000 Luther J Baker - - * pace/socket.h: - * pace/posix/socket.inl: - * pace/posix/socket.c: - - Beginning of PACE POSIX socket implementation. - -Wed Dec 20 15:19:50 2000 Luther J Baker - - * pace/config/config.h: - - Added PACE_HAS_POSIX_SOCK_UOF for upcoming socket - implementation. - -Thu Dec 19 11:40:00 2000 Luther J Baker - - * pace/win32/unistd.c: - - Added pace_ prefix to emulation functions. - -Thu Oct 26 04:00:00 2000 Luther J Baker - - * pace/win32/schedtypes.h: - * pace/win32/sched.h: - - Compliance with ACE_HAS_PACE for ACE. - sched_param now has a member sched_priority. - -Wed Oct 18 15:41:20 2000 Luther J Baker - - * pace/win32/pthread.h: - * pace/win32/pthreadtypes.h: - * pace/semphore.h: - * pace/win32/semphore.h: - * pace/win32/semphore.inl: - - Debugging ACE building with PACE over NT - ACE_HAS_PACE. - -Tue Oct 3 15:37:35 2000 Joe Hoffert - - * pace/posix/stdio.inl: - Added vfprintf, vprintf, and vsprintf support - -Tue Sep 26 15:19:20 2000 Joe Hoffert - - * tests/Makefile: - * pace/Makefile: - Moved checks for inlining flags down in the file so - that include/makeinclude/platform_macros.GNU can be - checked to see if the flags are set there. - - * pace/posix/stdio.h: - Moved stdio.h header file include after stdarg.h - header file (per comment in ace/OS.h file) - -Fri Sep 22 11:32:25 2000 Darrell Brunsch - - * PACE/pace/posix/math.inl: - * PACE/pace/win32/math.inl: - - Disabled fuzz math.h inclusion check. - -Wed Sep 13 13:52:00 2000 Luther J Baker - - * pace/win32/types.h: - - Removed irrelevant base types and kept pace_* types. - - (ie: - typedef DWORD nlink_t; - typedef nlink_t pace_nlink_t; - became - typedef DWORD pace_nlink_t; - ) - -Wed Sep 13 13:42:15 2000 Luther J Baker - - * pace/sys/wait.h: - - More types changed to pace_*. - -Wed Sep 13 13:25:33 2000 Luther J Baker - - * pace/unistd.h: - * pace/win32/unistd.inl: - - Even more type shifts to pace_*. - -Wed Sep 13 13:06:27 2000 Luther J Baker - - * pace/unistd.h: - - More of uid_t to pace_uid_t. - -Wed Sep 13 12:59:52 2000 Luther J Baker - - * pace/unistd.h: - - Change arguments from uid_t to pace_uid_t. - -Tue Aug 29 14:59:35 2000 Luther J Baker - - * pace/win32/stat.inl (pace_fstat): - - Typo. - -Tue Aug 29 14:57:04 2000 Luther J Baker - - * pace/win32/stat.h (pace_stat): - - Atered pace_stat_h typedef. - - * pace/win32/stat.inl (pace_stat): - - Implemented pace_fstat and pace_stat. - -Tue Aug 29 14:14:45 2000 Luther J Baker - - * pace/stat.h (pace_fstat): - * pace/stat.h (pace_fchmod): - * pace/posix/stat.inl (pace_fchmod): - * pace/posix/stat.inl (pace_fstat): - * pace/win32/stat.inl (pace_fchmod): - * pace/win32/stat.inl (pace_fstat): - - Changed argument 1 from an int to a PACE_HANDLE. - -Tue Aug 29 13:07:55 2000 Luther J Baker - - * pace/win32/fcntl.inl (pace_creat): - - Fixed a typo. - -Mon Aug 28 20:40:25 2000 Luther J Baker - - * pace/win32/stat.h (pace_win32_mkdir): - * pace/win32/stat.inl (pace_win32_mkdir): - * pace/win32/stat.c (pace_win32_mkdir): - - Altered naming convention of emulation function. - -Mon Aug 28 20:00:26 2000 Luther J Baker - - * PACE/pace/fcntl.h: - * PACE/pace/win32/fcntl.inl: - - Added support of fcntl (...) for win32. No op. - -Fri Aug 25 12:11:38 2000 Luther J Baker - - * /pace/unistd.h: - - Change ssize_t to pace_ssize_t. - - * /pace/win32/unistd.h: - * /pace/win32/unistd.inl: - * /pace/win32/unistd.c: - * /pace/win32/mqueue.inl: - - Changes related to type conflicts with ACE. - -Tue Aug 22 18:59:41 2000 Luther J Baker - - * PACE/ChangeLog: - - Updated. - -Tue Aug 22 18:51:34 2000 Luther J Baker - - * pace/win32/dirent.h: - * pace/win32/signal.h: - * stdio.h: - * stdlib.h: - * time.h: - * types.h: - * unistd.h: - * utsname.h: - - Update to compile. - -Tue Aug 22 17:58:38 2000 Luther J Baker - - * PACE/ChangeLog: - - Updated. - -Tue Aug 22 17:52:02 2000 Luther J Baker - - * PACE_POSIX_support.txt: - - Updated emulation records. - - * pace/fcntl.h: - * pace/win32/fcntl.h: - * pace/win32/fcntl.c: - - Updated creat func to pace_win32_create to eliminate compile probs. - - * TODO: - - Updated. - - * pace/config/utility.h: - - Updated to work with multithreaded errno correctly. - - * pace/win32/pthread.h: - * pace/win32/pthread.inl: - * pace/win32/pthread.c: - - Update emulations! - - * pace/win32/time.inl: - - Updated/hacked to compile correctly! - - * pace/win32/pace_dll.dsp: - * pace/win32/pace_lib.dsp: - - Updated project settings to use proper multithreaded DLL / LIB. - -Tue Aug 22 12:44:09 2000 Luther J Baker - - * pace/config/features.h (_MT): - - Added to support multithreading. - - * pace/win32/pthread.c (pthread_create): - - Completed using basic _beginthreadex. - - * pace/win32/TODO: - - Updated. - -Mon Aug 21 20:34:51 2000 Luther J Baker - - * pace/config/features.h: - - Updated to reflect PACE_HAS_MFC and PACE_MT_SAFE. - Following ace/config-win32-common.h. - -Mon Aug 21 19:40:23 2000 Luther J Baker - - * pace/win32/pthread.c (pthread_attr_init): - - Updated attr initialization in pthread_attr_init. - -Fri Aug 18 17:57:42 2000 Steve Huston - - * include/makeinclude/rules.common.GNU: Added section for HP-UX. - -Fri Aug 18 12:30:51 2000 Steve Huston - - * include/makeinclude/rules.common.GNU: Added section for AIX. - -Wed Aug 16 17:31:43 2000 Luther J Baker - - * pace/win32/pthread.h: - * pace/win32/pthread.inl: - * pace/win32/pthread.c: - * pace/win32/pthreadtypes.h: - * pace/win32/schedtypes.h: - * pace/win32/TODO - - More fabulous emulation updates! - -Wed Aug 16 16:26:32 2000 Luther J Baker - - * pace/win32/pthread.h: - * pace/win32/pthread.inl: - * pace/win32/pthread.c: - - The first commit in a long series of emulations. - -Mon Aug 14 22:24:50 2000 Luther J Baker - - * pace/win32/sched.inl (pace_sched_get_priority_max): - - Removed an extraneous '#include' left from the previous commit. - - * pace/win32/pace_dll.dsp: - * pace/win32/pace_lib.dsp: - - Added new files to the project files. - (pthreadtypes.h schedtypes.h) - -Mon Aug 14 21:41:24 2000 Luther J Baker - - * pace/win32/pthreadtypes.h: - * pace/win32/schedtypes.h: - - Added to repository to break up the complexity - of the code and avoid circular dependencies. - - * pace/win32/types.h: - - Updated declarations to remove circular dependencies. - - * pace/win32/sched.h: - - Updated to use schedtypes.h. - - * pace/win32/pthread.h: - - Updated to use pthreadtypes.h. - - * pace/pthread.h: - - Updated signatures to use pace prefixed types. - -Thu Aug 10 04:18:14 2000 John Heitmann - - * tests/Stdio_Test.c: - Changed a c++ style comment to a c style comment. - - * pace/fcntl.h - * pace/mqueue.h - * pace/semaphore.h - * pace/stdio.h - Removed global scope modifier, since it should be - supplied by the client. - -Wed Aug 09 19:30:39 2000 Luther J Baker - - * tests/tests.dsw: - - Removed test projects files that use constants from - POSIX specific platforms (Posix_SP_Test.c, mqueue_test.c). - -Wed Aug 09 19:22:17 2000 Luther J Baker - - * tests/tests.dsw: - * tests/test_stdio.dsp: - - Added to the repository. - Note that I also added the pace_lib and pace_dll projects - to this workspace. Unlike, ACE, the library is pretty - small and the tests are quite limited and so they all - fit quite nicely in a project file! - - * tests/Stdio_Test.c: - - Altered to sleep for 20 secs to test the exe size in memory. - -Tue Aug 08 17:09:38 2000 Joe Hoffert - - * pace/config/config.h: - Added comments explaining the PACE_HAS_*UOF* macros. - - * pace/posix/time.inl: - Fixed checking of return values for reentrant functions - on LynxOS. - - * pace/posix/unistd.inl: - Fixed erroneous comment about PACE_HAS_POSIX_UGR_UOF. - -Thu Aug 03 10:23:04 2000 David L. Levine - - * VERSION: updated for next beta, manually. - -Wed Aug 2 14:43:08 2000 John Heitmann - - * include/makeinclude/rules.common.GNU: - Changed VPATH:= to VPATH+= so it wouldn't - trounce on other VPATH assignments. This - fix enables TAO to comile clean on top of PACE. - -Sat Jul 29 09:39:24 2000 David L. Levine - - * tests/mqueue_test.c: added RCS Id string. - -Sat Jul 29 09:31:59 2000 David L. Levine - - * tests/mqueue_test.c: got it to compile cleanly on OSF1, - by adding an unused arg to msg_handler, and commenting - the characters after an #endif. - -Sat Jul 29 09:19:01 2000 David L. Levine - - * include/makeinclude/rules.common.h (CFLAGS): on OSF1, added - -D_DEC_XPG, to pickup up _SC_AIO_LISTIO_MAX, et al., from - /usr/include/unistd.h. - -Sat Jul 29 09:08:15 2000 David L. Levine - - * pace/config/config.h,pace/posix/aio.inl (aio_suspend): - added PACE_AIO_SUSPEND_LIST_ARG_CAST, with special value - on OSF1 (DIGITAL_UNIX). - -Fri Jul 28 18:11:24 2000 David L. Levine - - * README: mention LynxOS' non-standard signal interface. - -Fri Jul 28 15:54:38 2000 Joe Hoffert - - * tests/Makefile: - Modified to use ace_components rather than - pace_components. - - * pace/posix/signal.h: - Changed pace_sig_pf typedef to compile for LynxOS. Still - need to fix it to compile for ACE with PACE for LynxOS. - - * pace/posix/signal.inl: - Fixed sigwait and signal for LynxOS (at least for building - pace). - - * pace/posix/time.inl: - * pace/posix/pwd.inl: - * pace/posix/grp.inl: - * pace/posix/dirent.inl: - Changed LynxOS workarounds for the reentrant functions - and deleted the check for SUNOS since now it can use - the POSIX calls (with _POSIX_PTHREAD_SEMANTICS being - defined properly). - - * pace/config/config.h: - Deleted definition of _REENTRANT (and put it in - include/makeinclude/rules.common.GNU) and defined - the different POSIX UoF macros to be 0 if we're - not using all of them. - - * pace/Makefile: - Modified to use bin/ace_components rather than - bin/pace_components (which is going away). - - * include/makeinclude/rules.common.GNU: - Adding -D_POSIX_PTHREAD_SEMANTICS (if threads == 1) - and -D_REENTRANT for SunOS so they get defined before - any include files. - -Fri Jul 28 11:29:08 2000 David L. Levine - - * README: added brief discussion of how PACE helps - insulate applications from the OS. - -Fri Jul 28 06:28:26 2000 John Heitmann - - * pace/posix/dirent.inl - * pace/posix/grp.inl - * pace/posix/pwd.inl - * pace/posix/signal.inl - Got rid of PACE_HAS_PTHREAD_SEMANTICS not supported code - in favor of platform specific modifications. - -Thu Jul 27 15:02:53 2000 Luther J Baker - - * pace/config/utility.h: - - Clean up comments. - -Thu Jul 27 14:04:47 2000 Luther J Baker - - * pace/config/defines.h: - - Removed #include "temp.h". - -Thu Jul 27 13:50:48 2000 Luther J Baker - - * pace/config/constants.h: - - Moved contents of pace/config/temp.h to constants.h. - Some of this probably shouldn't be in contstants.h. - - * pace/config/temp.h: - - Removed. - -Thu Jul 27 13:03:29 2000 Luther J Baker - - * pace/config/constants.h (PACE_ONE_SECOND_IN_NSECS): - - Typo! - -Thu Jul 27 12:33:55 2000 David L. Levine - - * README, VERSION: updated in preparation for 1.0 release. - -Thu Jul 27 08:36:01 2000 John Heitmann - - * pace/fcntl.h - * pace/mqueue.h - * pace/semaphore.h - * pace/stdio.h - Added :: qualifier to macros, but of course these should - be defined by the user, so these will go away once - I update OS.*. - - * pace/config/config.h - Added _REENTRANT for solaris. - - * pace/posix/time.inl - * pace/posix/unistd.inl - Took away PACE_HAS_PTHREAD_SEMANTICS in favor of platform - specific code. It appears PAC_HAS_PTHREAD_SEMANTICS is now - superfluous. - - * ../ace/OS.i - Qualified two functions with pace_ as they should - have been originally. Paceified ACE_OS::gettimeofday. - -Wed Jul 26 17:13:51 2000 John Heitmann - - * pace/emulation/mqueue.c: - Removed print_queue(), qualified attrdefault - with pace_, fixed memory leaks, and fixed - the totally broken mq_unlink. - -Tue Jul 25 17:09:13 2000 Luther J Baker - - * pace/win32/mman.c: - - Typo. - -Tue Jul 25 17:00:13 2000 Luther J Baker - - * pace/win32/dirent.h: - * pace/win32/dirent.inl: - * pace/win32/dirent.c: - * pace/win32/fcntl.h: - * pace/win32/fcntl.inl: - * pace/win32/fcntl.c: - * pace/win32/mman.h: - * pace/win32/mman.inl: - * pace/win32/mman.c: - * pace/win32/semaphore.h: - * pace/win32/semaphore.inl: - * pace/win32/semaphore.c: - * pace/win32/signal.h: - * pace/win32/signal.inl: - * pace/win32/signal.c: - * pace/win32/stat.h: - * pace/win32/stat.inl: - * pace/win32/stat.c: - * pace/win32/unistd.h: - * pace/win32/unistd.inl: - * pace/win32/unistd.c: - * pace/win32/utime.h: - * pace/win32/utime.inl: - * pace/win32/utime.c: - * pace/win32/utsname.h: - * pace/win32/utsname.inl: - * pace/win32/utsname.c: - - Placed emulation prototype in the .h file. - Removed emulation code from the .inl file. - Moved emulation code to the .c file. - -Mon Jul 24 15:57:24 2000 John Heitmann - - * pace/posix/string.inl - Casted away const returns. - - * pace/posix/signal.h - Moved pace_sig_pf back inside the extern "C" {} - -Mon Jul 24 14:19:54 2000 Luther J Baker - - * pace/win32/TODO: - - Updated. - -Mon Jul 24 14:02:54 2000 Luther J Baker - - * pace/win32: - - Updated pace.dsw. Re-arranged files and folders. - - * pace/win32/TODO: - - Updated. - -Sun Jul 23 20:36:54 2000 Luther J Baker - - * pace/win32/TODO: - - Updated. - -Sun Jul 23 20:21:02 2000 Luther J Baker - - * pace/win32/*: - - Cleaned up alot of implementation. - - Got rid of separate 'emulation' functions because only win32 - is in this directory (if we supported multiple platforms in - this directory, then the code would get messy so we would do - better to inline and call emulation funcs according to the - platform at hand). - - Inserted ACE style macros for WIN32 OS calls. Set errno - properly and adapts return values to POSIX compliance. - -Sun Jul 23 19:17:33 2000 Luther J Baker - - * pace/win32/pthread.h: - - Added typedefs from pace/posix/pthread.h. - -Sun Jul 23 18:34:26 2000 Luther J Baker - - * pace/win32/pthread.inl: - - Win32 doesn't support pthreads. These all need to be emulated. - - * pace/docs/PACE_POSIX_support.txt - - Updated. - -Sun Jul 23 17:32:44 2000 Luther J Baker - - * pace/pthread.h: - - Missing pace_* prefix on two sigset_t args. - Missing pace_* prefix on pthread_t arg. - - Became evident on NT because there are no definitions for - the native types. - -Sat Jul 22 09:24:34 2000 Ossama Othman - - * pace/Makefile.am (DESTDIRS): - - Added missing line continuation backslash `\'. - - * pace/posix/Makefile.am (noinst_LTLIBRARIES): - - Rename libtool convenience library to `libPACE_POSIX.la' to - avoid name clash with the actual `libPACE.la' library. - -Fri Jul 21 20:41:04 2000 Luther J Baker - - * pace/win32/unistd.inl: - * pace/posix/unistd.inl: - * pace/unistd.h: - - Typos. - -Fri Jul 21 20:35:38 2000 Luther J Baker - - * pace/win32/wait.h: - * pace/win32/wait.inl: - - ACE implements waitpid with an additional argument (HANDLE). - Eliminated POSIX support here. - - * pace/docs/PACE_POSIX_support.txt - - Updated. - -Fri Jul 21 20:23:55 2000 Luther J Baker - - * pace/win32/utsname.inl (pace_uname): - - Partial emulation made. But more work to be done! - - * pace/docs/PACE_POSIX_support.txt - - Updated. - -Fri Jul 21 19:49:19 2000 Luther J Baker - - * pace/win32/utime.h (pace_utime): - * pace/win32/utime.inl (pace_utime): - - Implemented the "RIGHT ANSWER[TM]" but it doesn't work so - casted away and made the current func work. Left the - correct implementation -- "unimplemented" :-/ in the file. - - * pace/docs/PACE_POSIX_support.txt - - Updated. - -Fri Jul 21 19:22:28 2000 Luther J Baker - - * pace/win32/string.inl: - - Fixed eror from adding new funcs (retval param was const). - -Fri Jul 21 18:43:07 2000 Luther J Baker - - * pace/win32/unistd.inl: - - Emulated or removed implementation. - - * pace/docs/PACE_POSIX_support.txt - - Updated. - -Fri Jul 21 18:33:04 2000 Luther J Baker - - * pace/config/constants.h (PACE_ONE_SECOND_IN_MSECS): - - Added. - -Fri Jul 21 18:19:50 2000 Luther J Baker - - * pace/config/utility.h: - - Added PACE_SYSCALL_FAILED 0xFFFFFFFF - -Fri Jul 21 12:19:06 2000 Luther J Baker - - * pace/config/utility.h: - - Typo. ACE_ADAPT_RETVAL ... PACE_ADAPT_RETVAL. - -Thu Jul 20 22:58:16 2000 John Heitmann - - * pace/stdlib.h - * pace/posix/stdlib.inl - Added atexit, div, labs, ldiv, mblen, mbstowcs, mbtowc - strtod, strtol, strtoul, system, wcstombs, wctomb. - - * pace/string.h - * pace/posix/string.inl - Removed const return from strchr, strstr, strrchr, strpbrk. - - *../ace/OS_String.* - Paceified. - - *../ace/ThreadManager.cpp - Paceified. - - * docs/ACE_Integration.txt - Updated. - -Thu Jul 20 19:17:15 2000 Luther J Baker - - * pace/win32/unistd.inl: - - Part of file fixed. Wanted to commit before I lose something. - -Thu Jul 20 19:19:28 2000 Luther J Baker - - * pace/unistd.h: - * pace/posix/unistd.h: - - _isatty, lseek are both implemented in win32 with - int fildes. Removed PACE_HANDLE here. - -Thu Jul 20 19:00:12 2000 Luther J Baker - - * pace/posix/unistd.inl (pace_fsync): - - Missing the wrapper? pace_fsync --> return fildes. - Changed to 'return fsync (fildes); :-) - -Thu Jul 20 18:55:39 2000 Luther J Baker - - * pace/unistd.h: - * pace/posix/unistd.inl: - - More PACE_HANDLE (dup, dup2) - -Thu Jul 20 14:47:20 2000 Luther J Baker - - * pace/config/utility.h: - - Better comments and changed syntax of PACE_OSCALL_RETURN. - -Thu Jul 20 14:42:26 2000 Luther J Baker - - * pace/config/utility.h (ACE_ADAPT_RETVAL): - - Typo. - -Thu Jul 20 14:12:44 2000 Luther J Baker - - * pace/posix/unistd.inl: - * pace/unistd.h: - - Lots of int file descriptors changed to PACE_HANDLE. - -Wed Jul 19 19:50:54 2000 Luther J Baker - - * pace/config/utility.h: - - Added some sorely needed macros for adapting return values. - Used extensively by ACE to emulate funcs on win32. - -Tue Jul 18 23:25:43 2000 John Heitmann - - * pace/posix/signal.h - * pace/posix/signal.inl - * pace/posix/stdio.h - * pace/posix/stdlib.h - * pace/posix/time.h - * pace/posix/unistd.h - - Added double definition protections around types, PACE_NULL - in particular. - - * pace/posix/signal* - - Changed signal's pointer to a functions to almost support - Lynx, but it is not quite working yet. - - * ../ace/ACE.cpp - * ../ace/OS_Memory.h - - Changed system calls to pace calls. - - * ../ace/OS.h - - Reverted part of my earlier changes to support Lynxos in - a cleaner way. - - * ../ace/OS.h - * ../ace/OS.i - - Many small changes including wrapping most calls with ACE_OSCALL - to handle EINTR correctly. - -Tue Jul 18 15:13:40 2000 Luther J Baker - - * pace/win32/times.h: - * pace/win32/times.inl: - - Fixed type support. - Eliminated unsupported funcs (return -1 and set ernno). - - * docs/PACE_POSIX_support.txt: - - Updated. - -Tue Jul 18 15:09:09 2000 Luther J Baker - - * pace/win32/time.inl: - - Eliminated and confirmed suport for funcs. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Tue Jul 18 14:43:08 2000 Luther J Baker - - * pace/termios.h: - * pace/posix/termios.inl: - - PACE_HANDLE substituted in for file descriptors. - - * pace/win32/termios.h: - * pace/win32/termios.inl: - - Eliminated support for most funcs. Return -1 and set ernno - to ENOTSUP. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Tue Jul 18 14:15:11 2000 Luther J Baker - - * pace/win32/stdio.inl: - - Eliminated support for cterm. - Created support for v...print.. family of funcs. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Tue Jul 18 13:52:13 2000 Luther J Baker - - * pace/win32/stat.h: - * pace/win32/stat.inl: - - Eliminated, emulated and confirmed suport for funcs. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Tue Jul 18 13:16:14 2000 Luther J Baker - - * pace/win32/signal.h: - * pace/win32/signal.inl: - - Eliminated, emulated and confirmed suport for funcs. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Tue Jul 18 11:33:16 2000 Luther J Baker - - * pace/win32/setjmp.h: - * pace/win32/setjmp.inl: - - Eliminated support sig(setjmp/longjmp). - - * docs/PACE_POSIX_support.txt: - - Updated. - -Mon Jul 17 18:29:27 2000 Luther J Baker - - * pace/win32/semaphore.h: - * pace/win32/semaphore.inl: - - Eliminated support for these functions. Started emulation. - - * pace/win32/types.h: - - Changed PACE_HANDLE to represent HANDLE (not void *). - - * docs/PACE_POSIX_support.txt: - - Updated. - -Mon Jul 17 16:37:16 2000 Luther J Baker - - * pace/win32/sched.h: - * pace/win32/sched.inl: - - Eliminated support for these functions. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Mon Jul 17 16:27:43 2000 Luther J Baker - - * pace/win32/pwd.h: - * pace/win32/pwd.inl: - - Emulate some... return no support for others. - - * docs/PACE_POSIX_support.txt: - - Updated. - - * pace/win32/mqueue.h: - - Typo. - -Mon Jul 17 15:57:43 2000 Luther J Baker - - * pace/win32/mqueue.h: - * pace/win32/mqueue.h: - - Fixed types to compile for win32. - Code was NOT emulated so types are dummy types and - PACE_ERRNO_NO_SUPPORT_RETURN (-1) was applied when applicable. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Mon Jul 17 14:56:31 2000 Luther J Baker - - * pace/win32/mman.inl: - - Emulate some... return no support for others. - - * docs/PACE_POSIX_support.txt: - - Updated. - -Mon Jul 17 14:00:35 2000 Andrew G. Gilpin - - * pace/config/utility.h: - - Changed #if (PACE_WIN32 != 0) to #if (PACE_WIN32) to be - more consistent. - -Mon Jul 17 13:57:05 2000 Luther J Baker - - * pace/posix/mman.inl (pace_shm_open): - * pace/win32/mman.inl (pace_shm_open): - * pace/sys/mman.h (pace_shm_open): - - Return value changed to PACE_HANDLE. - - * pace/win32/mman.h: - - Added some sorely needed constant macro definitions. - - * pace/config/utility.h: - - Removed #define PACE_POSIX_ERROR_INT_RETVAL -1 - -Mon Jul 17 13:31:50 2000 Luther J Baker - - * pace/config/utility.h: - - Added #define PACE_POSIX_ERROR_INT_RETVAL -1 - -Mon Jul 17 13:07:50 2000 Luther J Baker - - * pace/aio.h (pace_aio_cancel): - * pace/posix/aio.inl (pace_aio_cancel): - * pace/win32/aio.inl (pace_aio_cancel): - * pace/mman.h: - * pace/posix/mman.inl: - * pace/win32/mman.inl: - - Substituted PACE_HANDLE for ints that were file descriptors. - -Mon Jul 17 12:49:17 2000 Luther J Baker - - * pace/win32/types.h: - - PACE_HANDLE and PACE_INVALID_HANDLE get changed in WIN32 - to a void *. (In POSIX dir, we use an int as a file desc.) - - * docs/PACE_POSIX_support.txt: - - Updated. - - * pace/win32/dirent.inl - - Uses the new PACE_HANDLE. - -Mon Jul 17 12:27:47 2000 Andrew G. Gilpin - - * pace/config/utility.h: - - Prevented windows.h from getting included on non Win32 platforms. :) - -Mon Jul 17 11:47:11 2000 Luther J Baker - - * docs/PACE_POSIX_support.txt: - - Added to specify native/emulation/not supported funcs. - - * pace/win32/fcntl.h: - - creat isn't quite exactly as ACE does it. Leave this out - until correctly finished! - -Sun Jul 16 16:21:16 2000 Luther J Baker - - * pace/win32/grp.inl: - * pace/win32/grp.h: - - No WIN32 support. ACE does not emulate this family. - Build a group struct & return -1 and set ernno to - NO SUPPORT! - -Sun Jul 16 16:17:25 2000 Luther J Baker - - * pace/config/utility.h (PACE_FAIL_RETURN): - - Fixed to work with just PACE_WIN32 defined. - -Fri Jul 14 22:56:29 2000 Luther J Baker - - * pace/config/utility.h (PACE_FAIL_RETURN): - - Defined. - -Fri Jul 14 22:41:53 2000 Luther J Baker - - * pace/fcntl.h: - * pace/fcntl.inl: - - Some old changes didn't seem to take? - -Fri Jul 14 22:25:31 2000 Luther J Baker - - * pace/win32/dirent.inl: - - Typo. - -Fri Jul 14 22:06:14 2000 Luther J Baker - - * pace/win32/fcntl.inl: - - Type in comments for pace_win32_emulate_creat. - -Fri Jul 14 22:00:34 2000 Luther J Baker - - * pace/win32/fcntl.inl (creat): - - WIN32 doesn't support integers as file handles. Note here, - we return -1 for failure and we cast a HANDLE to an int - for success. - - Also, emulated support for POSIX creat. The ACE_OS version - extensively uses thread protection. This is commented out and - may be added in later, when threads are implemented in PACE. - - * pace/fcntl.h (creat): - - Comments regarding return values == (int)*HANDLE for WIN32. - -Fri Jul 14 21:20:59 2000 Luther J Baker - - * pace/win32/types.h: - - Added #include for common definitions and basic types. - -Fri Jul 14 20:49:46 2000 Luther J Baker - - * pace/config/utility.h: - - Added some neat :-) ACE_* macro utilities. - -Fri Jul 14 20:38:44 2000 Luther J Baker - - * pace/win32/dirent.inl: - - Added (POSIX_HAS_POSIX_FS_UOF) protection to emulation funcs. - -Fri Jul 14 20:18:46 2000 Luther J Baker - - * pace/config/utility.h: - * pace/win32/errno.h: - - Moved win32 error definitions to pace/win32/errno.h. - - * pace/config/utility.h: - - Changed #include to #include "pace/errno.h". - -Fri Jul 14 20:05:33 2000 Luther J Baker - - * pace/win32/pace_dll.dsp: - * pace/win32/pace_lib.dsp: - - Default the build to all POSIX units of functionality. - Defined PACE_HAS_ALL_POSIX_FUNCS in - Settings >> C/C++ >> Preprocessor - -Fri Jul 14 19:06:09 2000 John Heitmann - - * ../include/makeinclude/wrappermacros.GNU: - Added -DPACE_HAS_ALL_POSIX_FUNCS to flags. - - * pace/pthread.h: - * pace/unistd.h: - Removed a duplicate closing }. - - * pace/pthread.h: - Added (void) in arguments to pointers to functions - which were otherwise interpreted as (...) args. - -Fri Jul 14 18:50:07 2000 Luther J Baker - - * pace/win32/unistd.h: - - Removed incompatible #include for win32. - -Fri Jul 14 18:19:10 2000 Luther J Baker - - * pace/win32/signal.h: - - Typo...(pace_s_sigaction becomes pace_sigaction_s). - -Fri Jul 14 18:05:09 2000 Luther J Baker - - * pace/win32/dirent.h: - - Removed dir_init. - - * pace/win32/dirent.inl: - - win32 emulation functions finished. - closedir == pace_win32_emulate_closedir - opendir == pace_win32_emulate_opendir - readdir == pace_win32_emulate_readdir - -Fri Jul 14 17:46:56 2000 Luther J Baker - - * pace/win32/dirent.h: - - Removed 'const' member of dirent struct. - Added dir_init to guarantee that 'started_reading_' is - initialized correctly! - - * pace/win32/types.h: - - Added support for win32 - PACE_WIN32_INVALID_HANDLE = (void*)0 - -Fri Jul 14 15:55:24 2000 Joe Hoffert - - * pace/sys/mman.h: - * pace/sys/stat.h: - * pace/sys/times.h: - * pace/sys/utsname.h: - * pace/sys/wait.h: - move closing } for extern "C" to near end of file, after - .inl #includes. - - * pace/Makefile: - Added defining appropriate macros when subsetting PACE into - POSIX units of functionality. - - * pace/aio.h: - * pace/assert.h: - * pace/ctype.h: - * pace/dirent.h: - * pace/fcntl.h: - * pace/grp.h: - * pace/locale.h: - * pace/math.h: - * pace/mqueue.h: - * pace/pthread.h: - * pace/pwd.h: - * pace/sched.h: - * pace/semaphore.h: - * pace/setjmp.h: - * pace/signal.h: - * pace/stddef.h: - * pace/stdio.h: - * pace/stdlib.h: - * pace/string.h: - * pace/termios.h: - * pace/time.h: - * pace/unistd.h: - * pace/utime.h: - * pace/emulation/mqueue.c: - * pace/emulation/mqueue.h: - * pace/posix/aio.inl: - * pace/posix/ctype.inl: - * pace/posix/dirent.inl: - * pace/posix/fcntl.inl: - * pace/posix/grp.inl: - * pace/posix/locale.inl: - * pace/posix/math.inl: - * pace/posix/mman.inl: - * pace/posix/mqueue.inl: - * pace/posix/pthread.inl: - * pace/posix/pwd.inl: - * pace/posix/sched.inl: - * pace/posix/semaphore.inl: - * pace/posix/setjmp.inl: - * pace/posix/signal.inl: - * pace/posix/stat.inl: - * pace/posix/stdio.inl: - * pace/posix/stdlib.inl: - * pace/posix/string.inl: - * pace/posix/termios.inl: - * pace/posix/time.inl: - * pace/posix/times.inl: - * pace/posix/unistd.inl: - * pace/posix/utime.inl: - * pace/posix/utsname.inl: - * pace/posix/wait.inl: - * pace/win32/aio.inl: - * pace/win32/ctype.inl: - * pace/win32/dirent.inl: - * pace/win32/fcntl.inl: - * pace/win32/grp.inl: - * pace/win32/locale.inl: - * pace/win32/math.inl: - * pace/win32/mman.inl: - * pace/win32/mqueue.inl: - * pace/win32/pthread.inl: - * pace/win32/pwd.inl: - * pace/win32/sched.inl: - * pace/win32/semaphore.inl: - * pace/win32/setjmp.inl: - * pace/win32/signal.inl: - * pace/win32/stat.inl: - * pace/win32/stdio.inl: - * pace/win32/stdlib.inl: - * pace/win32/string.inl: - * pace/win32/termios.inl: - * pace/win32/time.inl: - * pace/win32/times.inl: - * pace/win32/unistd.inl: - * pace/win32/utime.inl: - * pace/win32/utsname.inl: - * pace/win32/wait.inl: - Wrapped each function with its corresponding POSIX unit of - functionality (or the catch-all PACE_HAS_POSIX_NONUOF_FUNCS). - - * pace/config/config.h: - Changed to define all the POSIX macros when - PACE_HAS_ALL_POSIX_FUNCS is defined. - - * tests/Makefile: - Adding default flag of PACE_HAS_ALL_POSIX_FUNCS. - - * tests/Stdio_Test.c: - change variable from FILE to PACE_FILE. - -Fri Jul 14 15:02:47 2000 Luther J Baker - - * PACE/pace/win32/dirent.h: - - pace_dir changed to PACE_DIR. - PACE_TCHAR changed to char. - -Fri Jul 14 14:34:43 2000 David L. Levine - - * pace/assert.h,pace/{posix,win32}/assert.{h,inl}: - changed pace_assert from an inline function to a macro. - That way, it will report the proper file/line number, - instead of those of the pace_assert inline function. - - Also, moved #include from .inl file to .h - file. Because we're now using a macro, client code - must #include . - -Fri Jul 14 09:26:36 2000 David L. Levine - - * include/makeinclude/rules.common.GNU: if debug is disabled, - add -DPACE_NDEBUG to CFLAGS or CCFLAGS. - - * pace/{posix,win32}/assert.inl: neuter if PACE_NDEBUG is - defined. Even though assert () won't do anything with - NDEBUG, data (__FILE__ and __LINE__, presumably) was stored - in the .o file without this change. - - We might want to consider making pace_assert a macro. - As an inline function, __FILE__ and __LINE__ won't be - very helpful. - -Fri Jul 14 08:17:59 2000 David L. Levine - - * pace/{aio.h,assert.h,ctype.h,dirent.h,fcntl.h,grp.h,locale.h, - math.h,mqueue.h,pthread.h,pwd.h,sched.h,semaphore.h,setjmp.h, - stdio.h,stdlib.h,string.h,termios.h,time.h,unistd.h,utime.h}: - move closing } for extern "C" to near end of file, after - .inl #includes. - -Fri Jul 14 00:30:38 2000 John Heitmann - - * ../ace/OS.i - Minor updates. Currently only LynxOS has a dirty build - of libACE, although libACE still can't be linked against - correctly. - - * pace/signal.h - * pace/posix/signal.* - * pace/stdlib.h - * pace/posix/stdlib.* - * pace/pthread.h - * pace/posix/pthread.* - - Added typedef of pointers to functions which forced - functions which take pointers to functions to accept - arguments of c++ linkage... I think. - -Thu Jul 13 16:37:33 2000 John Heitmann - - * ../include/makeinclude/wrapper_macros.GNU - - Added 'pace' flag to support compilation with PACE. - 'make pace=1' and behold the power of pace! - - * include/makeinclude/rules.common.GNU - - Removed netinet, arpa, and common form the VPATH - - * pace/1/ - * pace/arpa/ - * pace/netinet/ - * pace/common/ - - Removed. - -Thu Jul 13 14:57:53 2000 David L. Levine - - * pace/{posix,win32}/assert.inl (pace_assert): removed unnecessary - return statement at end of function. - -Thu Jul 13 10:53:06 2000 Luther J Baker - - * pace/win32/dirent.h: - - Added structs for dirent and DIR. - -Thu Jul 13 00:46:37 2000 John Heitmann - - * pace/signal.h - * pace/posix/signal.h - * pace/posix/signal.inl - - Changed the typedef of pace_s_sigevent - to pace_sigevent_s to match up with pace_stat_s. The - problem with both of these is that the data type names - conflict with function names. - - * pace/stdio.h - * pace/posix/stdio.c - - Changed all '...' functions to defines. Now the library - should be totally empty on platforms without emulation code. - - * include/makeinclude/rules.common.GNU - * tests/Makefile - - Because the library can be empty again, don't include - the library by default. As a temporary kludge emulation=1 - is set in rules.common.GNU for Linux, which is the only - platform thus far which has a non-empty library. - - * pace/emulation/mqueue.c - * pace/emulation/mqueue.h - - Support for all functionality is now complete, cleaner, - and somewhat less buggy. - - * tests/mqueue_test.c - - Borrowed a test from Konstantin Knizhnik's web site, - will eventually have to make this a one-button test. - -Wed Jul 12 17:30:54 2000 John Heitmann - - * pace/posix/types.h - Fixed pace_tchar. - -Wed Jul 12 16:31:51 2000 Luther J Baker - - * pace/win32/types.h: - - Fixed PACE_TCHAR. - -Wed Jul 12 16:10:39 2000 John Heitmann - - * pace/fcntl.h - * pace/mqueue.h - * pace/semaphore.h - * pace/stdio.h - * pace/unistd.h - * pace/unistd.inl - * pace/tests/mqueue_test.c - Updated all #define pace_func (X) macros to remove the need - for double paranthesis. - -Wed Jul 12 17:01:47 2000 Ossama Othman - - * Makefile.am: - * pace/Makefile.am: - * pace/posix/Makefile.am: - * tests/Makefile.am: - - Preliminary Automake input files for PACE. They aren't working - yet, but do provide a good start. - -Wed Jul 12 15:27:27 2000 Luther J Baker - - * pace/posix/types.h (PACE_TCHAR): - * pace/win32/types.h (PACE_TCHAR): - - Added typedef char PACE_TCHAR; - Protected some of the typedefs. - -Wed Jul 12 14:26:10 2000 Luther J Baker - - * pace/win32/aio.inl: - - PACE_ERRNO_NO_SUPPORT_RETURN (-1); - Emulate support for these latter. - -Wed Jul 12 14:15:10 2000 Luther J Baker - - * pace/win32/signal.h: - * pace/win32/time.h: - - Added types to help win32 along. - -Wed Jul 12 12:10:55 2000 David L. Levine - - * pace/config/platform.h: added OSF1 support. - -Wed Jul 12 11:51:52 2000 Luther J Baker - - * pace/win32/errno.h: - - Added to repository. - - * pace/win32/pace_dll.dsp: - * pace/win32/pace_lib.dsp: - - Modified to include the new file. - -Wed Jul 12 11:45:34 2000 David L. Levine - - * include/makeinclude/rules.commmon.GNU: added OSF1 support. - -Wed Jul 12 10:53:01 2000 Luther J Baker - - * pace/win32/pace_lib.dsp: - * pace/win32/pace_dll.dsp: - - Added the PACE/pace/*.h files. These currently contain - the interface we need to compile into our code. Maybe - we can change the following, but we now have - PACE/pace/aio.h and PACE/pace/win32/aio.h - both showing up in the VC++ list as aio.h and aio.h. - The PACE/pace/win32 files always show up second :-) - -Wed Jul 12 10:24:20 2000 Luther J Baker - - * pace/win32/wait.h: - * pace/win32/utsname.h: - * pace/win32/utime.h: - * pace/win32/unistd.h: - * pace/win32/types.h: - * pace/win32/times.h: - * pace/win32/time.h: - * pace/win32/termios.h: - * pace/win32/string.h: - * pace/win32/stdlib.h: - * pace/win32/stdio.h: - * pace/win32/stat.h: - * pace/win32/signal.h: - * pace/win32/setjmp.h: - * pace/win32/semaphore.h: - * pace/win32/sched.h: - * pace/win32/pwd.h: - * pace/win32/pthread.h: - * pace/win32/mqueue.h: - * pace/win32/mman.h: - * pace/win32/math.h: - * pace/win32/locale.h: - * pace/win32/limits.h: - * pace/win32/grp.h: - * pace/win32/fcntl.h: - * pace/win32/dirent.h: - * pace/win32/ctype.h: - * pace/win32/assert.h: - * pace/win32/aio.h: - - Removed function prototypes. These were moved to the PACE/*.h files. - Removed #include *.inl files. These are inluded by the PACE/*.h files. - Postfixed the protective preprocessor guards with _WIN32 - (ie: PACE_CTYPE_H_WIN32). - -Wed Jul 12 01:25:44 2000 John Heitmann - - * pace/emulation/time.c: - Removed since it is currently empty. - - * pace/emulation/time.h: - Minor changes to how this file is included in: - - * pace/posix/time.h: - Changed how emulation/time.h is included on Linux - - * pace/config/compiler.h - * pace/posix/string.inl - * pace/posix/unistd.inl - Changed to quell odd compiler warnings from gcc. Added - PACE_BROKEN_INLINE. - - * pace/emulation/mqueue.* - Improved and updated code, but it is still not complete. - - * pace/tests/mqueue_test.c - * pace/tests/Makefile - Added a very simple test to verify mqueue works. - -Tue Jul 11 21:05:58 2000 David L. Levine - - * pace/unistd.h,pace/posix/unistd.inl: - 1) pace_execl{,e,p} weren't declared/defined with - PACE_INLINE, so they were being put into each .o. - 2) Reordered some of the function definitions in - posix/unistd.inl, so that they appear before all uses. - -Tue Jul 11 19:31:13 2000 David L. Levine - - * pace/stdio.h: fixed copy+paste error in comment: - tmpfile instead of sscanf. - -Tue Jul 11 4:28:00 2000 Andrew G. Gilpin - - * rules.common.GNU: - Added functionality so that PACE_SYSVER on Linux is in the - same format as LINUX_VERSION_CODE from the Linux source code. - For example, Linux version 2.2.12 -> 0x02020C == 131596 - -Tue Jul 11 10:24:03 2000 Joe Hoffert - - * tests/Makefile: - Changed to always include the PACE library. This was causing - problems for functions that are never inlined when inlining - is enabled. - -Mon Jul 10 13:47:25 2000 John Heitmann - - * pace/stddef.h - * pace/stdio.h - * pace/string.h - * pace/unistd.h - Changed to new format, all functions should now be - declared in pace/ - - * pace/mqueue.h - * pace/emulation/mqueue* - Emulated mqueue for linux. Curently there is no support for - mq_notify, and there is a race condition if two procs try to - create the same queue at the same time. - - * pace/stdio.h - * pace/posix/stdio.inl - * pace/unistd.h - * pace/posix/unistd.inl - Moved ctermid back to where it should be (stdio). - - * pace/string.h - * pace/posix/string.inl - Added mem* functions (e.g. memset), since they are C std. - - * pace/time.h - * pace/posix/time.inl - ENOSYSed clock_* and timer_* functions for Linux, although - emulation may be possible. - - * pace/posix/pthread.inl - ENOSYSed many functions not supported on Linux. Linux should - build clean now for the moment. - -Mon Jul 10 08:50:37 2000 Joe Hoffert - - * pace/posix/time.inl: - * pace/posix/pthread.inl: - * pace/posix/aio.inl: - Changed code to use PACE_NONCONST_ARG_CAST rather than - #idef'ing for LynxOS and doing the cast. - - * pace/config/defines.h: - Changed order of include so that platform.h (and - POSIX_HAS_* #defines) will be first. - - * pace/config/config.h: - Added PACE_NONCONST_ARG_CAST macro. Needed for LynxOS - when it doesn't use const args for POSIX functions - taking const args. - - * tests/Makefile: - * pace/Makefile: - Took out common rules and included - include/makeinclude/rules.common.GNU instead. - - * include/makeinclude/rules.common.GNU: - Added this file to take out common rules from the - different Makefiles. - - * tests/Posix_SP_Test.c: - Made test more robust (e.g., check for all specified POSIX - names for sysconf and for NULL and non-NULL arg to time) - Also, ifdefed out some sysconf names for LynxOS since those - names are supported. Sent email to LynuxWorks about this. - -Fri Jul 7 19:11:38 2000 John Heitmann - - * pace/sys/mman.h - * pace/sys/stat.h - * pace/sys/times.h - * pace/sys/types.h - * pace/sys/utsname.h - * pace/sys/wait.h - * pace/termios.h - * pace/time.h - * pace/unistd.h - * pace/utime.h - * pace/posix/mman.h - * pace/posix/stat.h - * pace/posix/termios.h - * pace/posix/time.h - * pace/posix/times.h - * pace/posix/types.h - * pace/posix/unistd.h - * pace/posix/utime.h - * pace/posix/utsname.h - * pace/posix/wait.h - - Continued changes: - - Changed the #if defined (PACE_HAS_POSIX) to #if - PACE_HAS_POSIX per our recent conversation regarding all macros being - assigned a value. - - Moved the prototype function signatures to the root - directory *.h file. - - Changed the form the *.inl file was included. - - -Fri Jul 7 17:24:33 2000 Luther J Baker - - * pace/fcntl.h: - - Missing extern "C" { }. - -Fri Jul 7 17:22:56 2000 Luther J Baker - - * pace/aio.h: - * pace/posix/aio.h: - * pace/assert.h: - * pace/posix/assert.h: - * pace/ctype.h: - * pace/posix/ctype.h: - * pace/dirent.h: - * pace/posix/dirent.h: - * pace/fcntl.h: - * pace/posix/fcntl.h: - * pace/grp.h: - * pace/posix/grp.h: - * pace/math.h: - * pace/posix/math.h: - * pace/mqueue.h: - * pace/posix/mqueue.h: - * pace/pthread.h: - * pace/posix/pthread.h: - * pace/pwd.h: - * pace/posix/pwd.h: - * pace/sched.h: - * pace/posix/sched.h: - * pace/semaphore.h: - * pace/posix/semaphore.h: - * pace/setjmp.h: - * pace/posix/setjmp.h: - * pace/signal.h: - * pace/posix/signal.h: - - Changed the protection includes. Eg: - ROOT directory PACE_ASSERT_H - POSIX directory PACE_ASSERT_H_POSIX. - - Changed the #if defined (PACE_HAS_POSIX) to #if PACE_HAS_POSIX - per our recent conversation regarding all macros being assigned a - value. - - Moved the prototype function signatures to the root directory *.h file. - - Changed the form the *.inl file was included. - -Fri Jul 7 16:23:57 2000 Luther J Baker - - * pace/errno.h: - * pace/posix/errno.h - - Altered to fit in current - -Fri Jul 7 16:04:30 2000 Luther J Baker - - * pace/config/platform: - - # define all unused macros so we can test them against '0' - in the source code. - -Fri Jul 7 15:24:57 2000 Luther J Baker - - * pace/config/compiler.h: - - # define PACE_HAS_CPLUSPLUS __cplusplus - -Fri Jul 07 14:41:51 2000 Luther J Baker - - * pace/win32/types.h: - - Fixed some non-native type problems. Also, made some temporary - types (pthread_*) until we actually get to win32/pthread.h at - which point, we will correctly define these. - -Fri Jul 7 02:18:02 2000 John Heitmann - - * pace/posix/dirent.*: - * pace/posix/pthread.*: - * pace/posix/sched.h: - * pace/posix/signal.*: - * pace/posix/stat.*: - * pace/posix/time.*: - * pace/posix/utsname.inl: - Fixed a problem with certain typedefs not being - exposed in other .inl files due to an odd - interaction of the #pragma once style protections - present in the header files. A few structs were redefined - a second time outside of their header file. - - Also, pace_stat was changed to pace_stat_s to avoid a conflict - witht the pace_stat() function. - - * pace/win32/termios.*: - * pace/win32/wait.h: - * pace/win32/utsname.*: - * pace/win32/times.*: - * pace/win32/stat.*: - * pace/win32/mman.*: - Added changes made to /posix earlier. - - -Thu Jul 6 13:04:02 2000 Joe Hoffert - - * tests/Posix_SP_Test.c: - Made tests more robust checking for all possible parameter - values. Also, changed check for failure. Just because a - function doesn't support a particular parameter value, does - not mean the function doesn't support that function. If - the PACE symbols can be used (i.e., the code compiles) then - the function is supported. - -Thu Jul 06 12:17:21 2000 David L. Levine - - * pace/posix/pthread.inl (pace_pthread_mutex_{get,set}prioceiling): - LynxOS does not have pthread_mutex_{get,set}prioceiling, so - don't call them with PACE_LYNXOS. - -Wed Jul 5 13:38:11 2000 John Heitmann - - * pace/types.h: - Added #include to expose types on LynxOS. - - * pace/time.inl: - Casted away const for LynxOS. - - * pace/posix/termios.*: - Fixed a typedef and removed tc*pgrp which didn't seem to - take from the last commit. - - * ../ace/OS.i: - Updated corresponding functions to those newly added in PACE. - -Wed Jul 5 17:15:26 2000 John Heitmann - - * pace/Makefile: - Fixed error introduced by my earlier update. - - * pace/termios.*: - Added typedefs and changed function signatures appropriately. - Removed tcgetpgrp which was added to unistd earlier. - - * pace/sys/wait.h: - Added macros. - - * pace/sys/utsname.*: - * pace/sys/times.*: - * pace/sys/stat.*: - * pace/sys/mman.* - Added typedefs and changed function parameters appropriately. - - * pace/time.h: - Added #include "pace/signal.h" - - * pace/unistd.inl: - Changed spelling error. - - * pace/signal.*: - * pace/stat.*: - Typedefs of structs later used as pointers were broken - so I reverted back to the old way temporarily. - -Wed Jul 05 16:00:32 2000 Luther J Baker - - * pace/win32/types.h: - - Removed redefinition of size_t. - -Wed Jul 05 14:54:16 2000 Luther J Baker - - * pace/win32/types.h: - - Define native UNIX types to work on WIN32 types. - -Wed Jul 5 15:28:25 2000 John Heitmann - - * pace/Makefile: - Fixed paths that were invalidated when wait.h and termios.h - were moved. - -Wed Jul 05 14:46:38 2000 Luther J Baker - - * pace/win32/aio.h: - - Removed #include . - -Wed Jul 05 13:41:00 2000 Luther J Baker - - * PACE/win32/types.h: - - Removed #include . - Moved -*- C -*- to same line as $-Id-$ - -Wed Jul 5 13:25:34 2000 Luther J Baker - - * pace/win32/* - - Removed (posix ace) from files. - -Wed Jul 05 12:49:20 2000 Luther J Baker - - * PACE/config/platform.h - - WIN32 doesn't use the makefile. - #define PACE_WIN32 2000 - -Wed Jul 5 12:48:41 2000 Luther J Baker - - * pace/win32/*. - - Update files per PACE/posix changes. - -Mon Jul 3 19:30:39 2000 John Heitmann - - * pace/posix/time.*: - Added macros, typedefs, clock(), and difftime(). - - * pace/posix/unistd.*: - Added macros, typedefs, tcgetpgrp(), tcsetpgrp(). - - * pace/posix/utime.*: - Added macros and typedefs. - -Mon Jul 3 9:45:00 2000 John Heitmann - - * pace/config/types.h: - Removed. Functionality replaced by platform - specific pace/sys/types. - - * pace/config/defines.h: - Deleted reference to types.h. - -Mon Jul 3 00:25:44 2000 John Heitmann - - * pace/sys/termios.h: - Moved to pace/ - - * pace/posix/aio.*: - * pace/posix/direnet.*: - * pace/posix/fcntl.*: - * pace/posix/grp.*: - * pace/posix/locale.*: - * pace/posix/math.*: - * pace/posix/mqueue.*: - * pace/posix/pthread.*: - * pace/posix/pwd.*: - * pace/posix/sched.*: - * pace/posix/semaphore.*: - * pace/posix/setjmp.*: - * pace/posix/signal.*: - * pace/stddef.*: - * pace/posix/stdio.*: - * pace/posix/stdlib.*: - * pace/posix/string.*: - * pace/posix/types.*: - * pace/posix/time.*: - Added many missing typedefs and macros. A bug has been - added in also in types.h. It is harmless but causes a - compiler warning that I could not fix. Files lower in - the alphabet such as utime haven't been finished yet. - - * pace/posix/stdio.*: - Added in the missing functions fgetpos, fsetpos, fwrite, - setvbuf, vfprintf, vprintf, vsprintf. The last three - are empty until passing the macro va_list is resolved. - - * pace/posix/locale.*: - Added localeconv (). - - * pace/posix/signal.*: - Added raise () and signal (). - - * pace/posix/unistd.*: - * pace/posix/stdio.*: - Moved ctermid() from stdio to unistd. - - * pace/posix/stdlib.*: - Added abort (). - - * pace/: - Added stddef.h and errno.h - -Fri Jun 30 16:54:41 2000 John Heitmann - - * pace/wait.h: - Moved to sys/ - -Fri Jun 30 15:55:52 2000 Joe Hoffert - - * pace/posix/time.h: - * pace/posix/time.inl: - * pace/win32/time.h: - * pace/win32/time.inl: - Corrected type for timeptr arg for pace_mktime function. - Corrected non-const arg for pace_strftime. (NOTE: The - Solaris man page incorrectly documents the constness - of the first argument.) - - * pace/posix/stdlib.inl: - * pace/win32/stdlib.inl: - Corrected void return value for srand. - -Fri Jun 30 15:05:08 2000 Joe Hoffert - - * pace/posix/TODO: - Added testing with and without PACE_HAS_POSIX_PTHREAD_SEMANTICS - defined. - - * pace/win32/setjmp.h: - * pace/win32/setjmp.inl: - * pace/posix/setjmp.h: - * pace/posix/setjmp.inl: - Added pace_setjmp and pace_longjmp functions. - - * pace/posix/time.h: - * pace/posix/time.inl: - * pace/win32/time.h: - * pace/win32/time.inl: - Cleaned up comments and added functions pace_asctime, - pace_ctime, pace_gmtime, pace_localtime, pace_mktime, - and pace_strftime. - Removed unneeded PACE_HAS_POSIX_PTHREAD_SEMANTICS guards - in .inl files. - - * pace/win32/stdlib.h: - * pace/win32/stdlib.inl: - * pace/posix/stdlib.h: - * pace/posix/stdlib.inl: - Added functions pace_abs, pace_atof, pace_bsearch, pace_qsort, - pace_rand, and pace_srand. - Added "Requires PACE_HAS_REENTRANT" comment for pace_rand_r - in header files. - - * pace/Makefile: - Added all 18 POSIX Units of Functionality components to - be built as separate libaries as specified on the command - line (just like ACE). - -Fri Jun 30 10:10:53 2000 Joe Hoffert - - * tests/Posix_SP_Test.c: - Fixed description. Fixed name value arg to sysconf to be - POSIX. Added more extensive checking and output of values - when a function succeeds. - - * pace/Makefile: - Removed extraneous #INCLDIRS comment. - - * pace/posix/pthread.inl: - * pace/posix/aio.inl: - Casted away const from certain functions for LynxOS when - their prototypes don't have const. - - * tests/Makefile: - Moved PACE_SYSNAME definition below wrapper_macros.GNU so - that cross-compiled platforms (e.g., LynxOS) can define - PACE_SYSNAME. - - * pace/config/platform.h: - Changed of PACE_HAS_POSIX for LynxOS from PACE_LYNX to - PACE_LYNXOS. - -Thu Jun 29 19:53:10 2000 Luther J Baker - - * pace/config/utility.h: - - (ENOTSUP) is not defined on win32. Added support. - -Thu Jun 29 19:22:46 2000 Luther J Baker - - * pace/win32 - Altered syntax (#include pace/posix/file.h) left over - from copying. - -Thu Jun 29 16:42:31 2000 John Heitmann - - * pace/posix/pthread.{h,inl}: - Changed pthead_condattr_init to pthread_condattr init - and pace_pace_pthread... to pace_pthread... - - -Thu Jun 29 15:04:42 2000 Joe Hoffert - - * pace/man/Makefile (index.html): - Created PACE_DOC++ as executable to invoke and assigned - /project/doc/pkg/bin/doc++ to it. - - * pace/posix/assert.h: - Removed extraneous '.' in comment. - -Thu Jun 29 15:04:42 2000 Joe Hoffert - - * pace/posix/aio.h: - * pace/posix/assert.h: - * pace/posix/ctype.h: - * pace/posix/dirent.h: - * pace/posix/fcntl.h: - * pace/posix/grp.h: - * pace/posix/locale.h: - * pace/posix/math.h: - * pace/posix/mman.h: - * pace/posix/mqueue.h: - * pace/posix/pthread.h: - * pace/posix/pwd.h: - * pace/posix/sched.h: - * pace/posix/semaphore.h: - * pace/posix/setjmp.h: - * pace/posix/signal.h: - * pace/posix/stdio.h: - * pace/posix/stdlib.h: - * pace/posix/string.h: - * pace/posix/time.h: - * pace/posix/unistd.h: - * pace/posix/utime.h: - * pace/posix/wait.h: - Adding doc++ html man comments. - - * pace/posix/stdio.{h,inl} (pace_printf): - Removed pace_snprintf and pace_vsprint functions since they - are not POSIX. - -Thu Jun 29 14:47:19 2000 Joe Hoffert - - * pace/posix/stdio.inl (pace_printf): - - * pace/man/pace.jpg: - JPEG file of the PACE icon used in the html man pages. - - * pace/man/banner: - Created banner file that is inserted at the bottom of - the generated html man pages. This file contains the - PACE logo pointing to the PACE Web page. - - * pace/man/Makefile: - Created Makefile for the html man pages using doc++ - -Thu Jun 29 09:21:19 2000 Joe Hoffert - - * pace/man/Makefile: - - * pace/config/config.h: - Changed C++ // comment to C /* */ comment. The compiler - (appropriately) choked on the former. - - * pace/Makefile: - Moved defining PACE_SYSNAME until after all the macro and rules - files are included. Otherwise, PACE_SYSNAME was not getting - defined for LynxOS. - - * pace/posix/types.h: - Put an #if defined (PACE_SUNOS) guard around inclusion of - inttypes.h since this file isn't found on Lynx. - -Thu Jun 29 02:38:52 2000 John Heitmann - - * pace/posix/mman.inl: - Added cast to char* from void* in param passing. - - * pace/posix/stdio.h: - * pace/posix/stdio.c: - Changed *printf from macros to functions. - - * pace/posix/unistd.c: - * pace/posix/unistd.h: - Changed the macros execl, execle, execlp to functions. - -Wed Jun 28 11:18:17 2000 Joe Hoffert - - * pace/Makefile: - * tests/Makefile: - Modified to make PACE_ROOT $(ACE_ROOT)/PACE rather than the - previous value of $(ACE_ROOT)/pace. - -Wed Jun 28 09:32:29 2000 David L. Levine - - * pace/config/config.h: added platform-dependent determination - of PACE_HAS_REENTRANT. Also, wrapped all of the PACE_HAS... - #defines with a check to see if it had already been defined. - - * pace/posix/stdlib.inl (pace_rand_r): use PACE_HAS_REENTRANT, - now that the platform-dependent code is in pace/config/config.h. - -Wed Jun 28 09:21:07 2000 Joe Hoffert - - * tests/Makefile: - * pace/Makefile: - Changed inlining to be the default. - -Tue Jun 27 23:09:34 2000 John Heitmann - - * pace/posix/unistd.h: - * pace/posix/termios.inl: - Added #includes of and to preclude - undeclared token warnings without inlining enabled. - - * pace/posix/pwd.inl: - Added PACE_UNUSED_ARG where needed. - -Tue Jun 27 22:03:52 2000 David L. Levine - - * pace/posix/stdlib.inl (pace_rand_r): on Linux and - SunOS, rand_r isn't available if certains macros - aren't defined, so reflect that. rand_r doesn't - appear anywhere in the LynxOS 3.1.0 headers, so - NO_SUPPORT there as well. - -Tue Jun 27 16:35:20 2000 Joe Hoffert - - * pace/posix/aio.h: - Removed copyrighted Solaris man text that accidentally get - committed to the repository and replaced it with text to - denote what really needs to go there. - -Tue Jun 27 14:32:40 2000 Joe Hoffert - - * pace/posix/aio.h: - - * tests/Makefile (ACELIB): - Defining PACE_HAS_INLINE from the Makefile and adding the PACE - library if we are not inlining. - - * pace/posix/stdio.inl: - Removed function since it's now a macro in the header file. - - * pace/posix/stdio.h: - Changed pace_sprintf from a function to a macro because of - compilation warnings. Can be changed later. - - * pace/config/compiler.h (PACE_INLINE): - Changed definition of PACE_INLINE depending on if PACE_HAS_INLINE - is defined. - - * pace/config/features.h: - Removed PACE_HAS_INLINE from here since the Makefile now - defines it. - - * pace/Makefile: - Defining PACE_HAS_INLINE from the Makefile. - -Tue Jun 27 11:23:41 2000 David L. Levine - - * pace/posix/pthread.{h,inl} (pthread_cleanup_{push,pop}): - replaced these inline functions with macros. They're - supposed to be used in the same block; pthread_cleanup_pop - refers to a local object that pthread_cleanup_push declares. - I don't see how to implement that with inline functions. - -Tue Jun 27 10:11:00 2000 John Heitmann - - * pace/tests/Posix_SP_Test.c - * pace/tests/Stdio_Test.c - * pace/pace/posix/time.inl - Added more PACE_UNUSED_ARG - -Tue Jun 27 9:51:43 2000 John Heitmann - - * pace/tests/Makefile - Changed VLDLIBS := to += - - * pace/tests/Posix_SP_Test.c - Included pace/stdio.h - -Mon Jun 26 15:07:08 2000 Luther J Baker - - * pace/pace/win32/pace.dsw: - * pace/pace/win32/pace_dll.dsp: - * pace/pace/win32/pace_lib.dsp: - - Updated to link correctly. - -Mon Jun 26 13:27:02 2000 Luther J Baker - - * pace/pace/win32/pace.dsw: - * pace/pace/win32/pace_dll.dsp: - * pace/pace/win32/pace_lib.dsp: - - Added to repository. - -Mon Jun 26 12:24:36 2000 Luther J Baker - - * pace/pace/posix/TODO: - - Updated. - - * pace/pace/win32/*.[h,inl,cpp] README TODO: - - Added to repository. - -Mon Jun 26 11:03:00 2000 John Heitmann - - * pace/pace/posix/pwd.inl - * pace/pace/posix/string.inl - * pace/pace/posix/grp.inl - * pace/pace/posix/dirent.inl - - Added PACE_UNUSED_ARG where needed. - -Sat Jun 24 7:10 2000 - - * pace/pace/posix/unistd.inl - * pace/pace/posix/signal.inl - - Added PACE_UNUSED_ARG where needed. - -Wed Jun 21 18:50:04 2000 Luther J Baker - - * in.h, inet.h, netdb.h, socket.h, strings.h, thread.h - - Not part of POSIX spec. Removed from pace. - -Wed Jun 21 18:42:22 2000 Luther J Baker - - * pace/tests/Makefile: - - Copied changes Joe made to pace/pace/Makefile regarding - platform definitions. - - * pace/config/config.h (PACE_HAS_EXTENSIONS): - * pace/pace/posix/dirent.inl - * pace/pace/posix/grp.inl - * pace/pace/posix/mman.inl - * pace/pace/posix/pwd.inl - * pace/pace/posix/signal.inl - * pace/pace/posix/stdio.inl - * pace/pace/posix/stdlib.inl - * pace/pace/posix/string.inl - * pace/pace/posix/types.h - * pace/pace/config/utility.h - - Removed deprecated definitions and non-posix functions. - -Wed Jun 21 16:44:24 2000 Joe Hoffert - - * pace/Makefile: - Changed to define the PACE_`platform' values - Change include directories to -I.. to resolve problems. - - * tests/Makefile: - Change include directories to -I.. to resolve problems. - - * pace/config/platform.h: - Modified platform #defines to PACE_`platform' (e.g., PACE_POSIX) - - * pace/posix/math.{h,inl}: - Fixed pace_pow arguments - - * pace/posix/mman.{h,inl}: - * pace/posix/aio.h: - * pace/posix/locale.h: - * pace/posix/pthread.{h,inl}: - * pace/posix/stdio.h: - Fixed syntax errors and typos - -Wed Jun 21 13:15:47 2000 Luther J Baker - - * pace/posix/stdio.inl (pace_setbuf): - - Altered return value and fixed typos. - -Tue Jun 20 15:39:26 2000 Luther J Baker - - * pace/config/compiler.h: - - Removed errant '\\' at end of lines and changed to '\'. - -Tue Jun 20 15:31:43 2000 Luther J Baker - - * pace/posix/mman.h: - * pace/posix/socket.h: - * pace/posix/stat.h: - * pace/posix/termios.h: - * pace/posix/times.h: - * pace/posix/types.h: - * pace/posix/utsname.h: - * pace/posix/in.h: - * pace/posix/inet.h: - * pace/posix/aio.h: - * pace/posix/assert.h: - * pace/posix/defines.h: - * pace/posix/dirent.h: - * pace/posix/fnctl.h: - * pace/posix/grp.h: - * pace/posix/limits.h: - * pace/posix/locale.h: - * pace/posix/mqueue.h: - * pace/posix/netdb.h: - * pace/posix/pthread.h: - * pace/posix/pwd.h: - * pace/posix/sched.h: - * pace/posix/semaphore.h: - * pace/posix/setjmp.h: - * pace/posix/signal.h: - * pace/posix/stdio.h: - * pace/posix/stdlib.h: - * pace/posix/string.h: - * pace/posix/strings.h: - * pace/posix/thread.h: - * pace/posix/time.h: - * pace/posix/unistd.h: - * pace/posix/utime.h: - * pace/posix/wait.h: - - Edited for consistency with previous entry. - - Removed #include "pace/defines.h". - -Tue Jun 20 15:14:44 2000 Luther J Baker - - * pace/sys/mman.h: - * pace/sys/socket.h: - * pace/sys/stat.h: - * pace/sys/termios.h: - * pace/sys/times.h: - * pace/sys/types.h: - * pace/sys/utsname.h: - * pace/netinet/in.h: - * pace/arpa/inet.h: - * pace/aio.h: - * pace/assert.h: - * pace/defines.h: - * pace/dirent.h: - * pace/fnctl.h: - * pace/grp.h: - * pace/limits.h: - * pace/locale.h: - * pace/mqueue.h: - * pace/netdb.h: - * pace/pthread.h: - * pace/pwd.h: - * pace/sched.h: - * pace/semaphore.h: - * pace/setjmp.h: - * pace/signal.h: - * pace/stdio.h: - * pace/stdlib.h: - * pace/string.h: - * pace/strings.h: - * pace/thread.h: - * pace/time.h: - * pace/unistd.h: - * pace/utime.h: - * pace/wait.h: - - Inserted #include "pace/config/defines.h". - - * pace/config/defines.h: - - Removed from pace/ dir and placed in config dir. - -Tue Jun 20 14:53:12 2000 Luther J Baker - - * pace/defines.h: - - This file needs to be included first! It was calling #including - itself from the posix directory but was doing so off of macros - that itself defined. - -Mon Jun 19 05:03:53 2000 Luther J Baker - - * pace/posix/ctype.h - * pace/posix/ctype.inl - * pace/posix/math.h - * pace/posix/math.inl - - Correct functions added and implemented. _POSIX_C_LANG_SUPPORT. - -Mon Jun 19 04:34:34 2000 Luther J Baker - - * pace/sys/mman.h: - * pace/sys/socket.h: - * pace/sys/stat.h: - * pace/sys/termios.h: - * pace/sys/times.h: - * pace/sys/types.h: - * pace/sys/utsname.h: - * pace/netinet/in.h: - * pace/arpa/inet.h: - * pace/aio.h: - * pace/assert.h: - * pace/defines.h: - * pace/dirent.h: - * pace/fnctl.h: - * pace/grp.h: - * pace/limits.h: - * pace/locale.h: - * pace/mqueue.h: - * pace/netdb.h: - * pace/pthread.h: - * pace/pwd.h: - * pace/sched.h: - * pace/semaphore.h: - * pace/setjmp.h: - * pace/signal.h: - * pace/stdio.h: - * pace/stdlib.h: - * pace/string.h: - * pace/strings.h: - * pace/thread.h: - * pace/time.h: - * pace/unistd.h: - * pace/utime.h: - * pace/wait.h: - - Altered these files #ifdef macro to PACE_FILE_H_INDIRECT so that the - implementation pace/posix/*.h files didn't conflict with the preprocessor - name space. - - Fully qualified all the includes in these files from #include "posix/file.h" - to #include "pace/posix/file.h" - -Mon Jun 19 03:57:37 2000 Luther J Baker - - * pace/ctype.h: - * pace/posix/ctype.h: - * pace/posix/ctype.inl: - * pace/posix/ctype.c: - - * pace/math.h: - * pace/posix/math.h: - * pace/posix/math.inl: - * pace/posix/math.c: - - Added to repository. - -Sat Jun 17 17:24:47 2000 Luther J Baker - - * pace/sys/mman.h: - * pace/sys/socket.h: - * pace/sys/stat.h: - * pace/sys/termios.h: - * pace/sys/times.h: - * pace/sys/types.h: - * pace/sys/utsname.h: - * pace/netinet/in.h: - * pace/arpa/inet.h: - - Altered these "root" files to include the correct - subdirectory/file. - -Sat Jun 17 16:46:39 2000 Luther J Baker - - * pace/aio.h: - * pace/assert.h: - * pace/defines.h: - * pace/dirent.h: - * pace/fnctl.h: - * pace/grp.h: - * pace/limits.h: - * pace/locale.h: - * pace/mqueue.h: - * pace/netdb.h: - * pace/pthread.h: - * pace/pwd.h: - * pace/sched.h: - * pace/semaphore.h: - * pace/setjmp.h: - * pace/signal.h: - * pace/stdio.h: - * pace/stdlib.h: - * pace/string.h: - * pace/strings.h: - * pace/thread.h: - * pace/time.h: - * pace/unistd.h: - * pace/utime.h: - * pace/wait.h: - - Altered these "root" files to include the correct - subdirectory/file. - -Fri Jun 16 17:47:59 2000 Luther J Baker - - * pace/pace/config/features.h - - Added to the repository to isolate user defined features. - (ie: PACE_HAS_INLINE) - - * pace/pace/config/compiler.h - - Added *hack* to cover PACE_INLINE to static, inline - or (blank) expansion depending on the compiler. - - * pace/pace/config/platform.h - * pace/pace/config/config.h - * pace/pace/config/utility.h - - Cleaned up source. - - * pace/pace/common/README - * pace/pace/common - - Removed from the repository. Not used for anything. - - * pace/pace/*.h - - Started adding code to include the correct directory - here, but there seems to be a better way... :-) We will - wait and see. Do away with these .h files and simply - go to the correct directory via the makefile. - -Fri Jun 16 16:15:25 2000 Joe Hoffert - - * pace/Makefile: - Added POSIX Units of Functionality targets for libraries. - - * pace/{assert,locale}.h: - * pace/posix/{assert,locale}.{h,inl,c}: - Added new POSIX APIs for assert and setlocale. - - * pace/posix/stdio.{h,inl}: - Added needed POSIX APIs. - - * pace/config/{compile,temp}.h: - Redefined PACE_UNUSED_ARG and moved from temp.h to compile.h. - - * pace/posix/aio.inl: - Made some formatting changes. - -Fri Jun 16 16:05:52 2000 Joe Hoffert - - * tests/{Makefile,Stdio_Test,Posix_SP_Test.c}: - Updated the tests to more informational and adding uname -s - information for some different platforms. - -Fri Jun 16 14:11:44 2000 Luther J Baker - - * pace/posix/*.h - - Added all .h files to posix directory. The implementation - specific .h files are simply lumped together into one large - directory while the original interface files are still - found in the similarly names sunos directory. - - SunOS dirs (sys, netinet, arpa) ==> PACE implementation dir - - - - - - - - - - (pace/pace/sys/types.h ==> pace/pace/posix/types.h) - (pace/pace/unistd.h ==> pace/pace/posix/unistd.h) - -Thu Jun 15 13:49:14 2000 Luther J Baker - - * pace/config/defaults.h - - Removed superfluous defaults originally copied - from ACE_OS. - -Mon Jun 12 17:23:59 2000 Luther J Baker - - * pace/config/constants.h: - - Added POSIX minimum values in PACE format. - - * pace/config/platform.h (PACE_LINUX): - - Removed ACE code that shouldn't be included in PACE files. - Deprecated macro that did not follow our current pattern. - Added PACE_LINUX macro. - -Mon Jun 12 15:41:51 2000 Luther J Baker - - * pace/config/compiler.h: - - Deprecated PACE_HAS_CPLUSPLUS. - Current PACE_CPLUSPLUS - - We will save the 'HAS' for user defined feature macros. - Anytime we are renaming a current macro, we will just - prepend PACE_'xxx'. See the next ChangeLog entry. The - same motivation applies. Once I change the source code - to reflect this idea, I will remove the deprecated - macro names. - - Moved error stuff from 'codes.h' to compiler. - - * pace/config/codes.h" - - Removed from repository. - - * pace/defines.h: - - Removed #include "codes.h" from repository. - -Fri Jun 9 14:05:25 2000 Luther J Baker - - * pace/config/compiler.h: - * pace/config/config.h: - - Moved PACE_HAS_INLINE from compiler.h to config.h. - - Deprecated macros. Left in but I will removed the - deprecated macros once I change the code to use the - current macros. - -Fri Jun 9 13:02:26 2000 Luther J Baker - - * pace/*.h pace/posix/*.inl,c - - See config/types.h from previous ChangeLog. All these - types are altered in the source code. (ie: pthread_t - became pace_pthread_t). - - perl -pi -e `s/pid_t/pace_pid_t/` *.h posix/*.inl posix/*.c - -Fri Jun 9 12:20:23 2000 Luther J Baker - - * pace/config/types.h: - - These are posix types in pace wrappers. - They are macro definitions. The actual types are not - available until the appropriate file is included. - Thus, I didn't put them into pace/sys/types.h. - - * pace/pace/defines.h - - Added pace/config/types.h. - -Thu Jun 8 15:10:24 2000 Joe Hoffert - - * pace/tests/{Makefile,Posix_SP_Test.c}: - Added new test for POSIX_SINGLE_PROCESS unit of functionality - and updated Makefile for changes to the PACE library directory - structure. - -Thu Jun 8 15:10:24 2000 Joe Hoffert - - * pace/pace/*.h: - * pace/pace/arpa/*.h: - * pace/pace/netinet/*.h: - * pace/pace/sys/*.h: - Modifying .h files to remove any path in front of .inl files. - - * pace/pace/posix/*.c: - Modifying .c files to remove any path in front of .inl files. - - * pace/pace/posix/time.inl - Changed PACE_SETERNNO to PACE_SET_ERRNO - -Thu Jun 8 15:03:42 2000 Joe Hoffert - - * pace/pace/Makefile: - Added support for PACE_SYSNAME to determine appropriate platform - subdirectory for VPATH and INCLDIRS. - -Thu Jun 8 14:44:39 2000 Luther J Baker - - * ../pace/linux/README - * ../pace/linux - * ../pace/sunos/README - * ../pace/sunos - * ../pace/emulation - - Removed from reposistory. - - * ../pace/linux/TODO - - Moved to ../pace/posix/TODO - - * ../pace/pace.dsw - - Moved to ../pace/win32/pace.dsw. - Hi Darrell. This takes all traces of win32 stuff out of - the main dir and although its slightly different than - ace or tao, we are using our directories a little - differently here. Nanbor thought that is might be ok so - I will try it here until it breaks? or someone has good - reason to move it back. - -Thu Jun 8 12:09:56 2000 Joe Hoffert - - * pace/pace/sunos/*.{c,inl}: - Removed files and put them in the posix subdirectory. - * pace/pace/linux/*.{c,inl}: - Removed files and put them in the posix subdirectory. - * pace/pace/posix/*.{c,inl}: - Added files from the linux/sunos subdirectories. (The files - were identical from both directories aside from the $Id$ macro, - i.e., the person who checked them in.) - -Wed Jun 7 12:27:13 2000 Joe Hoffert - - * Makefile: - Added Makefile for upper level pace directory. - * pace/Makefile: - Changed Makefile to fit in with the general makefile scheme in - ACE and TAO. - * config/compiler.h: - Defined PACE_HAS_INLINE even for C files so that the functions - will be directly added with the .h file. - * tests/{Makefile,Stdio_Test.c,Posix_SP_Test.c}: - Adding Makefile and tests to the tests directory. - -Mon Jun 5 17:43:07 2000 Luther J Baker - - * docs/todo.txt: - - Updated. You may go here to find current - responsibilities. - -Mon Jun 5 17:22:23 2000 Luther J Baker - - * pace/paces.dsp - * pace/pacesd.dsp - - Removed from the repository. - These files are generated (ie: paces.lib), - not project files. - -Mon Jun 5 17:19:30 2000 Luther J Baker - - * pace/THANKS: - - Added John Heitmann, Andrew Gilpin and Darrell Brunsch. - Note: names and email addresses are nicely accesible - from this alphabetical file. - -Mon Jun 5 17:04:36 2000 Andrew G. Gilpin - - * [inl,c] - - Commited files to the repository in pace/linux - - * aio, dirent, fcntl, grp, in, inet, mman, mqueue, - netdb, pthread, pwd, sched, semaphore, setjmp, - signal, socket, stat, stdio, stdlib, string, - strings, termios, time, times, unistd, utime, - utsname, wait - -Mon Jun 5 16:47:32 2000 Luther J Baker - - * [inl,c] - - Moved files from root directory to pace/sunos. - - * aio, dirent, fcntl, grp, in, inet, mman, mqueue, - netdb, pthread, pwd, sched, semaphore, setjmp, - signal, socket, stat, stdio, stdlib, string, - strings, termios, time, times, unistd, utime, - utsname, wait - -Mon Jun 5 15:23:53 2000 Luther J Baker - - * /pace/linux - * /pace/linux/README - - Added to repository. - - * /pace/emulation - * /pace/emulation/README - - Removed from repository. - -Fri Jun 02 16:55:10 2000 - - * ACE_wrappers/pace/pace/paces.dsp - * ACE_wrappers/pace/pace/pacesd.dsp - - Added to repository. Naming consistency with other - ACE libraries. Also removed pre-compiled header - option as well as separate directories for debug - and release versions of software. - - * ACE_wrappers/pace/pace/pace_lib.dsp - - Removed from repository. Naming consistency. - -Thu Jun 1 17:41:04 2000 Luther J Baker - - * ACE_wrappers/pace/pace/emulation - * ACE_wrappers/pace/pace/common - * ACE_wrappers/pace/pace/emulation/README - * ACE_wrappers/pace/pace/common/README - - Added to repository. - - -Thu Jun 1 17:18:17 2000 Luther J Baker - - * pace/config/config_sunos5.7.h: - Removed from repository. - - * ACE_wrappers/pace/pace/posix/README - * ACE_wrappers/pace/pace/win32/README - * ACE_wrappers/pace/pace/vxworks/README - - Added to repository to keep the directories visible. - - -Thu Jun 01 16:50:48 2000 - - * ACE_wrappers/pace/pace/pace.dsw - * ACE_wrappers/pace/pace/pace_lib.dsp - - Added to the repository. - -Tue May 30 16:54:06 2000 Luther J Baker - - * THANKS: - Added key people to this file. - -Tue May 30 14:13:00 2000 Luther J Baker - - * ACE_wrappers/pace/pace/posix - * ACE_wrappers/pace/pace/win32 - * ACE_wrappers/pace/pace/vxworks - * ACE_wrappers/pace/THANKS - - Added to the repository to facilitate cross-platform work. - -Wed May 24 18:56:16 2000 Darrell Brunsch - - * docs/ACE_Integration.txt: (added) - - For the PACE crew, a file used to document our progress in - splitting of ACE_OS and the PACE integration. - -Wed May 24 14:40:41 2000 Luther J Baker - - * README/VERSION: - Added to repository. - -Tue May 23 18:22:48 2000 Luther J Baker - - * pace/pace/Makefile: - Added to repository. - - * 'touch' to force dirs to show up with cvs co -P - pace/docs/README - pace/examples/README - pace/pace/README - pace/pace++/README - pace/tests/README - -Tue May 23 17:59:06 2000 Luther J Baker - - * docs/todo.txt: - Currently, all .o files appear in the - ACE_wrappers/pace/pace directory (e.g.: nested - files such as pace/pace/sys/socket.c generate - pace/pace/socket.o. See pace/docs/todo.txt. - - * ACE_wrappers/pace/pace: - Source files added. diff --git a/PACE/Makefile b/PACE/Makefile deleted file mode 100644 index 88088fe2333..00000000000 --- a/PACE/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for the PACE directory -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef PACE_ROOT - PACE_ROOT = $(ACE_ROOT)/PACE -endif # ! PACE_ROOT - -INFO = README - -DIRS = pace \ - tests - -# Add these DIRS later - keep it simple for now -# pace++ \ -# examples - -# Makefiles TBD: -# ttcp -# CORBA - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -ifdef CHORUS -DIRS = - all clean realclean: - @echo PACE won\'t run or build for Chorus. -else -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU -endif # VXWORKS diff --git a/PACE/Makefile.am b/PACE/Makefile.am deleted file mode 100644 index 4980da4cb5c..00000000000 --- a/PACE/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Top-level Makefile for the PACE toolkit libraries, tests, and -## applications -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 #check-news - -SUBDIRS = \ - pace \ - tests - -DESTDIRS = \ - docs \ - examples \ - pace++ - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations diff --git a/PACE/README b/PACE/README deleted file mode 100644 index cc361881310..00000000000 --- a/PACE/README +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ - -Copyright (c) 2000 Center for Distributed Object Computing, -Washington University, St. Louis, Missouri, USA. - -This is POSIX ACE (PACE). It is based on ACE, the Adaptive -Communications Environment, developed by Doug Schmidt and the -Distributed Object Computing Group at Washington University and the -University of California, Irvine. Please see the ACE copyright -notice, available at -http://www.cs.wustl.edu/~schmidt/ACE_wrappers/COPYING. - -PACE is intended for lightweight and/or verified systems. It offers -these benefits: - -* A strict POSIX.1-like, low-level interface. Its interface is "POSIX - compatible"; by that we mean as close to POSIX.1 as it can be, given - that PACE is not an operating system. And, to avoid name conflicts - with OS APIs, all low-level PACE function names have the pace_ - prefix. - -* The low-level interface is partitioned into multiple files, one - per POSIX.1 section. - -* The low-level interface is written in C, so that it can be used in - both C and C++ programs. - -* PACE (on most platforms) does not require the use of multiple - inheritance, static objects, exception handling, or other C++ - language constructs that impair code size and/or run-time performance. - - -PACE also insulates applications from the personalities of operating -systems. For example: - -* SunOS 5.7's intro (3) man page states that _POSIX_PTHREAD_SEMANTICS - and _REENTRANT flags are automatically turned on by defining - _POSIX_C_SOURCE flag with a value greater than or equal to 199506L. - However, that doesn't appear to happen, so PACE does it. - -* On LynxOS 3.1.0 and Compaq Tru64, several POSIX functions prototypes - are missing const qualifiers. PACE provides the proper function - prototypes (and its implementation casts as necessary for - compatibility). - -* LynxOS 3.1.0 has a non-POSIX signal () interface; the handler function - prototype is not void (*) (int). PACE adapts its interface to the - POSIX standard interface. - diff --git a/PACE/THANKS b/PACE/THANKS deleted file mode 100644 index 4331a4dd69d..00000000000 --- a/PACE/THANKS +++ /dev/null @@ -1,18 +0,0 @@ -ACKNOWLEDGEMENTS - -Baker, Luther -Brunsch, Darrell -Gilpin, Andrew -Guallar, Gonzalo Diethelm -Heitmann, John -Hoffert, Joe -Levine, David -Loftis, Bjorn -Syyid, Umar - -Taylor, Braeton -Watney, Garth - -Thanks, - - The PACE Development Team diff --git a/PACE/VERSION b/PACE/VERSION deleted file mode 100644 index 3543e990cd5..00000000000 --- a/PACE/VERSION +++ /dev/null @@ -1,5 +0,0 @@ -This is PACE version 1.2. - -PACE is developed by the Center for Distributed Object Computing, -Department of Computer Science, Washington University, St. Louis, -Missouri, USA. diff --git a/PACE/docs/ACE_Integration.txt b/PACE/docs/ACE_Integration.txt deleted file mode 100644 index 8265485564e..00000000000 --- a/PACE/docs/ACE_Integration.txt +++ /dev/null @@ -1,17 +0,0 @@ -$Id$ -These are the plans for splitting up ACE_OS and their status for both being -split up and being PACE enabled. - -Finished: ---------- -OS_Dirent -OS_String - -Planned: --------- -OS_Stdio -OS_Memory -OS_Process -OS_Synch -OS_Socket -OS_QoS diff --git a/PACE/docs/README b/PACE/docs/README deleted file mode 100644 index 055c8729cdc..00000000000 --- a/PACE/docs/README +++ /dev/null @@ -1 +0,0 @@ -$Id$ diff --git a/PACE/docs/www/Introduction/begin.html b/PACE/docs/www/Introduction/begin.html deleted file mode 100644 index cbcb1a75914..00000000000 --- a/PACE/docs/www/Introduction/begin.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - PACE: Begin - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

In the beginning...

- -

Dr. David Levine had the initial idea for PACE. - ACE+TAO were part of Boeing DII COE project of 2001. - While reviewing the needs for the project and - realizing that ACE_OS (ACE' own adaptation layer) - was quite large and full of potentially avoidable - dependencies, David across the idea that several - POSIX compliant platforms could be encapsulated - into one standard interface, a POSIX interface.

- -

This would potentially allow ACE_OS to port to - a POSIX API, separated from ACE_OS, which would - then port correctly between the minor POSIX - variant operating systems which ACE supported.

- -

This idea quickly developed into the broader - concept that the POSIX interface library could - actually replace the ACE_OS layer in the feature - laden ACE framework library and has since grown - or will grow to include platforms such as Win32 - and VXWorks (which lack true POSIX compliance).

- -

As you can see, this creates a benefit for ACE, - namely, PosixACE (PACE) becomes a formal starting - point to begin reducing the complexity and - interdependence problems that had creeped into - ACE over the past 5 years.

- -
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:17 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/build.html b/PACE/docs/www/Introduction/build.html deleted file mode 100644 index 1a5322315f6..00000000000 --- a/PACE/docs/www/Introduction/build.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - PACE: Build - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

Building

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:08 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/change.html b/PACE/docs/www/Introduction/change.html deleted file mode 100644 index 510cfb7298e..00000000000 --- a/PACE/docs/www/Introduction/change.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - PACE: Changing - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

Changing

-

Content here :-)

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:23 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/phases.html b/PACE/docs/www/Introduction/phases.html deleted file mode 100644 index d857ecb94db..00000000000 --- a/PACE/docs/www/Introduction/phases.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - PACE: Phases - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

Phases...

-

Content here :-)

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:29 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/porting.html b/PACE/docs/www/Introduction/porting.html deleted file mode 100644 index 3cd3e07a26d..00000000000 --- a/PACE/docs/www/Introduction/porting.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - PACE: Porting - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

Porting

-
    -
  • SunOS

  • -
  • LynxOS

  • -
  • Win32

  • -
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:33 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/struct.html b/PACE/docs/www/Introduction/struct.html deleted file mode 100644 index e2dec21a619..00000000000 --- a/PACE/docs/www/Introduction/struct.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - PACE: Struct - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

Structure

-

Pictures of the directory structure here...

- -

Configuration

-
    -
  • There is currently no Autoconf support for - PACE.
  • -
  • PACE is currently included in the ACE+TAO - distribution and upon getting the latest copy - of ACE+TAO, can be found at
    -ACE_wrappers/PACE.
    -
  • -
  • Configuration directory:
    -ACE_wrappers/PACE/config
    -
  • -
- -
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:39 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/team.html b/PACE/docs/www/Introduction/team.html deleted file mode 100644 index cbadf1f1533..00000000000 --- a/PACE/docs/www/Introduction/team.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - PACE: Team - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

The Team...

-

Dr. Levine initially enlisted the help of Luther - Baker, Joe Hoffert, John Heitmann and Chris Gill - to help with the PACE effort. -

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:45 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/Introduction/using.html b/PACE/docs/www/Introduction/using.html deleted file mode 100644 index f8eb5ee58db..00000000000 --- a/PACE/docs/www/Introduction/using.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - PACE: Using - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Begin - -

-
- - - - - - - - - - - - - -
Beginning...The TeamPhasesStructure
BuildingUsingChangingPorting
-
-

- - Click-Me-To-Begin - -

-
-
-
-

Under Construction!!

-

Using

-

Content here :-)

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:47:51 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/PACE-abstract.html b/PACE/docs/www/PACE-abstract.html deleted file mode 100644 index 0d87438704b..00000000000 --- a/PACE/docs/www/PACE-abstract.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - PACE Overview - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Go-Home -

-
- - - - - - -
PACE OverviewPACE ObtainPACE Documentation
-
-

- - Click-Me-To-Go-Home - -

-
-
-
- -

PACE Abstract

- -

PACE is a POSIX compliant middleware library that was - written to allow developers to use one common programming - API to access POSIX semantics across multiple, different - operating systems, some of which are not currently POSIX - compliant. -

- -

PACE is part of the open source ACE+TAO library/framework - and its implementation was initiated in response to the RT - DII COE project at BOEING that specifically targeted - operating systems NT4 SP6, LynxOS 3.1.0a and SunOS 5.8. - The RT DII COE project wants to build a Mission Application - Independent programming framework described as an - architecture, an approach, a collection of reusable software, - a software infrastructure and a set of guidelines and - standards. The proposed framework consists of three layers: - the kernel, the data exchange layer and common Support - Applications. -

- -

Such an ideal framework demands a strong, robust - infrastructure and as such, ACE+TAO was chosen to be part - of this project. ACE is the TAO developers API, essentially - making TAO platform independent (or dependent on which platform - ACE is ported to). As such, ACE provides very high level - abstractions and key pattern techniques but handles different - platforms, especially non-POSIX platforms, on a case-by-case - basis (Win32 and VXWorks are two good examples). -

- -

PACE was born to abstract support for current and additional - non-POSIX platforms away from ACE, thus, becoming an API for - ACE developers to write to. Initial PACE support was limited - to the previously mentioned DII COE platforms. Funding is now - available to PACE to more of the platforms ACE supports, - potentially encapsulating all of the platforms ACE currently - supports. This will help separate the concerns of the current - ACE+TAO framework so that: -

- -
    -
  • (PACE = low level, operating system middleware)
  • -
  • (ACE = high level, pattern oriented abstraction API)
  • -
  • (TAO = open source ORB)
  • -
- -

In addition to presenting some of the PACE code, I intend to - discuss some of the pitfalls of porting middleware and how we - overcame them in our current work on PACE as well as how they - should be addressed as PACE continues to grow. -

- -
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:45:22 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/PACE-car.html b/PACE/docs/www/PACE-car.html deleted file mode 100644 index b33baa006db..00000000000 --- a/PACE/docs/www/PACE-car.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - PACE Car - - - - - - - -
- back-to-PACE-page - -
- - - -

- - -Last modified: Sun May 13 14:45:30 CDT 2001 - -

- - - diff --git a/PACE/docs/www/PACE-docs.html b/PACE/docs/www/PACE-docs.html deleted file mode 100644 index 96340a10c4c..00000000000 --- a/PACE/docs/www/PACE-docs.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - PACE Overview - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Go-Home - -

-
- - - - - - -
PACE OverviewPACE ObtainPACE Documentation
-
-

- - Click-Me-To-Go-Home - -

-
-
-
-

PACE Documentation

-

-

-

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:45:39 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/PACE-obtain.html b/PACE/docs/www/PACE-obtain.html deleted file mode 100644 index a21ea02d262..00000000000 --- a/PACE/docs/www/PACE-obtain.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - PACE Overview - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Go-Home - -

-
- - - - - - -
PACE OverviewPACE ObtainPACE Documentation
-
-

- - Click-Me-To-Go-Home - -

-
-
-
-

PACE Obtain

- -

PACE is currently available as part of the ACE+TAO - distribution found at -

-

- -

As such, the installation instructions are also found - found on the ACE+TAO distribution web-site -

-

- -

For a other PACE details, (essential PACE design strategy, - HOW-TO to use PACE) etc... please goto -

-

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:45:48 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/PACE-overview.html b/PACE/docs/www/PACE-overview.html deleted file mode 100644 index 33c8398400b..00000000000 --- a/PACE/docs/www/PACE-overview.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - PACE Overview - - - - - - - - - - - - - - - - - -

- - - - - - -
-

- - Click-Me-To-Go-Home - -

-
- - - - - - -
PACE OverviewPACE ObtainPACE Documentation
-
-

- - Click-Me-To-Go-Home - -

-
-
-
-

PACE Overview

-

PACE is an OS abstraction layer designed for lightweight - and/or verified systems.

- -

It offers these benefits:

-
    -
  • -

    A strict POSIX.1-like, low-level interface. Its - interface is "POSIX compatible"; by that we mean as - close to POSIX.1 as it can be, given that PACE is not - an operating system. And, to avoid name conflicts with - OS APIs, all low-level PACE function names have - the pace_ prefix. -

    -
  • -

    The low-level interface is a C file, so that it can be - used in both C and C++ programs. -

    -
  • -

    The low-level interface is partitioned into multiple - files, one per POSIX.1 section. -

    -
  • -
- -
- -

ACE uses PACE

-

The ADAPTIVE Communication Environment - (ACE) - is a freely available, open-source, object-oriented - (OO) - framework that implements many core design patterns for - concurrent communication software. -

- -

ACE is currently built on an - - OS Adaptation Layer that abstracts away specific - computer architecture / platform dependencies therfore - allowing ACE to be portable across any platform that the - adaptation layer supports. -

- -

ACE also forms the foundation upon which - TAO - is built. The combination of implementing TAO (adding - specific functionality to ACE) and the ever shifting sands - of vendor-specific operating systems has grown the ACE - adapatation layer from a small core of critial functions to - over 30,000 lines of interdependent code. The development of - TAO tied in with requests from our sponsors as well as - suggestions from the development community at large - contributed to our decision to re-engineer ACE' adaptation - layer. PACE is one part of this effort. -

- -
- -

PACE Objectives

-

Some objectives of this phase of ACE' development (PACE) - include: -

-
    -
  • -

    ACE Developers: Make the low level abstraction - layer code more maintainable.
    - (reduce file size and file interdependence - improve - code modularity) -

    -
  • -
  • -

    ACE Users: Reduce ACE' footprint.
    - (this is not a one-step task by any stretch of the - imagination, but we will begin breaking out the code - into separate files - allowing developers the - opportunity option to compile and link specific - object files to their executables instead of the - entire ACE adaptation layer library) -

    -
  • -
  • -

    ACE Users: Update the adaptation layer to be - POSIX compliant.
    - (see next) -

    -
  • -
  • -

    ACE Users: Split the adaptation layer to support - both a C API (PACE) as well as a set of - C++ wrapper classes (ACE_OS) allowing - both C & C++ developers to call - directly into the low level API.
    - (encapslate POSIX and system calls in C - wrappers and re-write the (ACE_OS) adaptation layer to - transparently call into the POSIX emulation API - (PACE)) -

    -
  • -
  • -

    ACE Users: ACE will not change its public - interface, it will only add low level C - operations to its repertoire. As is obvious, software - built on this adaptation layer is portable across the - various platforms that ACE supports. This provides - backward compatilibity for people already using the - current C++ (ACE_OS) adaptation layer of - ACE.

    -
  • -
- -

This is an open-source project maintained by: -

-
-
-

Additional information regarding - ACE - and - PACE - and - TAO - is available as well as a - - full source distribution of TAO + ACE + PACE. -

- -

If you have any questions, suggestions or contributions - regarding PACE, please - write - to us or subscribe to the pace-users mailing list - (send email to - - majordomo@cs.wustl.edu - with "subscribe pace-users" in the body, - not the subject line ;-) -

- -
- - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:45:55 CDT 2001 - -

-
- - - diff --git a/PACE/docs/www/PACE.html b/PACE/docs/www/PACE.html deleted file mode 100644 index f4105c86a85..00000000000 --- a/PACE/docs/www/PACE.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - PACE Front Door - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

DOC Group
- Washington University
- St. Louis, Missouri

-
- - Wash-U-DOC-Center - - -

DOC Group
- University of California
- Irvine, California

-
- POSIX
Adaptation
Layer
(PACE
- - (TM) - ) -
- - Click-Me-Cool - - A
POSIX
Middleware
Toolkit
-
- -
-

- o - - PACE Overview

-
-

- o - - PACE Obtain

-
-

- o - - PACE Docs

-
-

- o - - PACE Copyright

-
-
-
-
-

- o - Zen Overview - o

-
-

- o - - ACE Overview - o

-
-

- o - - TAO Overview - o

-
-

- o - Java ACE & - JAWS - o

-
-
-
-
-

- - PACE Team Members - o

-
-

- - Who is using PACE? - o

-
-

- - PACE Mailing List - o

-
-

- - PACE Sponsors - o

-
-
-
- - - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:46:04 CDT 2001 - -

- - - diff --git a/PACE/docs/www/Pix/PACE-mini-logo.gif b/PACE/docs/www/Pix/PACE-mini-logo.gif deleted file mode 100644 index e8ad069612e..00000000000 Binary files a/PACE/docs/www/Pix/PACE-mini-logo.gif and /dev/null differ diff --git a/PACE/docs/www/Pix/PACE-red-blue-logo.gif b/PACE/docs/www/Pix/PACE-red-blue-logo.gif deleted file mode 100644 index ac6deaacdab..00000000000 Binary files a/PACE/docs/www/Pix/PACE-red-blue-logo.gif and /dev/null differ diff --git a/PACE/docs/www/Pix/PACE-red-blue-smaller.gif b/PACE/docs/www/Pix/PACE-red-blue-smaller.gif deleted file mode 100644 index 4065a7a55fd..00000000000 Binary files a/PACE/docs/www/Pix/PACE-red-blue-smaller.gif and /dev/null differ diff --git a/PACE/docs/www/Pix/ace-tmp.jpg b/PACE/docs/www/Pix/ace-tmp.jpg deleted file mode 100644 index 883e1b924d3..00000000000 Binary files a/PACE/docs/www/Pix/ace-tmp.jpg and /dev/null differ diff --git a/PACE/docs/www/Pix/doc-logo.jpg b/PACE/docs/www/Pix/doc-logo.jpg deleted file mode 100644 index 1d5dcd1c403..00000000000 Binary files a/PACE/docs/www/Pix/doc-logo.jpg and /dev/null differ diff --git a/PACE/docs/www/Pix/heli-1.jpg b/PACE/docs/www/Pix/heli-1.jpg deleted file mode 100644 index 678c7675f82..00000000000 Binary files a/PACE/docs/www/Pix/heli-1.jpg and /dev/null differ diff --git a/PACE/docs/www/Pix/pace-car1.jpg b/PACE/docs/www/Pix/pace-car1.jpg deleted file mode 100644 index 7e0500cb329..00000000000 Binary files a/PACE/docs/www/Pix/pace-car1.jpg and /dev/null differ diff --git a/PACE/docs/www/Pix/pace-car2.jpg b/PACE/docs/www/Pix/pace-car2.jpg deleted file mode 100644 index 23eadce61c3..00000000000 Binary files a/PACE/docs/www/Pix/pace-car2.jpg and /dev/null differ diff --git a/PACE/docs/www/Pix/pace-car3.jpg b/PACE/docs/www/Pix/pace-car3.jpg deleted file mode 100644 index 8551fcf7b8e..00000000000 Binary files a/PACE/docs/www/Pix/pace-car3.jpg and /dev/null differ diff --git a/PACE/docs/www/Pix/redball.gif b/PACE/docs/www/Pix/redball.gif deleted file mode 100644 index 41b0daed865..00000000000 Binary files a/PACE/docs/www/Pix/redball.gif and /dev/null differ diff --git a/PACE/docs/www/Pix/stealth.jpg b/PACE/docs/www/Pix/stealth.jpg deleted file mode 100644 index d93907fe06a..00000000000 Binary files a/PACE/docs/www/Pix/stealth.jpg and /dev/null differ diff --git a/PACE/docs/www/index.html b/PACE/docs/www/index.html deleted file mode 100755 index f4105c86a85..00000000000 --- a/PACE/docs/www/index.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - PACE Front Door - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

DOC Group
- Washington University
- St. Louis, Missouri

-
- - Wash-U-DOC-Center - - -

DOC Group
- University of California
- Irvine, California

-
- POSIX
Adaptation
Layer
(PACE
- - (TM) - ) -
- - Click-Me-Cool - - A
POSIX
Middleware
Toolkit
-
- -
-

- o - - PACE Overview

-
-

- o - - PACE Obtain

-
-

- o - - PACE Docs

-
-

- o - - PACE Copyright

-
-
-
-
-

- o - Zen Overview - o

-
-

- o - - ACE Overview - o

-
-

- o - - TAO Overview - o

-
-

- o - Java ACE & - JAWS - o

-
-
-
-
-

- - PACE Team Members - o

-
-

- - Who is using PACE? - o

-
-

- - PACE Mailing List - o

-
-

- - PACE Sponsors - o

-
-
-
- - - - -

- Doc Group

- - -

- - -Last modified: Sun May 13 14:46:04 CDT 2001 - -

- - - diff --git a/PACE/examples/README b/PACE/examples/README deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/PACE/include/makeinclude/rules.common.GNU b/PACE/include/makeinclude/rules.common.GNU deleted file mode 100644 index 464d476ea79..00000000000 --- a/PACE/include/makeinclude/rules.common.GNU +++ /dev/null @@ -1,121 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Common rules for building PACE targets -#---------------------------------------------------------------------------- - -ifndef PACE_ROOT - PACE_ROOT = $(ACE_ROOT)/PACE -endif # ! PACE_ROOT - -VPATH+=config:sys - -ifeq ($(PACE_SYSNAME),) - PACE_SYSNAME = $(shell uname -s) -endif # ! PACE_SYSNAME - -ifeq ($(PACE_SYSVER),) - PACE_SYSVER = $(shell uname -r) -endif # ! PACE_SYSVER - -ifeq ($(PACE_SYSNAME),Linux) - PACE_SYSVER := $(shell echo $(PACE_SYSVER) | \ - perl -ne 'printf "%lu\n", hex sprintf "%02X%02X%02x", split /\./') -else - PACE_SYSVER := $(shell echo $(PACE_SYSVER) | sed 's/\.//g') -endif # PACE_SYSNAME == Linux - -# List of platforms and uname -s values -# ===================================== -# Solaris SunOS -# NT "NT" (uname not supported) -# LynxOS LynxOS -# VxWorks "VxWorks" (strictly cross-compiled) -# Linux Linux -# pSOS "pSOS" (strictly cross-compiled) -# Chorus "Chorus" (strictly cross-compiled) -# QNX Neutrino "Neutrino" (strictly cross-compiled) -# OSF/1 OSF1 -# IRIX (64 bit) IRIX64 -# IRIX (32 bit) IRIX (unconfirmed) -# HPUX HP-UX -# AIX AIX - -ifeq ($(PACE_SYSNAME),SunOS) - # Hard code special cases for SunOS 5.6, 5.7, and 5.8 since - # we need a 3 digit version number for comparison purposes. - ifeq ($(PACE_SYSVER),58) - PACE_SYSVER := $(PACE_SYSVER)0 - endif # PACE_SYSVER == 58 - ifeq ($(PACE_SYSVER),57) - PACE_SYSVER := $(PACE_SYSVER)0 - endif # PACE_SYSVER == 57 - ifeq ($(PACE_SYSVER),56) - PACE_SYSVER := $(PACE_SYSVER)0 - endif # PACE_SYSVER == 56 - VPATH :=.:posix:$(VPATH) - CFLAGS += -DPACE_SUNOS=$(PACE_SYSVER) -D_REENTRANT - ifeq ($(threads),1) - CFLAGS += -D_POSIX_PTHREAD_SEMANTICS - endif # ! ($(threads),0) -endif - -ifeq ($(PACE_SYSNAME),NT) - VPATH :=.:win32:$(VPATH) - CFLAGS += -DPACE_WIN32=$(PACE_SYSVER) -endif - -ifeq ($(PACE_SYSNAME),LynxOS) - VPATH :=.:posix:$(VPATH) - CFLAGS += -DPACE_LYNXOS=$(PACE_SYSVER) - ifeq ($(PACE_SYSVER),0x300) - CFLAGS += -D_POSIX_THREADS_CALLS - endif # ($(PACE_SYSVER),0x300) -endif - -ifeq ($(PACE_SYSNAME),OSF1) - VPATH :=.:posix:$(VPATH) - CFLAGS += -DPACE_OSF1=$(PACE_SYSVER) -D_DEC_XPG -endif - -ifeq ($(PACE_SYSNAME),VxWorks) - VPATH :=.:vxworks:$(VPATH) - CFLAGS += -DPACE_VXWORKS=$(PACE_SYSVER) -endif - -ifeq ($(PACE_SYSNAME),Linux) - VPATH :=.:posix:$(VPATH) - emulation=1 - CFLAGS += -DPACE_LINUX=$(PACE_SYSVER) -endif - -ifeq ($(PACE_SYSNAME),AIX) - VPATH := .:posix:$(VPATH) - CFLAGS += -DPACE_HAS_POSIX -D_REENTRANT -endif - -ifeq ($(PACE_SYSNAME),HP-UX) - VPATH := .:posix:$(VPATH) - CFLAGS += -DPACE_HAS_POSIX -D_REENTRANT -endif - -ifeq ($(PACE_SYSNAME),QNX) - VPATH := .:posix:$(VPATH) - CFLAGS += -DPACE_QNX=$(PACE_SYSVER) -D_REENTRANT -endif - -ifeq ($(debug),) - ifeq (,$(findstring $(CFLAGS),$(CCFLAGS))) - CCFLAGS += -DPACE_NDEBUG - else - CFLAGS += -DPACE_NDEBUG - endif -endif # debug - -ifeq ($(pace_tracing),1) - ifeq (,$(findstring $(CFLAGS),$(CCFLAGS))) - CCFLAGS += -DPACE_TRACING - else - CFLAGS += -DPACE_TRACING - endif -endif # debug diff --git a/PACE/pace++/README b/PACE/pace++/README deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/PACE/pace/Makefile b/PACE/pace/Makefile deleted file mode 100644 index c29a22d1cdc..00000000000 --- a/PACE/pace/Makefile +++ /dev/null @@ -1,498 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for the PACE/pace C library release -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIB = libPACE.a -SHLIB = libPACE.$(SOEXT) - -PACE_FILES = \ - aio \ - assert \ - ctype \ - dirent \ - fcntl \ - grp \ - locale \ - math \ - mqueue \ - pthread \ - pwd \ - sched \ - semaphore \ - setjmp \ - signal \ - stdio \ - stdlib \ - string \ - termios \ - time \ - unistd \ - utime -CONFIG_FILES = -SYS_FILES = \ - sys/mman \ - sys/socket \ - sys/stat \ - sys/times \ - sys/utsname \ - sys/wait - -# POSIX_SOCKET Unit of Functionality -# pace_accept is in sys/socket.h -# pace_bind is in sys/socket.h -# pace_connect is in sys/socket.h -# pace_getpeername is in sys/socket.h -# pace_getsockname is in sys/socket.h -# pace_getsockopt is in sys/socket.h -# pace_setsockopt is in sys/socket.h -# pace_isfdtype is in sys/socket.h -# pace_listen is in sys/socket.h -# pace_recv is in sys/socket.h -# pace_recvfrom is in sys/socket.h -# pace_rcvmsg is in sys/socket.h -# pace_send is in sys/socket.h -# pace_sendto is in sys/socket.h -# pace_sendmsg is in sys/socket.h -# pace_shutdown is in sys/socket.h -# pace_socket is in sys/socket.h -# pace_socketpair is in sys/socket.h -POSIX_SOCK_FILES = \ - sys/socket - -# POSIX_SINGLE_PROCESS Unit of Functionality (POSIX.1) -# pace_sysconf is in unistd.h; -# pace_time is in time.h; -# pace_uname is in sys/ustname.h -POSIX_SP_FILES = \ - unistd \ - time \ - sys/utsname - -# POSIX_MULTI_PROCESS Unit of Functionality (POSIX.1) -# pace__exit is in unistd.h -# pace_assert is in assert.h -# pace_execl, pace_execle, pace_execlp, pace_execv, pace_execve, pace_execvp -# are in unistd.h; -# pace_exit is in stdlib.h; -# pace_fork is in unistd.h; -# pace_getenv is in stdlib.h; -# pace_getpid, pace_getppid are in unistd.h; -# pace_setlocale is in locale.h; -# pace_sleep is in unistd.h; -# pace_times is in sys/times.h; -# pace_wait, pace_waitpid are in wait.h; -POSIX_MP_FILES = \ - unistd \ - assert \ - stdlib \ - locale \ - sys/times \ - sys/wait - -# POSIX_SIGNALS Unit of Functionality (POSIX.1) -# pace_abort is in stdlib.h; -# pace_alarm is in unistd.h; -# pace_kill is in signal.h; -# pace_pause is in unistd.h; -# pace_sigaction, pace_sigaddset, pace_sigdelset, pace_sigemptyset, -# pace_sigfillset, pace_sigismember are in signal.h; -# pace_siglongjmp is in setjmp.h; -# pace_sigpending, pace_sigprocmask are in signal.h; -# pace_sigsetjmp is in setjmp.h; -# pace_sigsuspend is in signal.h; -POSIX_SIG_FILES = \ - stdlib \ - unistd \ - signal \ - setjmp - -# POSIX_USER_GROUPS Unit of Functionality (POSIX.1) -# pace_getegid, pace_geteuid, pace_getgid, pace_getgroups, pace_getlogin, -# pace_getpgrp, pace_getuid, pace_setgid, pace_setsid, pace_setuid are in -# unistd.h; -POSIX_UG_FILES = \ - unistd - -# POSIX_FILE_SYSTEM Unit of Functionality (POSIX.1) -# pace_access, pace_chdir are in unistd.h; -# pace_closedir is in dirent.h; -# pace_creat is in fcntl.h; -# pace_fpathconf is in unistd.h; -# pace_fstat is in sys/stat.h -# pace_getcwd, pace_link are in unistd.h -# pace_mkdir is in sys/stat.h -# pace_opendir is in dirent.h; -# pace_pathconf is in unistd.h; -# pace_readdir is in dirent.h; -# pace_remove, pace_rename are in stdio.h; -# pace_rewinddir is in dirent.h; -# pace_rmdir is in unistd.h; -# pace_stat is in sys/stat.h; -# pace_tmpfile, pace_tmpnam are in stdio.h; -# pace_unlink is in unistd.h; -# pace_utime is in utime.h; -POSIX_FS_FILES = \ - unistd \ - dirent \ - fcntl \ - sys/stat \ - stdio \ - utime - -# POSIX_FILE_ATTRIBUTES Unit of Functionality (POSIX.1) -# pace_chmod is in sys/stat.h; -# pace_chown is in unistd.h; -# pace_umask is in sys/stat.h; -POSIX_FA_FILES = \ - sys/stat \ - unistd - -# POSIX_FIFO Unit of Functionality (POSIX.1) -# pace_mkfifo is in sys/stat.h; -POSIX_F_FILES = \ - sys/stat - -# POSIX_DEVICE_IO Unit of Functionality (POSIX.1) -# pace_clearerr is in stdio.h; -# pace_close is in unistd.h; -# pace_fclose, pace_fdopen, pace_feof, pace_ferror are in stdio.h; -# pace_fflush, pace_fgetc, pace_fgets, pace_fileno are in stdio.h; -# pace_fopen, pace_fprintf, pace_fputc, pace_fputs, pace_fread, pace_freopen, -# pace_fscanf, pace_fwrite, pace_getc, pace_getchar, pace_gets are in stdio.h; -# pace_open is in fcntl.h; -# pace_perror, pace_printf, pace_putc, pace_putchar, pace_puts are in stdio.h; -# pace_read is in unistd.h; -# pace_scanf is in stdio.h; -# pace_setbuf, pace_sprintf, pace_sscanf, pace_ungetc are in stdio.h; -# pace_write are in unistd.h; -POSIX_DI_FILES = \ - stdio \ - unistd \ - fcntl - -# POSIX_FD_MGMT Unit of Functionality (POSIX.1) -# pace_dup, pace_dup2 are in unistd.h; -# pace_fcntl is in fcntl.h; -# pace_fseek, pace_ftell are in stdio.h; -# pace_lseek in unistd.h; -# pace_rewind is in stdio.h; -POSIX_FM_FILES = \ - unistd \ - fcntl \ - stdio - -# POSIX_PIPE Unit of Functionality (POSIX.1) -# pace_pipe is in unistd.h; -POSIX_P_FILES = \ - unistd - -# POSIX_DEVICE_SPECIFIC Unit of Functionality (POSIX.1) -# pace_cfgetispeed, pace_cfgetospeed, pace_cfsetispeed, pace_cfsetospeed are -# in termios.h; -# pace_ctermid is in stdio.h; -# pace_isatty is in unistd.h; -# pace_tcdrain, pace_tcflow, pace_tcflush, pace_tcgetattr, pace_tcsendbreak, -# pace_tcsetattr are in termios.h; -# pace_ttyname is in unistd.h; -POSIX_DS_FILES = \ - termios \ - stdio \ - unistd - -# POSIX_SYSTEM_DATABASE Unit of Functionality (POSIX.1) -# pace_getgrgid, pace_getgrnam, pace_getpwnam, pace_getpwuid are in grp.h; -POSIX_SD_FILES = \ - grp - -# POSIX_C_LANG_SUPPORT Unit of Functionality (POSIX.1) -# Character handling functions (e.g., isalnum, toupper) are in ctype.h; -# Mathematics functions (e.g., acos, tanh) are in math.h; -# Non-local jump functions (i.e., longjmp, setjmp) are in setjmp.h; -# General utility functions (i.e., abs, srand) are in stdlib.h; -# String handling functions (i.e., strcat, strtok) are in string.h; -# Date and Time functions (i.e., asctime, tzset) are in time.h; -POSIX_CLS_FILES = \ - ctype \ - math \ - setjmp \ - stdlib \ - time - -# _POSIX_JOB_CONTROL Unit of Functionality (POSIX.1) -# pace_setpgid is in unistd.h; -# pace_tcgetpgrp, pace_tcsetpgrp are in termios.h -_POSIX_JC_FILES = \ - unistd \ - termios - -# POSIX_USER_GROUPS_R Unit of Functionality (POSIX.1) -# pace_getlogin_r is in unistd.h; -POSIX_UGR_FILES = \ - unistd - -# POSIX_FILE_LOCKING Unit of Functionality (POSIX.1) -# pace_flockfile, pace_ftrylockfile, pace_funlockfile, pace_getc_unlocked, -# pace_getchar_unlocked, pace_putc_unlocked, pace_putchar_unlocked are in -# stdio.h; -POSIX_FL_FILES = \ - stdio - -# POSIX_C_LANG_SUPPORT_R Unit of Functionality (POSIX.1) -# pace_asctime_r, pace_ctime_r, pace_gmtime_r, pace_localtime_r are in time.h; -# pace_rand_r is in stdlib.h; -# pace_strtok_r is in string.h; -# pace_readdir_r is in dirent.h; -POSIX_CLSR_FILES = \ - time \ - stdlib \ - string \ - dirent - -# POSIX_SYSTEM_DATABASE_R Unit of Functionality (POSIX.1) -# pace_getgrgid_r, pace_getgrnam_r are in grp.h; -# pace_getpwnam_r, pace_getpwuid_r are in pwd.h; -POSIX_SDR_FILES = \ - grp \ - pwd - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -INCLDIRS += -I$(PACE_ROOT) - -#### -#### Build customization. -#### -ifndef PACE_COMPONENTS - #### Do we want PACE subsets as below? If so, we need to add the - #### documentation referenced below as well. - #### Please see docs/PACE-subsets.html for documentation. ?? - PACE_COMPONENTS = \ - Pace \ - Config \ - Sys - CFLAGS += -DPACE_HAS_ALL_POSIX_FUNCS -endif # PACE_COMPONENTS - -ifeq (FOR_ACE,$(PACE_COMPONENTS)) - #### These PACE components are necessary to support ACE. - override PACE_COMPONENTS = \ - Pace \ - Config \ - Sys - CFLAGS += -DPACE_HAS_ALL_POSIX_FUNCS -else # ! FOR_ACE - #### Is there anything in PACE that ACE doesn't need? Probably not -endif # ! FOR_ACE - -#### -#### PACE_COMPONENTS support. -#### -ifneq (,$(findstring Pace,$(PACE_COMPONENTS))) - FILES += $(PACE_FILES) -endif # Pace - -ifneq (,$(findstring Config,$(PACE_COMPONENTS))) - FILES += $(CONFIG_FILES) -endif # Config - -ifneq (,$(findstring Sys,$(PACE_COMPONENTS))) - FILES += $(SYS_FILES) -endif # Sys - -ifneq (,$(findstring Posix_sp,$(PACE_COMPONENTS))) - FILES = $(POSIX_SP_FILES) - LIB = libPACE_SP.a - SHLIB = libPACE_SP.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_SP_UOF -endif # Single Process - -ifneq (,$(findstring Posix_mp,$(PACE_COMPONENTS))) - FILES = $(POSIX_MP_FILES) - LIB = libPACE_MP.a - SHLIB = libPACE_MP.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_MP_UOF -endif # Multi Process - -ifneq (,$(findstring Posix_sig,$(PACE_COMPONENTS))) - FILES = $(POSIX_SIG_FILES) - LIB = libPACE_S.a - SHLIB = libPACE_S.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_SIG_UOF -endif # Signals - -ifneq (,$(findstring Posix_usg,$(PACE_COMPONENTS))) - FILES = $(POSIX_UG_FILES) - LIB = libPACE_UG.a - SHLIB = libPACE_UG.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_UG_UOF -endif # User Groups - -ifneq (,$(findstring Posix_fs,$(PACE_COMPONENTS))) - FILES = $(POSIX_FS_FILES) - LIB = libPACE_FS.a - SHLIB = libPACE_FS.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_FS_UOF -endif # File System - -ifneq (,$(findstring Posix_fa,$(PACE_COMPONENTS))) - FILES = $(POSIX_FA_FILES) - LIB = libPACE_FA.a - SHLIB = libPACE_FA.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_FA_UOF -endif # File Attributes - -ifneq (,$(findstring Posix_fif,$(PACE_COMPONENTS))) - FILES = $(POSIX_F_FILES) - LIB = libPACE_F.a - SHLIB = libPACE_F.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_F_UOF -endif # Fifo - -ifneq (,$(findstring Posix_di,$(PACE_COMPONENTS))) - FILES = $(POSIX_DI_FILES) - LIB = libPACE_DI.a - SHLIB = libPACE_DI.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_DI_UOF -endif # Device Input/Output - -ifneq (,$(findstring Posix_fm,$(PACE_COMPONENTS))) - FILES = $(POSIX_FM_FILES) - LIB = libPACE_FM.a - SHLIB = libPACE_FM.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_FM_UOF -endif # File Descriptor Management - -ifneq (,$(findstring Posix_p,$(PACE_COMPONENTS))) - FILES = $(POSIX_P_FILES) - LIB = libPACE_P.a - SHLIB = libPACE_P.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_P_UOF -endif # Pipe - -ifneq (,$(findstring Posix_ds,$(PACE_COMPONENTS))) - FILES = $(POSIX_DS_FILES) - LIB = libPACE_DS.a - SHLIB = libPACE_DS.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_DS_UOF -endif # Device Specific - -ifneq (,$(findstring Posix_sd,$(PACE_COMPONENTS))) - FILES = $(POSIX_SD_FILES) - LIB = libPACE_SD.a - SHLIB = libPACE_SD.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_SD_UOF -endif # System Database - -ifneq (,$(findstring Posix_cls,$(PACE_COMPONENTS))) - FILES = $(POSIX_CLS_FILES) - LIB = libPACE_CLS.a - SHLIB = libPACE_CLS.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_CLS_UOF -endif # C Language Support - -ifneq (,$(findstring Posix_jc,$(PACE_COMPONENTS))) - FILES = $(_POSIX_JC_FILES) - LIB = libPACE_JC.a - SHLIB = libPACE_JC.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_JC_UOF -endif # Job Control - -ifneq (,$(findstring Posix_ugr,$(PACE_COMPONENTS))) - FILES = $(POSIX_UGR_FILES) - LIB = libPACE_UGR.a - SHLIB = libPACE_UGR.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_UGR_UOF -endif # User Groups - Reentrant - -ifneq (,$(findstring Posix_fl,$(PACE_COMPONENTS))) - FILES = $(POSIX_FL_FILES) - LIB = libPACE_FL.a - SHLIB = libPACE_FL.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_FL_UOF -endif # File Locking - -ifneq (,$(findstring Posix_clr,$(PACE_COMPONENTS))) - FILES = $(POSIX_CLSR_FILES) - LIB = libPACE_CLSR.a - SHLIB = libPACE_CLSR.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_CLSR_UOF -endif # C Language Support - Reentrant - -ifneq (,$(findstring Posix_sr,$(PACE_COMPONENTS))) - FILES = $(POSIX_SDR_FILES) - LIB = libPACE_SDR.a - SHLIB = libPACE_SDR.$(SOEXT) - CFLAGS += -DPACE_HAS_POSIX_SDR_UOF -endif # System Database - Reentrant - -LSRC = $(addsuffix .cpp,$(FILES)) - -BUILD += PACE_COMPONENTS - -#### Setting PACELIB to null allows it to be used for building shared -#### libraries, including libPACE.$(SOEXT,) on certain platforms. -PACELIB = - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -#### Disable installs in this ($(ACE_ROOT)/pace/pace) directory, because this -#### is the (default) destination of installs anyways. This line prevents -#### creation of a link from the PACE library to itself when the build of -#### the PACE library fails. -INSTALL = -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef PACE_ROOT - PACE_ROOT = $(ACE_ROOT)/PACE -endif # ! PACE_ROOT - -include $(PACE_ROOT)/include/makeinclude/rules.common.GNU - -ifndef static_libs_only - ifndef shared_libs_only - static_libs_only = 1 - endif # ! shared_libs_only -endif # ! static_libs_only - -# If we are inlining the PACE functions then we need to define -# PACE_HAS_INLINE. Inlining is the default. -ifndef inline - CFLAGS += -DPACE_HAS_INLINE -endif # ! inline - -ifeq (1,$(inline)) - CFLAGS += -DPACE_HAS_INLINE -endif # inline - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -.PHONY: PACE_COMPONENTS -PACE_COMPONENTS: - @sh $(ACE_ROOT)/bin/ace_components --pace --set ' $(PACE_COMPONENTS) ' - -realclean: - @sh $(ACE_ROOT)/bin/ace_components --pace --remove - -# AIX template compilation speedup hack -# Not added for PACE - can always be added later if needed - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - - - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/PACE/pace/Makefile.am b/PACE/pace/Makefile.am deleted file mode 100644 index 65d64169da5..00000000000 --- a/PACE/pace/Makefile.am +++ /dev/null @@ -1,64 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for the PACE C library -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -SUBDIRS = \ - @SUBDIRS@ - -DESTDIRS = \ - config \ - emulation \ - man \ - posix \ - sys \ - vxworks \ - win32 - -PACE_LIB = @PACE_LIB@ - -lib_LTLIBRARIES = libPACE.la -libPACE_la_LIBADD = $(PACE_LIB) - -pkginclude_HEADERS = \ - aio.h \ - assert.h \ - ctype.h \ - dirent.h \ - errno.h \ - fcntl.h \ - grp.h \ - limits.h \ - locale.h \ - math.h \ - mqueue.h \ - pthread.h \ - pwd.h \ - sched.h \ - semaphore.h \ - setjmp.h \ - signal.h \ - stddef.h \ - stdio.h \ - stdlib.h \ - string.h \ - termios.h \ - time.h \ - unistd.h \ - utime.h - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations diff --git a/PACE/pace/aio.h b/PACE/pace/aio.h deleted file mode 100644 index f9d8be32a3c..00000000000 --- a/PACE/pace/aio.h +++ /dev/null @@ -1,125 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/aio.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_AIO_H -#define PACE_AIO_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/aio.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/aio.h" -#elif (PACE_WIN32) -# include "pace/win32/aio.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function aio_cancel. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.7. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_cancel (PACE_HANDLE fildes, - pace_aiocb * aiocb); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function aio_error. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_error (const pace_aiocb * aiocbp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function aio_fsync. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.9. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_fsync (int op, pace_aiocb * aiocbp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function aio_read. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_read (pace_aiocb * aiocbp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function aio_return. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_return (pace_aiocb * aiocbp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function aio_suspend. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_suspend(const pace_aiocb * const list[], - int nent, - const pace_timespec * timeout); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function aio_write. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_aio_write (pace_aiocb * aiocbp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function lio_listio. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_lio_listio (int mode, - pace_aiocb * const list[], - int nent, - pace_sigevent * sig); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/aio.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/aio.inl" -# elif (PACE_WIN32) -# include "pace/win32/aio.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_AIO_H */ diff --git a/PACE/pace/assert.h b/PACE/pace/assert.h deleted file mode 100644 index 00c5dff1180..00000000000 --- a/PACE/pace/assert.h +++ /dev/null @@ -1,64 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/assert.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_ASSERT_H -#define PACE_ASSERT_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/assert.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/assert.h" -#elif (PACE_WIN32) -# include "pace/win32/assert.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX macro assert. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - - Use a macro because assert uses __FILE__ and __LINE__, which - would not be useful with an inline function. - */ - -#if (PACE_HAS_POSIX_MP_UOF) -#if defined (PACE_NDEBUG) -# define pace_assert(X) -#else /* ! PACE_NDEBUG */ -# define pace_assert(X) assert (X) -#endif /* ! PACE_NDEBUG */ -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/assert.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/assert.inl" -# elif (PACE_WIN32) -# include "pace/win32/assert.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ASSERT_H */ diff --git a/PACE/pace/config/compiler.h b/PACE/pace/config/compiler.h deleted file mode 100644 index 92e25c97a05..00000000000 --- a/PACE/pace/config/compiler.h +++ /dev/null @@ -1,69 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/config/compiler.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_COMPILER_H -#define PACE_CONFIG_COMPILER_H - -#if defined (__cplusplus) -# define PACE_HAS_CPLUSPLUS __cplusplus -# if defined (PACE_HAS_INLINE) -# define PACE_INLINE inline -# else -# define PACE_INLINE -# endif /* ! PACE_HAS_INLINE */ -#else /* ! __cplusplus */ -/* If PACE_HAS_INLINE is defined then we need the PACE functions to be - * static. Otherwise, we want PACE_INLINE to be defined as nothing. - */ -# if defined (PACE_HAS_INLINE) -# define PACE_INLINE static -# else -# define PACE_INLINE -# endif /* ! PACE_HAS_INLINE */ -#endif /* ! __cplusplus */ - -#if defined (PACE_HAS_INLINE) && defined (__GNUC__) && !(PACE_LYNXOS) -# define PACE_BROKEN_INLINE inline -#else -# define PACE_BROKEN_INLINE -#endif /* PACE_HAS_INLINE */ - -/* ============================================================================ - * Compiler Silencing macros - * - * Some compilers complain about parameters that are not used. This macro - * should keep them quiet. - * ============================================================================ - */ - -#if defined (ghs) || \ - defined (__GNUC__) || \ - defined (__hpux) || \ - defined (__sgi) || \ - defined (__DECCXX) || \ - defined (__KCC) || \ - defined (__rational__) \ - || (__USLC__) -/* Some compilers complain about "statement with no effect" with (a). - * This eliminates the warnings, and no code is generated for the null - * conditional statement. NOTE: that may only be true if -O is enabled, - * such as with GreenHills (ghs) 1.8.8. - */ -# define PACE_UNUSED_ARG(a) {if (&a) { /* null */ }} -#else /* ! ghs || __GNUC__ || ..... */ -# define PACE_UNUSED_ARG(a) (a) -#endif /* ! ghs || __GNUC__ || ..... */ - -#endif /* PACE_CONFIG_COMPILER_H */ diff --git a/PACE/pace/config/config.h b/PACE/pace/config/config.h deleted file mode 100644 index fb0d0b4c760..00000000000 --- a/PACE/pace/config/config.h +++ /dev/null @@ -1,221 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/config/config.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_CONFIG_H -#define PACE_CONFIG_CONFIG_H - -#if !defined (PACE_HAS_POSIX_C_SOURCE) -# if defined (_POSIX_C_SOURCE) -# define PACE_HAS_POSIX_C_SOURCE _POSIX_C_SOURCE -# endif /* _POSIX_C_SOURCE */ -#endif /* ! PACE_HAS_POSIX_C_SOURCE */ - -#if !defined (PACE_HAS_EXTENSIONS) -# if defined (__EXTENSIONS__) -# define PACE_HAS_EXTENSIONS __EXTENSIONS__ -# endif /* __EXTENSIONS__ */ -#endif /* ! PACE_HAS_EXTENSIONS */ - -#if !defined (PACE_HAS_REENTRANT) -# if defined (PACE_LINUX) -# ifdef __USE_POSIX -# define PACE_HAS_REENTRANT 1 -# else /* ! __USE_POSIX */ -# endif /* ! __USE_POSIX */ -# elif defined (PACE_LYNXOS) -/* LynxOS uses _POSIX_REENTRANT_FUNCTIONS, but not _REENTRANT */ -# elif defined (PACE_SUNOS) -# if defined (__EXTENSIONS__) || defined (_REENTRANT) || \ - (_POSIX_C_SOURCE - 0 >= 199506L) -# define PACE_HAS_REENTRANT 1 -# else /* ! __EXTENSIONS__ && ! _REENTRANT && _POSIX_C_SOURCE < 199506L */ -# endif /* ! __EXTENSIONS__ && ! _REENTRANT && _POSIX_C_SOURCE < 199506L */ -# else /* other POSIX */ -# define PACE_HAS_REENTRANT 1 -# endif /* other POSIX */ -#endif /* ! PACE_HAS_REENTRANT */ - - -#if !defined (PACE_HAS_POSIX_PTHREAD_SEMANTICS) -# if defined (_POSIX_PTHREAD_SEMANTICS) -# define PACE_HAS_POSIX_PTHREAD_SEMANTICS _POSIX_PTHREAD_SEMANTICS -# endif /* _POSIX_PTHREAD_SEMANTICS */ -#endif /* ! PACE_HAS_POSIX_PTHREAD_SEMANTICS */ - - -#if PACE_HAS_POSIX == PACE_LYNXOS -# define PACE_NONCONST_ARG_CAST(TYPE) (TYPE) -# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE) (TYPE) -# define PACE_AIO_SUSPEND_LIST_ARG_CAST (struct aiocb **) -# define PACE_THR_ENTRY_CAST -#elif PACE_HAS_POSIX == DIGITAL_UNIX -# define PACE_NONCONST_ARG_CAST(TYPE) (TYPE) -# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE) -# define PACE_AIO_SUSPEND_LIST_ARG_CAST (const struct aiocb **) -# define PACE_THR_ENTRY_CAST -#elif PACE_LACKS_POSIX == PACE_VXWORKS -# define PACE_NONCONST_ARG_CAST(TYPE) (TYPE) -# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE) -# define PACE_AIO_SUSPEND_LIST_ARG_CAST (const struct aiocb **) -# define PACE_THR_ENTRY_CAST(TYPE) (TYPE) -#else /* ! PACE_LYNXOS */ -# define PACE_NONCONST_ARG_CAST(TYPE) -# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE) -# define PACE_AIO_SUSPEND_LIST_ARG_CAST -# define PACE_THR_ENTRY_CAST -#endif /* ! PACE_LYNXOS */ - -/* Adding appropriate macros for the different POSIX units of - functionality that PACE supports. - These macros define which POSIX functions get included when - PACE is built. The functions are grouped according to POSIX - Units of Functionality per the POSIX document ?? pp. ??. - The following macros correspond to the following POSIX - Unit of Functionality: - - PACE_HAS_POSIX_SOCK_UOF -> POSIX Socket UoF - PACE_HAS_POSIX_SP_UOF -> POSIX Single Process UoF - PACE_HAS_POSIX_MP_UOF -> POSIX Multiple Process UoF - PACE_HAS_POSIX_SIG_UOF -> POSIX Signals UoF - PACE_HAS_POSIX_UG_UOF -> POSIX User Groups UoF - PACE_HAS_POSIX_FS_UOF -> POSIX File System UoF - PACE_HAS_POSIX_FA_UOF -> POSIX File Attributes UoF - PACE_HAS_POSIX_F_UOF -> POSIX FIFO UoF - PACE_HAS_POSIX_DI_UOF -> POSIX Device I/O UoF - PACE_HAS_POSIX_FM_UOF -> POSIX File Descriptor Management UoF - PACE_HAS_POSIX_P_UOF -> POSIX Pipe UoF - PACE_HAS_POSIX_DS_UOF -> POSIX Device Specific UoF - PACE_HAS_POSIX_SD_UOF -> POSIX System Database UoF - PACE_HAS_POSIX_CLS_UOF -> POSIX C Language Support UoF - PACE_HAS_POSIX_JC_UOF -> POSIX Job Control UoF - PACE_HAS_POSIX_UGR_UOF -> POSIX User Groups (Reentrant) UoF - PACE_HAS_POSIX_FL_UOF -> POSIX File Locking UoF - PACE_HAS_POSIX_CLSR_UOF -> POSIX C Language Support (Reentrant) UoF - PACE_HAS_POSIX_SDR_UOF -> POSIX System Database (Reentrant) UoF - PACE_HAS_POSIX_NONUOF_FUNCS -> Any POSIX function in PACE that is not in - one of the above units of functionality. - */ -#if PACE_HAS_ALL_POSIX_FUNCS -# define PACE_HAS_POSIX_UOF 1 -# define PACE_HAS_POSIX_SP_UOF 1 -# define PACE_HAS_POSIX_MP_UOF 1 -# define PACE_HAS_POSIX_SIG_UOF 1 -# define PACE_HAS_POSIX_UG_UOF 1 -# define PACE_HAS_POSIX_FS_UOF 1 -# define PACE_HAS_POSIX_FA_UOF 1 -# define PACE_HAS_POSIX_F_UOF 1 -# define PACE_HAS_POSIX_DI_UOF 1 -# define PACE_HAS_POSIX_FM_UOF 1 -# define PACE_HAS_POSIX_P_UOF 1 -# define PACE_HAS_POSIX_DS_UOF 1 -# define PACE_HAS_POSIX_SD_UOF 1 -# define PACE_HAS_POSIX_CLS_UOF 1 -# define PACE_HAS_POSIX_JC_UOF 1 -# define PACE_HAS_POSIX_UGR_UOF 1 -# define PACE_HAS_POSIX_FL_UOF 1 -# define PACE_HAS_POSIX_CLSR_UOF 1 -# define PACE_HAS_POSIX_SDR_UOF 1 -# define PACE_HAS_POSIX_NONUOF_FUNCS 1 -#else -# if !defined PACE_HAS_POSIX_SOCK_UOF -# define PACE_HAS_POSIX_SOCK_UOF 0 -# endif /* ! PACE_HAS_POSIX_SOCK_UOF */ -# if !defined PACE_HAS_POSIX_SP_UOF -# define PACE_HAS_POSIX_SP_UOF 0 -# endif /* ! PACE_HAS_POSIX_SP_UOF */ -# if !defined PACE_HAS_POSIX_MP_UOF -# define PACE_HAS_POSIX_MP_UOF 0 -# endif /* ! PACE_HAS_POSIX_MP_UOF */ -# if !defined PACE_HAS_POSIX_SIG_UOF -# define PACE_HAS_POSIX_SIG_UOF 0 -# endif /* ! PACE_HAS_POSIX_SIG_UOF */ -# if !defined PACE_HAS_POSIX_UG_UOF -# define PACE_HAS_POSIX_UG_UOF 0 -# endif /* ! PACE_HAS_POSIX_UG_UOF */ -# if !defined PACE_HAS_POSIX_FS_UOF -# define PACE_HAS_POSIX_FS_UOF 0 -# endif /* ! PACE_HAS_POSIX_FS_UOF */ -# if !defined PACE_HAS_POSIX_FA_UOF -# define PACE_HAS_POSIX_FA_UOF 0 -# endif /* ! PACE_HAS_POSIX_FA_UOF */ -# if !defined PACE_HAS_POSIX_F_UOF -# define PACE_HAS_POSIX_F_UOF 0 -# endif /* ! PACE_HAS_POSIX_F_UOF */ -# if !defined PACE_HAS_POSIX_DI_UOF -# define PACE_HAS_POSIX_DI_UOF 0 -# endif /* ! PACE_HAS_POSIX_DI_UOF */ -# if !defined PACE_HAS_POSIX_FM_UOF -# define PACE_HAS_POSIX_FM_UOF 0 -# endif /* ! PACE_HAS_POSIX_FM_UOF */ -# if !defined PACE_HAS_POSIX_P_UOF -# define PACE_HAS_POSIX_P_UOF 0 -# endif /* ! PACE_HAS_POSIX_P_UOF */ -# if !defined PACE_HAS_POSIX_DS_UOF -# define PACE_HAS_POSIX_DS_UOF 0 -# endif /* ! PACE_HAS_POSIX_DS_UOF */ -# if !defined PACE_HAS_POSIX_SD_UOF -# define PACE_HAS_POSIX_SD_UOF 0 -# endif /* ! PACE_HAS_POSIX_SD_UOF */ -# if !defined PACE_HAS_POSIX_CLS_UOF -# define PACE_HAS_POSIX_CLS_UOF 0 -# endif /* ! PACE_HAS_POSIX_CLS_UOF */ -# if !defined PACE_HAS_POSIX_JC_UOF -# define PACE_HAS_POSIX_JC_UOF 0 -# endif /* ! PACE_HAS_POSIX_JC_UOF */ -# if !defined PACE_HAS_POSIX_UGR_UOF -# define PACE_HAS_POSIX_UGR_UOF 0 -# endif /* ! PACE_HAS_POSIX_UGR_UOF */ -# if !defined PACE_HAS_POSIX_FL_UOF -# define PACE_HAS_POSIX_FL_UOF 0 -# endif /* ! PACE_HAS_POSIX_FL_UOF */ -# if !defined PACE_HAS_POSIX_CLSR_UOF -# define PACE_HAS_POSIX_CLSR_UOF 0 -# endif /* ! PACE_HAS_POSIX_CLSR_UOF */ -# if !defined PACE_HAS_POSIX_SDR_UOF -# define PACE_HAS_POSIX_SDR_UOF 0 -# endif /* ! PACE_HAS_POSIX_SDR_UOF */ -# if !defined PACE_HAS_POSIX_NONUOF_FUNCS -# define PACE_HAS_POSIX_NONUOF_FUNCS 0 -# endif /* ! PACE_HAS_POSIX_NONUOF_FUNCS */ -#endif /* PACE_HAS_ALL_POSIX_FUNCS */ - -#if (PACE_WIN32) - -# if defined (PACE_AS_STATIC_LIBS) -# if !defined (PACE_HAS_DLL) -# define PACE_HAS_DLL 0 -# endif /* ! PACE_HAS_DLL */ -# else -# if !defined (PACE_HAS_DLL) -# define PACE_HAS_DLL 1 -# endif /* ! PACE_HAS_DLL */ -# endif /* PACE_AS_STATIC_LIBS */ - -#define PACE_Proper_Export_Flag __declspec (dllexport) -#define PACE_Proper_Import_Flag __declspec (dllimport) - -#endif /* PACE_WIN32 */ - -#if defined (PACE_HAS_DLL) && (PACE_HAS_DLL == 1) -# if defined (PACE_BUILD_DLL) -# define PACE_Export PACE_Proper_Export_Flag -# else /* PACE_BUILD_DLL */ -# define PACE_Export PACE_Proper_Import_Flag -# endif /* PACE_BUILD_DLL */ -#else /* PACE_HAS_DLL != 1 */ -# define PACE_Export -#endif /* PACE_HAS_DLL != 1 */ - -#endif /* PACE_CONFIG_CONFIG_H */ diff --git a/PACE/pace/config/constants.h b/PACE/pace/config/constants.h deleted file mode 100644 index 885fc104987..00000000000 --- a/PACE/pace/config/constants.h +++ /dev/null @@ -1,244 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * constants.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_CONSTANTS_H -#define PACE_CONFIG_CONSTANTS_H - -#define PACE_ONE_SECOND_IN_MSECS 1000L -#define PACE_ONE_SECOND_IN_USECS 1000000L -#define PACE_ONE_SECOND_IN_NSECS 1000000000L - -/* ============================================================================ - * Posix minimum values - * ============================================================================ */ - -/* The number of I/O operations that can be specified in a list I/O call. */ -# if defined (_POSIX_AIO_LISTIO_MAX) -# define PACE_POSIX_AIO_LISTIO_MAX _POSIX_AIO_LISTIO_MAX -# endif - -/* The number of outstanding asynchronous I/O operations. */ -# if defined (_POSIX_AIO_MAX) -# define PACE_POSIX_AIO_MAX _POSIX_AIO_MAX -# endif - -/* The length of the arguments for one of the exec functions, in bytes, - * excluding environment data. */ -# if defined (_POSIX_ARG_MAX) -# define PACE_POSIX_ARG_MAX _POSIX_ARG_MAX -# endif - -/* The number of simultaneous processes per real user ID. */ -# if defined (_POSIX_CHILD_MAX) -# define PACE_POSIX_CHILD_MAX _POSIX_CHILD_MAX -# endif - -/* The number of timer expiration overruns. */ -# if defined (_POSIX_DELAYTIMER_MAX) -# define PACE_POSIX_DELAYTIMER_MAX _POSIX_DELAYTIMER_MAX -# endif - -/* The value of a file's link count. */ -# if defined (_POSIX_LINK_MAX) -# define PACE_POSIX_LINK_MAX _POSIX_LINK_MAX -# endif - -/* The size of the storage required for a login name, in bytes, - * including the terminating NULL. */ -# if defined (_POSIX_LOGIN_NAME_MAX) -# define PACE_POSIX_LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX -# endif - -/* The number of bytes in a terminal canonical input queue. */ -# if defined (_POSIX_MAX_CANON) -# define PACE_POSIX_MAX_CANON _POSIX_MAX_CANON -# endif - -/* The number of bytes for which space will be available in a - * terminal input queue. */ -# if defined (_POSIX_MAX_INPUT) -# define PACE_POSIX_MAX_INPUT _POSIX_MAX_INPUT -# endif - -/* The number of message queues that can be open for a single - * process. */ -# if defined (_POSIX_MQ_OPEN_MAX) -# define PACE_POSIX_MQ_OPEN_MAX _POSIX_MQ_OPEN_MAX -# endif - -/* The maximum number of message priorities supported by the - * implementation. */ -# if defined (_POSIX_MQ_PRIO_MAX) -# define PACE_POSIX_MQ_PRIO_MAX _POSIX_MQ_PRIO_MAX -# endif - -/* The number of bytes in a filename. */ -# if defined (_POSIX_NAME_MAX) -# define PACE_POSIX_NAME_MAX _POSIX_NAME_MAX -# endif - -/* The number of simultaneous supplementary group IDs per process. */ -# if defined (_POSIX_NGROUPS_MAX) -# define PACE_POSIX_NGROUPS_MAX _POSIX_NGROUPS_MAX -# endif - -/* The number of files that one process can have open at one time. */ -# if defined (_POSIX_OPEN_MAX) -# define PACE_POSIX_OPEN_MAX _POSIX_OPEN_MAX -# endif - -/* The number of bytes in a pathname. */ -# if defined (_POSIX_PATH_MAX) -# define PACE_POSIX_PATH_MAX _POSIX_PATH_MAX -# endif - -/* The number of bytes that can be written atomically when writing - * to a pipe. */ -# if defined (_POSIX_PIPE_BUF) -# define PACE_POSIX_PIPE_BUF _POSIX_PIPE_BUF -# endif - -/* The number of realtime signal numbers reserved for application use. */ -# if defined (_POSIX_RTSIG_MAX) -# define PACE_POSIX_RTSIG_MAX _POSIX_RTSIG_MAX -# endif - -/* The number of semaphores that a process may have. */ -# if defined (_POSIX_SEM_NSEMS_MAX) -# define PACE_POSIX_SEM_NSEMS_MAX _POSIX_SEM_NSEMS_MAX -# endif - -/* The maximum value a semaphore may have. */ -# if defined (_POSIX_SEM_VALUE_MAX) -# define PACE_POSIX_SEM_VALUE_MAX _POSIX_SEM_VALUE_MAX -# endif - -/* The number of queued signals that a process may send and have pending - * at the receiver(s) at any time. */ -# if defined (_POSIX_SIGQUEUE_MAX) -# define PACE_POSIX_SIGQUEUE_MAX _POSIX_SIGQUEUE_MAX -# endif - -/* The value that can be stored in an object of type ssize_t. */ -# if defined (_POSIX_SSIZE_MAX) -# define PACE_POSIX_SSIZE_MAX _POSIX_SSIZE_MAX -# endif - -/* The number of streams that one process can have open at one time. */ -# if defined (_POSIX_STREAM_MAX) -# define PACE_POSIX_STREAM_MAX _POSIX_STREAM_MAX -# endif - -/* The number of attempts made to destroy the thread-specific data - * values of a thread on thread exit. */ -# if defined (_POSIX_THREAD_DESTRUCTOR_ITERATIONS) -# define PACE_POSIX_THREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTORITERATIONS -# endif - -/* The number of data keys per process. */ -# if defined (_POSIX_THREAD_KEYS_MAX) -# define PACE_POSIX_THREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX -# endif - -/* The number of threads per process. */ -# if defined (_POSIX_THREAD_THREADS_MAX) -# define PACE_POSIX_THREAD_THREADS_MAX _POSIX_THREAD_THREADS_MAX -# endif - -/* The size of the storage required for a terminal device name, in bytes, - * including the terminating NULL. */ -# if defined (_POSIX_TTY_NAME_MAX) -# define PACE_POSIX_TTY_NAME_MAX _POSIX_TTY_NAME_MAX -# endif - -/* The per-process number of times. */ -# if defined (_POSIX_TIMER_MAX) -# define PACE_POSIX_TIMER_MAX _POSIX_TIMER_MAX -# endif - -/* The maximum number of bytes supported for the name of a time zone - * (not of the TZ variable). */ -# if defined (_POSIX_TZNAME_MAX) -# define PACE_POSIX_TZNAME_MAX _POSIX_TZNAME_MAX -# endif - - -/* ============================================================================ - * Temporary MACROS. Correct them later. - * ============================================================================ */ - -#include "pace/sys/types.h" - -/* Tracing */ -# define PACE_DEBUG(X) -# define PACE_LM_DEBUG PACE_stderr -# define PACE_BEGIN_DUMP -# define PACE_END_DUMP - -/* Identification for PACE.h */ -# define PACE_RCSID(X,Y,Z) - -/* Hooks */ -/* Dummy values */ -# define PACE_ALLOC_HOOK_DECLARE int declare_hook -# define PACE_ALLOC_HOOK_DEFINE(X) - -/* Signals / ioctl / fcntl - dummy values */ -# define PACE_SIGURG 1 -# define PACE_NONBLOCK 2 -# define PACE_CLOEXEC 3 - -/* Flags */ -/* Will not be a macro, dummy values */ -# define PACE_set_flags(X,Y) 1 -# define PACE_clr_flags(X,Y) 1 - -/* Log Error */ -# define PACE_ERROR(X) - -/* Host Entries */ -# if defined (PACE_HAS_STRUCT_NETDB_DATA) -typedef char PACE_HOSTENT_DATA[sizeof(struct hostent_data)]; -typedef char PACE_SERVENT_DATA[sizeof(struct servent_data)]; -typedef char PACE_PROTOENT_DATA[sizeof(struct protoent_data)]; -# else -# if !defined PACE_HOSTENT_DATA_SIZE -# define PACE_HOSTENT_DATA_SIZE (4*1024) -# endif /* PACE_HOSTENT_DATA_SIZE */ -# if !defined PACE_SERVENT_DATA_SIZE -# define PACE_SERVENT_DATA_SIZE (4*1024) -# endif /*PACE_SERVENT_DATA_SIZE */ -# if !defined PACE_PROTOENT_DATA_SIZE -# define PACE_PROTOENT_DATA_SIZE (2*1024) -# endif /*PACE_PROTOENT_DATA_SIZE */ -typedef char PACE_HOSTENT_DATA[PACE_HOSTENT_DATA_SIZE]; -typedef char PACE_SERVENT_DATA[PACE_SERVENT_DATA_SIZE]; -typedef char PACE_PROTOENT_DATA[PACE_PROTOENT_DATA_SIZE]; -# endif /* PACE_HAS_STRUCT_NETDB_DATA */ - -/* PACE_HAS_SIN_LEN */ - -/* PACE_FREE */ -/* adjust later to use macros to decide how to free */ -# define PACE_FREE(X,Y) \ -X Y - -# define AF_ANY -1 - -/* PACE CATCHALL */ -/* FIONREAD is used in PACE_SOCK_IO::recvv */ -/* PACE_HAS_ALLOCA is used in PACE_SOCK_IO::recvv */ - -#endif /* PACE_CONFIG_CONSTANTS_H */ diff --git a/PACE/pace/config/defaults.h b/PACE/pace/config/defaults.h deleted file mode 100644 index deadb92b071..00000000000 --- a/PACE/pace/config/defaults.h +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * defaults.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - - -#ifndef PACE_CONFIG_DEFAULTS_H -#define PACE_CONFIG_DEFAULTS_H - - -/* Define the default constants for PACE. Many of these are used for - * the PACE tests and applications. You can change these values by - * defining the macros in your config.h file. */ - - -#endif /* PACE_CONFIG_DEFAULTS_H */ diff --git a/PACE/pace/config/defines.h b/PACE/pace/config/defines.h deleted file mode 100644 index 0aabf77f21c..00000000000 --- a/PACE/pace/config/defines.h +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/config/defines.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_DEFINES_H -#define PACE_CONFIG_DEFINES_H - -#include "pace/config/platform.h" -#include "pace/config/config.h" -#include "pace/config/compiler.h" -#include "pace/config/constants.h" -#include "pace/config/defaults.h" -#include "pace/config/utility.h" -#include "pace/config/features.h" - -#endif /* PACE_CONFIG_DEFINES_H */ diff --git a/PACE/pace/config/features.h b/PACE/pace/config/features.h deleted file mode 100644 index 14ea1e86607..00000000000 --- a/PACE/pace/config/features.h +++ /dev/null @@ -1,49 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/config/features.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_FEATURES_H -#define PACE_CONFIG_FEATURES_H - -/* Features: Can be customized by the developer. */ - -#if defined (WIN32) - -/* If using win32 .. define PACE_HAS_MFC to 1, if you want ACE to use - * CWinThread. This should be defined, if your application uses MFC. - * Setting applies to : building PACE - * Runtime restrictions: MFC DLLs must be installed - * Additonal notes : If both PACE_HAS_MFC and PACE_MT_SAFE are - * defined, the MFC DLL (not the static lib) - * will be used from ACE. */ -# if !defined (PACE_HAS_MFC) -# define PACE_HAS_MFC 0 -# endif /* PACE_HAS_MFC */ - -/* Turn off the following define if you want to disable threading. - * Compile using multi-thread libraries. - * Setting applies to : building PACE, linking with PACE - * Runtime restrictions: multithreaded runtime DLL must be installed. */ -# if !defined (PACE_MT_SAFE) -# define PACE_MT_SAFE 1 -# endif /* PACE_MT_SAFE */ - -/* Turn on multithreading. */ -# if !defined (_MT) -# define _MT -# endif /* _MT */ - -#endif /* WIN32 */ - -#endif /* PACE_CONFIG_FEATURES_H */ diff --git a/PACE/pace/config/platform.h b/PACE/pace/config/platform.h deleted file mode 100644 index 4dde03ea27a..00000000000 --- a/PACE/pace/config/platform.h +++ /dev/null @@ -1,86 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/config/platform.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_PLATFORM_H -#define PACE_CONFIG_PLATFORM_H - -/* Be careful not to define these macros 2x. */ -/* IE: makefile or other config file. */ -/* This could create compiler warnings. */ - -/* These platforms are POSIX compliant. */ - -#if defined (PACE_LINUX) -# define PACE_HAS_POSIX PACE_LINUX -# define PACE_LYNXOS 0 -# define PACE_SUNOS 0 -# define PACE_VXWORKS 0 -# define PACE_WIN32 0 -#elif defined (PACE_LYNXOS) -# define PACE_HAS_POSIX PACE_LYNXOS -# define PACE_LINUX 0 -# define PACE_SUNOS 0 -# define PACE_VXWORKS 0 -# define PACE_WIN32 0 -#elif defined (PACE_OSF1) -# define PACE_HAS_POSIX DIGITAL_UNIX -# define PACE_LINUX 0 -# define PACE_LYNXOS 0 -# define PACE_VXWORKS 0 -# define PACE_WIN32 0 -#elif defined (PACE_SUNOS) -# define PACE_HAS_POSIX PACE_SUNOS -# define PACE_LINUX 0 -# define PACE_LYNXOS 0 -# define PACE_VXWORKS 0 -# define PACE_WIN32 0 -#elif defined (PACE_QNX) -# define PACE_HAS_POSIX PACE_QNX -# define PACE_LINUX 0 -# define PACE_SUNOS 0 -# define PACE_LYNXOS 0 -# define PACE_VXWORKS 0 -# define PACE_WIN32 0 - -/* These platforms are NOT POSIX compliant. */ - -/* This is really kludgy but not sure what else to do at this point. - It appears that if PACE_HAS_POSIX is not defined (i.e., no #define - at all of any kind) and the same goes for PACE_VXWORKS then in - pace/config/config.h #if PACE_HAS_POSIX == PACE_LYNXOS will evaluate - to true. I am assuming both get default values of 0. - - PACE_WIN32 should be defined as 0 though because pace/config/utility.h - checks it. - */ - -#elif defined (PACE_VXWORKS) -# define PACE_LACKS_POSIX PACE_VXWORKS -# define PACE_LINUX -1 -# define PACE_LYNXOS -1 -# define PACE_SUNOS -1 -# define PACE_WIN32 0 -/* Doesn't use the makefile! */ -#elif defined (WIN32) -# undef PACE_WIN32 -# define PACE_WIN32 2000 -# define PACE_LACKS_POSIX PACE_WIN32 -# define PACE_LINUX 0 -# define PACE_LYNXOS 0 -# define PACE_SUNOS 0 -# define PACE_VXWORKS 0 -#endif - -#endif /* PACE_CONFIG_PLATFORM_H */ diff --git a/PACE/pace/config/utility.h b/PACE/pace/config/utility.h deleted file mode 100644 index 79b13e4755f..00000000000 --- a/PACE/pace/config/utility.h +++ /dev/null @@ -1,118 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/config/utility.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CONFIG_UTILITY_H -#define PACE_CONFIG_UTILITY_H - -/* ---------------------------------------------------------------------- - * error control - * ---------------------------------------------------------------------- */ - -#if defined (PACE_TRACING) && PACE_TRACING == 1 -# include -#endif - -#include "pace/errno.h" - -# define PACE_ERRNO_NO_SUPPORT_RETURN(FAILVALUE) \ -return ( (errno = ENOTSUP), FAILVALUE) - -# define PACE_ERRNO_NO_SUPPORT() errno=ENOTSUP - -/* ---------------------------------------------------------------------- - A couple useful inline functions for checking whether bits are - enabled or disabled. - * ---------------------------------------------------------------------- */ - -# define PACE_POW(X) (((X) == 0)?1:(X-=1,X|=X>>1,X|=X>>2,X|=X>>4,X|=X>>8,X|=X>>16,(++X))) -# define PACE_EVEN(NUM) (((NUM) & 1) == 0) -# define PACE_ODD(NUM) (((NUM) & 1) == 1) -# define PACE_BIT_ENABLED(WORD, BIT) (((WORD) & (BIT)) != 0) -# define PACE_BIT_DISABLED(WORD, BIT) (((WORD) & (BIT)) == 0) -# define PACE_BIT_CMP_MASK(WORD, BIT, MASK) (((WORD) & (BIT)) == MASK) -# define PACE_SET_BITS(WORD, BITS) (WORD |= (BITS)) -# define PACE_CLR_BITS(WORD, BITS) (WORD &= ~(BITS)) - -/* Turn a number into a string. */ -# define PACE_ITOA(X) #X - -/* Create a string of a server address with a "host:port" format. */ -# define PACE_SERVER_ADDRESS(H,P) H":"P - -/* ---------------------------------------------------------------------- - Specific for (PACE_WIN32) - * ---------------------------------------------------------------------- */ - -#if (PACE_WIN32) - -#include - -/* Perform a mapping of Win32 error numbers into POSIX errnos. */ -# define PACE_FAIL_RETURN(RESULT) do { \ - switch (GetLastError ()) { \ - case ERROR_NOT_ENOUGH_MEMORY: errno = ENOMEM; break; \ - case ERROR_FILE_EXISTS: errno = EEXIST; break; \ - case ERROR_SHARING_VIOLATION: errno = EACCES; break; \ - case ERROR_PATH_NOT_FOUND: errno = ENOENT; break; \ - } \ - return RESULT; } while (0) - -/* The "null" device on Win32. */ -# define PACE_DEV_NULL "nul" - -/* Define the pathname separator characters for Win32 (ugh). */ -# define PACE_DIRECTORY_SEPARATOR_STR "\\" -# define PACE_DIRECTORY_SEPARATOR_CHAR '\\' -# define PACE_LD_SEARCH_PATH "PATH" -# define PACE_LD_SEARCH_PATH_SEPARATOR_STR ";" -# define PACE_DLL_SUFFIX ".dll" -# define PACE_DLL_PREFIX "" - -# define PACE_SYSCALL_FAILED 0xFFFFFFFF - -/* Turns "FALSE" into -1 */ -# define PACE_ADAPT_RETVAL(OP,RESULT) \ - ((RESULT = (OP)) == FALSE ? -1 : 0) - -/* If failure, sets errno before returning */ -# define PACE_WIN32CALL_RETURN(X,TYPE,FAILVALUE) \ - do { \ - TYPE pace_result_; \ - pace_result_ = (TYPE) X; \ - if (pace_result_ == FAILVALUE) \ - { \ - errno = GetLastError (); \ - } \ - return pace_result_; \ - } while (0) - -/* Casts return value. */ -# define PACE_OSCALL_RETURN(X,TYPE,FAILVALUE) \ - return (TYPE) X; - -#endif /* PACE_WIN32 */ - -/* ---------------------------------------------------------------------- - * debug tracing - * ---------------------------------------------------------------------- */ - -#if defined (PACE_TRACING) && PACE_TRACING == 1 -# define PACE_TRACE(MODULE) \ -fprintf(stderr, "PACE_TRACE %s, %d, %s\n", (MODULE), __LINE__, __FILE__) -#else -# define PACE_TRACE(MODULE) -#endif /* TRACING */ - -#endif /* PACE_CONFIG_UTILITY_H */ diff --git a/PACE/pace/ctype.h b/PACE/pace/ctype.h deleted file mode 100644 index cbca084d280..00000000000 --- a/PACE/pace/ctype.h +++ /dev/null @@ -1,164 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/ctype.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CTYPE_H -#define PACE_CTYPE_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/ctype.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/ctype.h" -#elif (PACE_WIN32) -# include "pace/win32/ctype.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function isalnum. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isalnum (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isalpha. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isalpha (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function iscntrl. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_iscntrl (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isdigit. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isdigit (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isgraph. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isgraph (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function islower. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_islower (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isprint. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isprint (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function ispunct. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_ispunct (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isspace. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isspace (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isupper. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isupper (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function isxdigit. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_isxdigit (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function tolower. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_tolower (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function toupper. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_toupper (int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/ctype.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/ctype.inl" -# elif (PACE_WIN32) -# include "pace/win32/ctype.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_CTYPE_H */ diff --git a/PACE/pace/dirent.h b/PACE/pace/dirent.h deleted file mode 100644 index 55ab381a49d..00000000000 --- a/PACE/pace/dirent.h +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/dirent.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_DIRENT_H -#define PACE_DIRENT_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/dirent.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/dirent.h" -#elif (PACE_WIN32) -# include "pace/win32/dirent.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function opendir. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.1.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE PACE_DIR * pace_opendir (const char * dirname); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function readdir. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.1.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE pace_dirent * pace_readdir (PACE_DIR * dirp); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function readdir_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.1.2. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE int pace_readdir_r (PACE_DIR * dirp, - pace_dirent * entry, - pace_dirent ** result); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function rewinddir. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.1.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE void pace_rewinddir (PACE_DIR * dirp); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function closedir. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.1.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_closedir (PACE_DIR * dirp); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/dirent.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/dirent.inl" -# elif (PACE_WIN32) -# include "pace/win32/dirent.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_DIRENT_H */ diff --git a/PACE/pace/emulation/mqueue.c b/PACE/pace/emulation/mqueue.c deleted file mode 100644 index 4e0e6912de6..00000000000 --- a/PACE/pace/emulation/mqueue.c +++ /dev/null @@ -1,570 +0,0 @@ -/* $Id$ -*- C -*- - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/emulation/mqueue.c - * - * = AUTHOR - * John Heitmann - * - * ============================================================================ */ - -#include "pace/sys/mman.h" -#include "pace/stdio.h" -#include "pace/fcntl.h" -#include "pace/string.h" -#include "pace/stdlib.h" -#include "pace/sys/types.h" -#include "pace/pthread.h" -#include "pace/sys/stat.h" -#include "pace/emulation/mqueue.h" - -typedef struct -{ - pace_mq_attr attr; - pace_size_t num_open; /* How many processes have a valid mqd_t to here */ - pace_size_t rec_wait; /* How many processes are blocked on mq_receive */ - pace_pid_t not_pid; /* Who is actually registered for notification */ - pace_sigevent notification; - pace_pthread_mutex_t mutex; - pace_pthread_cond_t cond; - pace_size_t head; - pace_size_t freelist; -} mqfile; - -typedef struct -{ - pace_size_t next; /* Index of next element */ - unsigned int priority; - pace_size_t length; -} message_header; - -static struct mq_attr pace_attrdefault = { 0, 32, 256, 0 }; -#define PACE_MQ_LOCKPOSTFIX "mqlock9587" -#define PACE_MQ_DATAPOSTFIX "mqdata2355" - -/* This remains mq_open due to the macro in pace/mqueue.h */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pace_mqd_t mq_open (const char* name, - int oflag, - pace_mode_t mode, - pace_mq_attr* attr) -{ - int m_padding = sizeof (message_header); /* How much extra space per message do we need */ - int f_padding = sizeof (mqfile); /* How much fixed padding is needed */ - int mflags, mprot; - int fd; - int i; - pace_size_t mapsize; - char* mmaploc; - char* new_name; - char* lock_name; - int create_mmap = 0; /* 1 if the file has never be inited */ - message_header* temp = 0; /*Used in initialization of mqueue*/ - long index; /* index into the file */ - pace_mqd_t result = (pace_mqd_t) pace_malloc (sizeof (struct mqd)); - pace_stat_s statbuf; - -retry: - if (attr == 0) - { - attr = &pace_attrdefault; - } - else - { - if (attr->mq_maxmsg < 0 || attr->mq_msgsize < 0) - { - errno = EBADF; - return (pace_mqd_t)-1; - } - } - - /* Create a name that will go to /tmp with a unique name */ - new_name = (char*) malloc (256); - lock_name = (char*) malloc (256); - snprintf (new_name, 256, "/tmp%s%s", name, PACE_MQ_DATAPOSTFIX); - snprintf (lock_name, 256, "/tmp%s%s", name, PACE_MQ_LOCKPOSTFIX); - - /* Fix alignment */ - if (attr->mq_msgsize % sizeof (long) != 0) - { - attr->mq_msgsize += 8 - (attr->mq_msgsize % sizeof (long)); - } - - if (oflag & PACE_O_CREAT) - { - /* We need to protect access without the help of O_RDONLY in the fs */ - fd = pace_open (new_name, PACE_O_RDWR | PACE_O_CREAT | PACE_O_EXCL, mode); - - if (fd == -1 && errno != EEXIST) - { - /* An error other than EEXIST has occurred. */ - return (pace_mqd_t)-1; - } - else if (fd != -1) - { - /* If a new file was created successfully */ - create_mmap = 1; - } - else if (oflag & PACE_O_EXCL) - { - /* If the file exists and we don't want it */ - errno = EEXIST; - return (pace_mqd_t)-1; - } - else - { - /* We want the existing file */ - fd = pace_open (new_name, PACE_O_RDWR); - if (fd == -1 && errno == ENOENT) - { - /* Something odd is going on */ - goto retry; - } - else if (fd == -1) - { - return (pace_mqd_t)-1; - } - } - } - else - { - fd = pace_open (new_name, PACE_O_RDWR); - if (fd == -1) - { - return (pace_mqd_t)-1; - } - } - - /* - The following loop makes shure that we haven't entered a race condition. If a file - has been created but not initialized, its IXUSR will not be set (see above). - */ - while (create_mmap == 0) - { - if (stat (lock_name, &statbuf) == -1) - { - close (fd); - if (errno == ENOENT && (oflag & O_CREAT)) - { - goto retry; - } - return (pace_mqd_t)-1; - } - else - { - break; - } - } - - mapsize = f_padding + (attr->mq_msgsize + m_padding) * (attr->mq_maxmsg); - mprot = PACE_PROT_READ | PACE_PROT_WRITE; - mflags = PACE_MAP_SHARED; - - if (create_mmap) - { - /* Create and 0 out the file */ - if (pace_lseek (fd, mapsize, PACE_SEEK_SET) == -1) - { - pace_unlink (new_name); - return (pace_mqd_t)-1; - } - if (pace_write (fd, "", 1) != 1) - { - pace_unlink (new_name); - return (pace_mqd_t)-1; - } - - mmaploc = (char*) pace_mmap (0, mapsize, mprot, mflags, fd, 0); - pace_close (fd); - if (mmaploc == MAP_FAILED) - { - pace_unlink (new_name); - return (pace_mqd_t)-1; - } - - pace_memset (mmaploc, 0, mapsize); - - if ((errno = pace_pthread_mutex_init (&(((mqfile*)mmaploc)->mutex), 0)) != 0) - { - pace_unlink (new_name); - pace_munmap (mmaploc, mapsize); - return (pace_mqd_t)-1; - } - if ((errno = pace_pthread_mutex_lock (&(((mqfile*)mmaploc)->mutex))) != 0) - { - pace_unlink (new_name); - pace_munmap (mmaploc, mapsize); - return (pace_mqd_t)-1; - } - - if ((errno = pace_pthread_cond_init (&(((mqfile*)mmaploc)->cond), 0)) != 0) - { - pace_unlink (new_name); - pace_munmap (mmaploc, mapsize); - return (pace_mqd_t)-1; - } - - index = sizeof (mqfile); - ((mqfile*)mmaploc)->freelist = index; - ((mqfile*)mmaploc)->head = 0; - - for (i = 0; i < attr->mq_maxmsg; ++i) - { - temp = (message_header *) &mmaploc[index]; - index += sizeof (message_header) + attr->mq_msgsize; - temp->next = index; - } - temp->next = 0; - attr->mq_curmsgs = 0; - ((mqfile*)mmaploc)->attr = *attr; - - /* Create the lock file so that the file is known to be inited */ - if (pace_open (lock_name, O_CREAT | O_EXCL) == -1) - { - pace_unlink (new_name); - pace_munmap (mmaploc, mapsize); - return (pace_mqd_t)-1; - } - - } - else - { - /* Just open the existing map */ - mmaploc = (char*) pace_mmap (0, mapsize, mprot, mflags, fd, 0); - if (mmaploc == MAP_FAILED) - { - return (pace_mqd_t)-1; - } - pace_close (fd); - - /* ???? Test here for race */ - - if (pace_pthread_mutex_lock (&(((mqfile*)mmaploc)->mutex)) == -1) - { - pace_munmap (mmaploc, mapsize); - return (pace_mqd_t)-1; - } - ((mqfile*)mmaploc)->attr.mq_flags = attr->mq_flags; - } - - ((mqfile*)mmaploc)->num_open++; - - - if (pace_pthread_mutex_unlock (&(((mqfile*)mmaploc)->mutex)) == -1) - { - pace_munmap (mmaploc, mapsize); - return (pace_mqd_t)-1; - } - - result->mptr = mmaploc; - result->length = mapsize; - result->oflag = oflag; - - return result; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_close (pace_mqd_t mqdes) -{ - if (pace_pthread_mutex_lock (&( ((mqfile*)mqdes->mptr)->mutex)) == -1) - { - errno = EBADF; - return -1; - } - ((mqfile*)mqdes->mptr)->num_open--; - if (pace_pthread_mutex_unlock (&(((mqfile*)mqdes->mptr)->mutex)) == -1) - { - errno = EBADF; - return -1; - } - if (munmap (mqdes->mptr, mqdes->length) == -1) - { - return -1; - } - free (mqdes); - return 0; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_unlink (const char* name) -{ - int result1, result2; - char* new_name; - new_name = (char*) malloc (256); - snprintf (new_name, 256, "/tmp%s%s", name, PACE_MQ_DATAPOSTFIX); - result1 = pace_unlink (new_name); - snprintf (new_name, 256, "/tmp%s%s", name, PACE_MQ_LOCKPOSTFIX); - result2 = pace_unlink (new_name); - free (new_name); - return (result1 == -1 || result2 == -1 ? -1 : 0); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_send (pace_mqd_t mqdes, - const char* ptr, - pace_size_t length, - unsigned int priority) -{ - mqfile* queue = ((mqfile*)mqdes->mptr); - long index, old_index; - if (mqdes->oflag & O_RDONLY) - { - /* Incorrect access priviledges */ - errno = EBADF; - return -1; - } - if (queue->attr.mq_msgsize < (int) length) - { - /* Message too long */ - errno = EMSGSIZE; - return -1; - } - if ((errno = pace_pthread_mutex_lock (&queue->mutex)) != 0) - { - return -1; - } - /* If the queue is full... */ - if (queue->attr.mq_curmsgs >= queue->attr.mq_maxmsg) - { - if (queue->attr.mq_flags & O_NONBLOCK) - { - errno = EAGAIN; - return -1; - } - while (queue->attr.mq_maxmsg <= queue->attr.mq_curmsgs) - { - pace_pthread_cond_wait (&queue->cond, &queue->mutex); - pace_printf ("Send Woke Up\n"); - } - } - - /* Fill in the fields of the header */ - ((message_header*)(&mqdes->mptr[queue->freelist]))->priority = priority; - ((message_header*)(&mqdes->mptr[queue->freelist]))->length = length; - pace_memcpy (((void*)(&mqdes->mptr[queue->freelist + sizeof (message_header)])), - ptr, length); - - /* Update the linked list */ - old_index = 0; - index = queue->head; - while (index != 0 && ((message_header*)(&mqdes->mptr[index]))->priority >= priority) - { - old_index = index; - index = ((message_header*)(&mqdes->mptr[index]))->next; - } - - /* If the msg goes at the head */ - if (old_index == 0) - { - queue->head = queue->freelist; - queue->freelist = ((message_header*)(&mqdes->mptr[queue->freelist]))->next; - ((message_header*)(&mqdes->mptr[queue->head]))->next = index; - } - else - { - ((message_header*)(&mqdes->mptr[old_index]))->next = queue->freelist; - old_index = queue->freelist; - queue->freelist = ((message_header*)(&mqdes->mptr[queue->freelist]))->next; - ((message_header*)(&mqdes->mptr[old_index]))->next = index; - } - - queue->attr.mq_curmsgs++; - - if ((errno = pace_pthread_mutex_unlock (&queue->mutex)) != 0) - { - return -1; - } - - if (queue->attr.mq_curmsgs == 1) - { - /* If there is no one waiting and blocked */ - if (queue->not_pid != 0 && queue->rec_wait == 0) - { - if (queue->notification.sigev_notify == SIGEV_SIGNAL) - { - sigqueue (queue->not_pid, - queue->notification.sigev_signo, - queue->notification.sigev_value); - } - queue->not_pid = 0; - } - else - { - pace_printf ("Send is Signalling\n"); - /* Let other waiting threads know there is food on the table */ - if ((errno = pace_pthread_cond_signal (&((mqfile*)mqdes->mptr)->cond)) != 0) - { - return -1; - } - } - } - return 0; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pace_ssize_t mq_receive (pace_mqd_t mqdes, - char * msg_ptr, - pace_size_t msg_len, - unsigned int * nmsg_prio) -{ - mqfile* queue = ((mqfile*)mqdes->mptr); - pace_size_t temp; - - if (queue->attr.mq_msgsize > (long) msg_len) - { - errno = EMSGSIZE; - return -1; - } - - if ((errno = pace_pthread_mutex_lock (&queue->mutex)) != 0) - { - return -1; - } - - /* If the queue is empty... */ - if (queue->attr.mq_curmsgs <= 0) - { - if (queue->attr.mq_flags & O_NONBLOCK) - { - errno = EAGAIN; - return -1; - } - while (queue->attr.mq_curmsgs <= 0) - { - pace_printf ("Recv is going to sleep\n"); - queue->rec_wait++; - pace_pthread_cond_wait (&(queue->cond), &(queue->mutex)); - queue->rec_wait--; - pace_printf ("Recv is waking from sleep\n"); - } - } - - if (nmsg_prio != 0) - { - *nmsg_prio = ((message_header*)(&mqdes->mptr[queue->head]))->priority; - } - - pace_memcpy (msg_ptr, ((void*)(&mqdes->mptr[queue->head + sizeof (message_header)])), - ((message_header*)(&mqdes->mptr[queue->head]))->length); - temp = queue->head; - queue->head = ((message_header*)(&mqdes->mptr[queue->head]))->next; - ((message_header*)(&mqdes->mptr[temp]))->next = queue->freelist; - queue->freelist = temp; - - queue->attr.mq_curmsgs--; - - if (pace_pthread_mutex_unlock (&queue->mutex) == -1) - { - errno = EBADMSG; - return -1; - } - - if (queue->attr.mq_curmsgs == (queue->attr.mq_maxmsg-1)) - { - pace_printf ("Recv is signalling\n"); - /* Let other waiting threads know there is room available */ - if ((errno = pace_pthread_cond_signal (&((mqfile*)mqdes->mptr)->cond)) != 0) - { - return -1; - } - } - - return ((message_header*)(&mqdes->mptr[queue->head]))->length; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_getattr (pace_mqd_t mqdes, pace_mq_attr * mqstat) -{ - mqfile* queue = ((mqfile*)mqdes->mptr); - - if ((errno = pace_pthread_mutex_lock (&queue->mutex)) != 0) - { - return -1; - } - - *mqstat = queue->attr; - - pace_pthread_mutex_unlock (&queue->mutex); - - return 0; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_setattr(pace_mqd_t mqdes, - const pace_mq_attr * mqstat, - pace_mq_attr * omqstat) -{ - mqfile* queue = ((mqfile*)(mqdes->mptr)); - - if ((errno = pace_pthread_mutex_lock (&queue->mutex)) != 0) - { - return -1; - } - if (omqstat != 0) - { - *omqstat = ((mqfile*)mqdes->mptr)->attr; - } - if (mqstat == 0 || mqdes == 0) - { - /* You eediot*/ - errno = EFAULT; - pace_pthread_mutex_unlock (&queue->mutex); - return -1; - } - - ((mqfile*)mqdes->mptr)->attr.mq_flags = mqstat->mq_flags; - - pace_pthread_mutex_unlock (&queue->mutex); - return 0; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_notify (pace_mqd_t mqd, const pace_sigevent* notification) -{ - mqfile* queue = ((mqfile*)(mqd->mptr)); - pace_pid_t pid = pace_getpid (); - - if ((errno = pace_pthread_mutex_lock (&queue->mutex)) != 0) - { - return -1; - } - - if (notification == 0) - { - /* Unregister if notification is null */ - if (queue->not_pid == pid) - { - queue->not_pid = 0; - } - } - else - { - if (queue->not_pid && pace_kill (queue->not_pid, 0)) - { - /* If another process is registered */ - if (errno != ESRCH) - { - pace_pthread_mutex_unlock (&queue->mutex); - return -1; - } - } - queue->not_pid = pid; - queue->notification = *notification; - } - - pthread_mutex_unlock (&queue->mutex); - - return 0; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/emulation/mqueue.h b/PACE/pace/emulation/mqueue.h deleted file mode 100644 index 539f0c19e90..00000000000 --- a/PACE/pace/emulation/mqueue.h +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/emulation/mqueue.h - * - * = AUTHOR - * John Heitmann - * - * = DESCRIPTION - * An implementation of POSIX message queues originally built for Linux, - * which lacks mqueue.h. Some ideas were taken from the W. Richard Stevens - * book Unix Network Programming Interprocess Communications Volume 2 - * Second Edition. - * Memory Mapped io is used to enable a quick but persistent queue. - * - * ============================================================================ */ - -#ifndef PACE_EMU_MQUEUE_H -#define PACE_EMU_MQUEUE_H - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_MQ_ATTR -typedef struct mq_attr -{ - long mq_flags; - long mq_maxmsg; - long mq_msgsize; - long mq_curmsgs; -} pace_mq_attr; - -struct mqd -{ - long length; - int oflag; - char* mptr; -}; - -#define PACE_MQD_T -typedef struct mqd* pace_mqd_t; - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pace_mqd_t mq_open (const char* name, - int oflag, - pace_mode_t mode, - pace_mq_attr* attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_close (pace_mqd_t mqdes); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_unlink (const char* name); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_send (pace_mqd_t mqdes, - const char* ptr, - pace_size_t length, - unsigned int priority); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pace_ssize_t mq_receive (pace_mqd_t mqdes, - char * msg_ptr, - pace_size_t msg_len, - unsigned int * nmsg_prio); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_getattr (pace_mqd_t mqdes, pace_mq_attr * mqstat); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_setattr(pace_mqd_t mqdes, - const pace_mq_attr * mqstat, - pace_mq_attr * omqstat); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int mq_notify (pace_mqd_t mqd, const pace_sigevent* notification); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_EMU_MQUEUE_H */ diff --git a/PACE/pace/emulation/time.h b/PACE/pace/emulation/time.h deleted file mode 100644 index f4784190c81..00000000000 --- a/PACE/pace/emulation/time.h +++ /dev/null @@ -1,46 +0,0 @@ -/* $Id$ - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/emulation/time.h - * - * = AUTHOR - * John Heitmann - * - * ============================================================================ */ - -#ifndef PACE_EMU_TIME_H -#define PACE_EMU_TIME_H - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_EMU_CLOCKID_T -#define PACE_EMU_CLOCKID_T - typedef int pace_emu_clockid_t; -#endif /* PACE_EMU_CLOCKID_T */ - -#ifndef PACE_EMU_TIMER_T -#define PACE_EMU_TIMER_T - typedef int pace_emu_timer_t; -#endif /* PACE_EMU_TIMER_T */ - -#ifndef PACE_EMU_ITIMERSPEC -#define PACE_EMU_ITIMERSPEC - typedef struct emu_itimerspec {} pace_emu_itimerspec; -#endif /* PACE_EMU_ITIMERSPEC */ - -#ifndef PACE_EMU_TIMESPEC -#define PACE_EMU_TIMESPEC - typedef struct emu_timespec {} pace_emu_timespec; -#endif /* PACE_EMU_TIMESPEC */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_EMU_TIME_H */ diff --git a/PACE/pace/errno.h b/PACE/pace/errno.h deleted file mode 100644 index ae4f6bd4344..00000000000 --- a/PACE/pace/errno.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/errno.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_ERRNO_H -#define PACE_ERRNO_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/errno.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/errno.h" -#elif (PACE_WIN32) -# include "pace/win32/errno.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ERRNO_H */ diff --git a/PACE/pace/fcntl.h b/PACE/pace/fcntl.h deleted file mode 100644 index 43d85574b26..00000000000 --- a/PACE/pace/fcntl.h +++ /dev/null @@ -1,94 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/fnctl.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_FCNTL_H -#define PACE_FCNTL_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/fcntl.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/fcntl.h" -#elif (PACE_WIN32) -# include "pace/win32/fcntl.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function creat. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.3.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_creat (const char * path, pace_mode_t mode); - /* WIN32 doesn't correctly return a file desciptor. WIN32 doesn't use - integers to represent file handles. Instead, we return 1 for success - and -1 for failure. - */ -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function fcntl. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.5.2. - */ -#if (PACE_HAS_POSIX_FM_UOF) - /* int fcntl (int fildes, int cmd, *//* arg *//* ... ); */ -# if defined (PACE_WIN32) - int fcntl (PACE_HANDLE fildes, int cmd, /* arg */ ... ); -# endif /* PACE_WIN32 */ - -# if defined (PACE_VXWORKS) && PACE_VXWORKS - PACE_Export PACE_INLINE int pace_fcntl(PACE_HANDLE fildes, - int cmd, - long arg); -# else -# define pace_fcntl fcntl -# endif /* ! PACE_VXWORKS */ -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - PACE's implementation of the POSIX function open. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.3.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - /* int open (const char *path, int oflag, *//* pace_mode_t mode *//* ... );*/ -# if defined (PACE_HAS_CPLUPLUS) -# define pace_open ::open -# else -# define pace_open open -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/fcntl.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/fcntl.inl" -# elif (PACE_WIN32) -# include "pace/win32/fcntl.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_FCNTL_H_INDIRECT */ diff --git a/PACE/pace/grp.h b/PACE/pace/grp.h deleted file mode 100644 index eab5aba2b7c..00000000000 --- a/PACE/pace/grp.h +++ /dev/null @@ -1,93 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/grp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_GRP_H -#define PACE_GRP_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/grp.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/grp.h" -#elif (PACE_WIN32) -# include "pace/win32/grp.h" -#endif - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function getgrgid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.1. - */ -#if (PACE_HAS_POSIX_SD_UOF) - PACE_Export PACE_INLINE pace_group * pace_getgrgid (pace_gid_t gid); -#endif /* PACE_HAS_POSIX_SD_UOF */ - - /** - PACE's implementation of the POSIX function getgrgid_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.1. - */ -#if (PACE_HAS_POSIX_SDR_UOF) - PACE_Export PACE_INLINE int pace_getgrgid_r (pace_gid_t gid, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result); -#endif /* PACE_HAS_POSIX_SDR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function getgrnam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.1. - */ -#if (PACE_HAS_POSIX_SD_UOF) - PACE_Export PACE_INLINE pace_group * pace_getgrnam (const char * name); -#endif /* PACE_HAS_POSIX_SD_UOF */ - - /** - PACE's implementation of the POSIX function getgrnam_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.1. - */ -#if (PACE_HAS_POSIX_SDR_UOF) - PACE_Export PACE_INLINE int pace_getgrnam_r (const char * name, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result); -#endif /* PACE_HAS_POSIX_SDR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/grp.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/grp.inl" -# elif (PACE_WIN32) -# include "pace/win32/grp.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_GRP_H */ diff --git a/PACE/pace/limits.h b/PACE/pace/limits.h deleted file mode 100644 index 9e13488b1fa..00000000000 --- a/PACE/pace/limits.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/limits.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_LIMITS_H_INDIRECT -#define PACE_LIMITS_H_INDIRECT - -#include "pace/config/defines.h" - -#if defined (PACE_HAS_POSIX) -# include "pace/posix/limits.h" -#elif defined (PACE_VXWORKS) -# include "pace/vxworks/limits.h" -#elif defined (PACE_WIN32) -# include "pace/win32/limits.h" -#endif - -#endif /* PACE_LIMITS_H_INDIRECT */ diff --git a/PACE/pace/locale.h b/PACE/pace/locale.h deleted file mode 100644 index 0435a4a7370..00000000000 --- a/PACE/pace/locale.h +++ /dev/null @@ -1,65 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/locale.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_LOCALE_H -#define PACE_LOCALE_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/locale.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/locale.h" -#elif (PACE_WIN32) -# include "pace/win32/locale.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - Fills in pace_lconv with values consistent with the - current locality. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_lconv* pace_localeconv (void); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function setlocale. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE char * pace_setlocale (int category, - const char * locale); -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/locale.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/locale.inl" -# elif (PACE_WIN32) -# include "pace/win32/locale.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LOCALE_H */ diff --git a/PACE/pace/man/Makefile b/PACE/pace/man/Makefile deleted file mode 100644 index 8203d2d650c..00000000000 --- a/PACE/pace/man/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for the PACE html man pages -# The man pages are generated from the POSIX header files. -#---------------------------------------------------------------------------- - -PACE_DOC++ = /project/doc/pkg/bin/doc++ -index.html: - $(PACE_DOC++) -H -F -B banner ../*.h - -clean: - $(RM) *.html *.gif *.class *.tex *.db .html diff --git a/PACE/pace/man/banner b/PACE/pace/man/banner deleted file mode 100644 index 668e1f5de5d..00000000000 --- a/PACE/pace/man/banner +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/PACE/pace/man/pace.jpg b/PACE/pace/man/pace.jpg deleted file mode 100644 index 62bc7130603..00000000000 Binary files a/PACE/pace/man/pace.jpg and /dev/null differ diff --git a/PACE/pace/math.h b/PACE/pace/math.h deleted file mode 100644 index 44e23ee09e2..00000000000 --- a/PACE/pace/math.h +++ /dev/null @@ -1,245 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = Filename - * pace/math.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MATH_H -#define PACE_MATH_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/math.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/math.h" -#elif (PACE_WIN32) -# include "pace/win32/math.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function acos. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_acos (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function asin. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_asin (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function atan. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_atan (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function atan2. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_atan2 (double x, double y); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function cos. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_cos (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function sin. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_sin (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function tan. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_tan (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function cosh. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_cosh (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function sinh. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_sinh (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function tanh. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_tanh (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function exp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_exp (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function frexp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_frexp (double x, int * exp); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function ldexp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_ldexp (double x, int exp); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function log. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_log (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function log10. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_log10 (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function modf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_modf (double x, double * iptr); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function pow. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_pow (double x, double y); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function sqrt. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_sqrt (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function ceil. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_ceil (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function fabs. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_fabs (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function floor. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_floor (double x); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function fmod. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_fmod (double x, double y); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/math.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/math.inl" -# elif (PACE_WIN32) -# include "pace/win32/math.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MATH_H */ diff --git a/PACE/pace/mqueue.h b/PACE/pace/mqueue.h deleted file mode 100644 index c799567c968..00000000000 --- a/PACE/pace/mqueue.h +++ /dev/null @@ -1,131 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/mqueue.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MQUEUE_H -#define PACE_MQUEUE_H - -#include "pace/config/defines.h" -#include "pace/signal.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/mqueue.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/mqueue.h" -#elif (PACE_WIN32) -# include "pace/win32/mqueue.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function mq_close. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mq_close (pace_mqd_t mqdes); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mq_getattr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mq_getattr (pace_mqd_t mqdes, - pace_mq_attr * mqstat); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mq_notify. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mq_notify (pace_mqd_t mqdes, - const pace_sigevent * notification); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mq_open. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# define pace_mq_open mq_open -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - /* mqd_t mq_open (const char *name, int oflag, (*//* args *//*) ... ); */ - - /** - PACE's implementation of the POSIX function mq_receive. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_ssize_t pace_mq_receive (pace_mqd_t mqdes, - char * msg_ptr, - pace_size_t msg_len, - unsigned int * nmsg_prio); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mq_send. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mq_send (pace_mqd_t mqdes, - const char * mst_ptr, - pace_size_t msg_len, - unsigned int psg_prio); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mq_setattr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.7. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mq_setattr (pace_mqd_t mqdes, - const pace_mq_attr * mqstat, - pace_mq_attr * omqstat); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mq_unlink. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 15.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mq_unlink (const char * name); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/mqueue.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/mqueue.inl" -# elif (PACE_WIN32) -# include "pace/win32/mqueue.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MQUEUE_H */ diff --git a/PACE/pace/posix/Makefile.am b/PACE/pace/posix/Makefile.am deleted file mode 100644 index d50c7d6885b..00000000000 --- a/PACE/pace/posix/Makefile.am +++ /dev/null @@ -1,113 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for the PACE C library -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -## Create a libtool convenience library that contains the contents of -## the POSIX-specific version of PACE. -noinst_LTLIBRARIES = libPACE_POSIX.la - -libPACE_POSIX_la_SOURCES = \ - aio.c \ - assert.c \ - ctype.c \ - dirent.c \ - fcntl.c \ - grp.c \ - locale.c \ - math.c \ - mman.c \ - mqueue.c \ - pthread.c \ - pwd.c \ - sched.c \ - semaphore.c \ - setjmp.c \ - signal.c \ - stat.c \ - stdio.c \ - stdlib.c \ - string.c \ - termios.c \ - time.c \ - times.c \ - unistd.c \ - utime.c \ - utsname.c \ - wait.c - -PACE_INLINE_FILES = \ - aio.inl \ - assert.inl \ - ctype.inl \ - dirent.inl \ - fcntl.inl \ - grp.inl \ - locale.inl \ - math.inl \ - mman.inl \ - mqueue.inl \ - pthread.inl \ - pwd.inl \ - sched.inl \ - semaphore.inl \ - setjmp.inl \ - signal.inl \ - stat.inl \ - stdio.inl \ - stdlib.inl \ - string.inl \ - termios.inl \ - time.inl \ - times.inl \ - unistd.inl \ - utime.inl \ - utsname.inl \ - wait.inl - -PACE_HEADER_FILES = \ - aio.h \ - assert.h \ - ctype.h \ - dirent.h \ - errno.h \ - fcntl.h \ - grp.h \ - limits.h \ - locale.h \ - math.h \ - mman.h \ - mqueue.h \ - pthread.h \ - pwd.h \ - sched.h \ - semaphore.h \ - setjmp.h \ - signal.h \ - stat.h \ - stdio.h \ - stdlib.h \ - string.h \ - termios.h \ - time.h \ - times.h \ - types.h \ - unistd.h \ - utime.h \ - utsname.h \ - wait.h - -pkgincludedir = $(includedir)/$(PACKAGE)/posix -pkginclude_HEADERS = \ - $(PACE_INLINE_FILES) \ - $(PACE_HEADER_FILES) diff --git a/PACE/pace/posix/README b/PACE/pace/posix/README deleted file mode 100644 index 0116632c065..00000000000 --- a/PACE/pace/posix/README +++ /dev/null @@ -1 +0,0 @@ -POSIX dir diff --git a/PACE/pace/posix/TODO b/PACE/pace/posix/TODO deleted file mode 100644 index 6141d90a333..00000000000 --- a/PACE/pace/posix/TODO +++ /dev/null @@ -1,7 +0,0 @@ -$ID$ - -Testing -======= -Test PACE libraries with and without PACE_HAS_POSIX_PTHREAD_SEMANTICS -defined. There are some functions (e.g., in time.h) that have been -changed because it looked like they didn't need this guard. diff --git a/PACE/pace/posix/aio.c b/PACE/pace/posix/aio.c deleted file mode 100644 index d2f62e92389..00000000000 --- a/PACE/pace/posix/aio.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/aio.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/aio.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/aio.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/aio.h b/PACE/pace/posix/aio.h deleted file mode 100644 index 75a11416cc7..00000000000 --- a/PACE/pace/posix/aio.h +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/aio.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_AIO_H_POSIX -#define PACE_AIO_H_POSIX - -#include -#include "pace/time.h" -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_AIO_ALLDONE AIO_ALLDONE -#define PACE_AIO_CANCELED AIO_CANCELED -#define PACE_AIO_NOCANCELED AIO_NOTCANCELED -#define PACE_LIO_NOP LIO_NOP -#define PACE_LIO_NOWAIT LIO_NOWAIT -#define PACE_LIO_READ LIO_READ -#define PACE_LIO_WAIT LIO_WAIT -#define PACE_LIO_WRITE LIO_WRITE - -#ifndef PACE_AIOCB -#define PACE_AIOCB -typedef struct aiocb pace_aiocb; -#endif /* PACE_AIOCB */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_AIO_H_POSIX */ diff --git a/PACE/pace/posix/aio.inl b/PACE/pace/posix/aio.inl deleted file mode 100644 index d219c0cabf9..00000000000 --- a/PACE/pace/posix/aio.inl +++ /dev/null @@ -1,94 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/aio.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_cancel (PACE_HANDLE fildes, pace_aiocb * aiocbp) -{ - return aio_cancel (fildes, aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_error (const pace_aiocb * aiocbp) -{ - return aio_error (PACE_NONCONST_ARG_CAST (struct aiocb *) aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_fsync (int op, pace_aiocb * aiocbp) -{ - return aio_fsync (op, aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_read (pace_aiocb * aiocbp) -{ - return aio_read (aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_return (pace_aiocb * aiocbp) -{ - return aio_return (aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_suspend (const pace_aiocb * const list[], - int nent, - const pace_timespec * timeout) -{ - return aio_suspend (PACE_AIO_SUSPEND_LIST_ARG_CAST list, - nent, - PACE_NONCONST_ARG_CAST (struct timespec *) timeout); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_write (pace_aiocb * aiocbp) -{ - return aio_write (aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_lio_listio (int mode, - pace_aiocb * const list[], - int nent, - pace_sigevent * sig) -{ - return lio_listio (mode, PACE_NONCONST_ARG_CAST (struct aiocb **) list, - nent, sig); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/assert.c b/PACE/pace/posix/assert.c deleted file mode 100644 index 368fd0a62f6..00000000000 --- a/PACE/pace/posix/assert.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/assert.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/assert.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/assert.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/assert.h b/PACE/pace/posix/assert.h deleted file mode 100644 index 08c8b075cea..00000000000 --- a/PACE/pace/posix/assert.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/assert.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_ASSERT_H_POSIX -#define PACE_ASSERT_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ASSERT_H_POSIX */ diff --git a/PACE/pace/posix/assert.inl b/PACE/pace/posix/assert.inl deleted file mode 100644 index cc7974093d0..00000000000 --- a/PACE/pace/posix/assert.inl +++ /dev/null @@ -1,14 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/assert.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ diff --git a/PACE/pace/posix/ctype.c b/PACE/pace/posix/ctype.c deleted file mode 100644 index 7bf7d34ae07..00000000000 --- a/PACE/pace/posix/ctype.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/ctype.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/ctype.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/ctype.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/ctype.h b/PACE/pace/posix/ctype.h deleted file mode 100644 index 88c47c8e8cb..00000000000 --- a/PACE/pace/posix/ctype.h +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/ctype.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CTYPE_H_POSIX -#define PACE_CTYPE_H_POSIX - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_CTYPE_H_POSIX */ diff --git a/PACE/pace/posix/ctype.inl b/PACE/pace/posix/ctype.inl deleted file mode 100644 index 538164bda4d..00000000000 --- a/PACE/pace/posix/ctype.inl +++ /dev/null @@ -1,133 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/ctype.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isalnum (int c) -{ - return isalnum (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isalpha (int c) -{ - return isalpha (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_iscntrl (int c) -{ - return iscntrl (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isdigit (int c) -{ - return isdigit (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isgraph (int c) -{ - return isgraph (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_islower (int c) -{ - return islower (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isprint (int c) -{ - return isprint (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_ispunct (int c) -{ - return ispunct (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isspace (int c) -{ - return isspace (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isupper (int c) -{ - return isupper (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isxdigit (int c) -{ - return isxdigit (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_tolower (int c) -{ - return tolower (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_toupper (int c) -{ - return toupper (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/posix/dirent.c b/PACE/pace/posix/dirent.c deleted file mode 100644 index d04ea9c1ac9..00000000000 --- a/PACE/pace/posix/dirent.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/dirent.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/dirent.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/dirent.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/dirent.h b/PACE/pace/posix/dirent.h deleted file mode 100644 index 5662910233a..00000000000 --- a/PACE/pace/posix/dirent.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/dirent.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_DIRENT_H_POSIX -#define PACE_DIRENT_H_POSIX - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_DIR_T -#define PACE_DIR_T -typedef DIR PACE_DIR; -#endif /* PACE_DIR_T */ - -#ifndef PACE_DIRENT -#define PACE_DIRENT -typedef struct dirent pace_dirent; -#endif /* PACE_DIRENT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_DIRENT_H_POSIX */ diff --git a/PACE/pace/posix/dirent.inl b/PACE/pace/posix/dirent.inl deleted file mode 100644 index 084b43e591c..00000000000 --- a/PACE/pace/posix/dirent.inl +++ /dev/null @@ -1,68 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/dirent.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -PACE_DIR * -pace_opendir (const char * dirname) -{ - return opendir (dirname); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -pace_dirent * -pace_readdir (PACE_DIR * dirp) -{ - return readdir (dirp); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -int -pace_readdir_r (PACE_DIR * dirp, pace_dirent * entry, - pace_dirent ** result) -{ -#if (PACE_LYNXOS) - *result = readdir_r (dirp, entry); - if (*result == 0) - return errno; - return 0; -#else - return readdir_r (dirp, entry, result); -#endif /* PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -void -pace_rewinddir (PACE_DIR * dirp) -{ - rewinddir (dirp); - return; -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_closedir (PACE_DIR * dirp) -{ - return closedir (dirp); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/posix/errno.h b/PACE/pace/posix/errno.h deleted file mode 100644 index 08595910435..00000000000 --- a/PACE/pace/posix/errno.h +++ /dev/null @@ -1,76 +0,0 @@ -/* $Id$ - -* ============================================================================ -* -* = LIBRARY -* pace -* -* = FILENAME -* pace/posix/errno.h -* -* = AUTHOR -* John Heitmann -* -* =========================================================================== *\ -/ - -#ifndef PACE_ERRNO_H_POSIX -#define PACE_ERRNO_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_E2BIG E2BIG -#define PACE_EACCES EACCES -#define PACE_EAGAIN EAGAIN -#define PACE_EBADF EBADF -#define PACE_EBADMSG -#define PACE_EBUSY EBUSY -#define PACE_ECANCELED ECANCELED -#define PACE_ECHILD ECHILD -#define PACE_EDEADLK EDEADLK -#define PACE_EDOM EDOM -#define PACE_EEXIST EEXIST -#define PACE_EFAULT EFAULT -#define PACE_EFBIG EFBIG -#define PACE_EINPROGRESS EINPROGRESS -#define PACE_EINTR EINTR -#define PACE_EINVAL EINVAL -#define PACE_EIO EIO -#define PACE_EISDIR EISDIR -#define PACE_EMFILE EMFILE -#define PACE_EMLINK EMLINK -#define PACE_EMSGSIZE EMSGSIZE -#define PACE_EENAMETOOLONG ENAMETOOLONG -#define PACE_ENFILE ENFILE -#define PACE_ENODEV ENODEV -#define PACE_ENOENT ENOENT -#define PACE_ENOEXEC ENOEXEC -#define PACE_ENOLCK ENOLCK -#define PACE_ENOMEM ENOMEM -#define PACE_ENOSPC ENOSPC -#define PACE_ENOSYS ENOSYS -#define PACE_ENOTDIR ENOTDIR -#define PACE_ENOTEMPTY ENOTEMPTY -#define PACE_ENOTSUP ENOTSUP -#define PACE_ENOTTY ENOTTY -#define PACE_ENXIO ENXIO -#define PACE_EPERM EPERM -#define PACE_EPIPE EPIPE -#define PACE_ERANGE ERANGE -#define PACE_EROFS EROFS -#define PACE_ESPIPE ESPIPE -#define PACE_ESRCH ESRCH -#define PACE_ETIMEDOUT ETIMEDOUT -#define PACE_EXDEV EXDEV - -#define pace_errno errno - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ERRNO_H_POSIX */ diff --git a/PACE/pace/posix/fcntl.c b/PACE/pace/posix/fcntl.c deleted file mode 100644 index 69183a1ba35..00000000000 --- a/PACE/pace/posix/fcntl.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/fcntl.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/fcntl.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/fcntl.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/fcntl.h b/PACE/pace/posix/fcntl.h deleted file mode 100644 index fc57bc098e3..00000000000 --- a/PACE/pace/posix/fcntl.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/fnctl.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_FCNTL_H_POSIX -#define PACE_FCNTL_H_POSIX - -#include "pace/sys/types.h" -#include "pace/unistd.h" -#include "pace/sys/stat.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_FD_CLOEXEC FD_CLOEXEC -#define PACE_F_DUPFD D_DUPFD -#define PACE_F_GETFD F_GETFD -#define PACE_F_GETFL F_GETFL -#define PACE_F_GETLK F_GETLK -#define PACE_F_RDLCK F_RDLCK -#define PACE_F_SETFD F_SETFD -#define PACE_F_SETFL F_SETFL -#define PACE_F_SETLK F_SETLK -#define PACE_F_SETLKW F_SETLKW -#define PACE_F_UNLCK F_UNLCK -#define PACE_F_WRLCK F_WRLCK -#define PACE_O_ACCMODE O_ACCMODE -#define PACE_O_APPEND O_APPEND -#define PACE_O_CREAT O_CREAT -#define PACE_O_DSYNC O_DSYNC -#define PACE_O_EXCL O_EXCL -#define PACE_O_NOCTTY O_NOCTTY -#define PACE_O_NONBLOCK O_NONBLOCK -#define PACE_O_RDONLY O_RDONLY -#define PACE_O_RDWR O_RDWR -#define PACE_O_RSYNC O_RSYNC -#define PACE_O_SYNC O_SYNC -#define PACE_O_TRUNC O_TRUNC -#define PACE_O_WRONLY O_WRONLY - -#ifndef PACE_FLOCK -#define PACE_FLOCK -typedef struct flock pace_flock; -#endif /* PACE_FLOCK */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_FCNTL_H_POSIX */ diff --git a/PACE/pace/posix/fcntl.inl b/PACE/pace/posix/fcntl.inl deleted file mode 100644 index 01a7e732294..00000000000 --- a/PACE/pace/posix/fcntl.inl +++ /dev/null @@ -1,23 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/fcntl.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_creat (const char * path, pace_mode_t mode) -{ - return creat (path, mode); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/posix/grp.c b/PACE/pace/posix/grp.c deleted file mode 100644 index 59b11cbb739..00000000000 --- a/PACE/pace/posix/grp.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/grp.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/grp.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/grp.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/grp.h b/PACE/pace/posix/grp.h deleted file mode 100644 index 38be525562f..00000000000 --- a/PACE/pace/posix/grp.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * pace/posix/grp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_GRP_H_POSIX -#define PACE_GRP_H_POSIX - -#include - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_GROUP -#define PACE_GROUP -typedef struct group pace_group; -#endif /* PACE_GROUP */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_GRP_H_POSIX */ diff --git a/PACE/pace/posix/grp.inl b/PACE/pace/posix/grp.inl deleted file mode 100644 index fcac3d5f1fd..00000000000 --- a/PACE/pace/posix/grp.inl +++ /dev/null @@ -1,73 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/grp.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_group * -pace_getgrgid (pace_gid_t gid) -{ - return getgrgid (gid); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getgrgid_r (pace_gid_t gid, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result) -{ -#if (PACE_LYNXOS) - *result = getgrgid_r (grp, gid, buffer, bufsize); - if (*result == 0) - return errno; - return 0; -#else - return getgrgid_r (gid, grp, buffer, bufsize, result); -#endif /* ! PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_group * -pace_getgrnam (const char * name) -{ - return getgrnam (name); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getgrnam_r (const char * name, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result) -{ -#if (PACE_LYNXOS) - *result = getgrnam_r (grp, PACE_NONCONST_ARG_CAST (char *) name, - buffer, bufsize); - if (*result == 0) - return errno; - return 0; -#else - return getgrnam_r (name, grp, buffer, bufsize, result); -#endif /* ! PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ diff --git a/PACE/pace/posix/limits.h b/PACE/pace/posix/limits.h deleted file mode 100644 index fb952113bbd..00000000000 --- a/PACE/pace/posix/limits.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * pace/posix/limits.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_LIMITS_H -#define PACE_LIMITS_H - -#include - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* (PACE_HAS_CPLUSPLUS) */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LIMITS_H */ diff --git a/PACE/pace/posix/locale.c b/PACE/pace/posix/locale.c deleted file mode 100644 index 3f818716eda..00000000000 --- a/PACE/pace/posix/locale.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/locale.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/locale.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/locale.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/locale.h b/PACE/pace/posix/locale.h deleted file mode 100644 index 704d23d3c96..00000000000 --- a/PACE/pace/posix/locale.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/locale.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_LOCALE_H_POSIX -#define PACE_LOCALE_H_POSIX - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_LC_ALL LC_ALL -#define PACE_LC_COLLATE LC_COLLATE -#define PACE_LC_CTYPE LC_CTYPE -#define PACE_LC_MONETARY LC_MONETARY -#define PACE_LC_NUMERIC LC_NUMERIC -#define PACE_LC_TIME LC_TIME -#define PACE_NULL NULL - -#ifndef PACE_LCONV -#define PACE_LCONV -typedef struct lconv pace_lconv; -#endif /* PACE_LCONV */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LOCALE_H_POSIX */ diff --git a/PACE/pace/posix/locale.inl b/PACE/pace/posix/locale.inl deleted file mode 100644 index ed0a94e319d..00000000000 --- a/PACE/pace/posix/locale.inl +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/locale.inl - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_lconv * -pace_localeconv (void) -{ - return localeconv (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -char * -pace_setlocale (int category, const char * locale) -{ - return setlocale (category, locale); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/posix/math.c b/PACE/pace/posix/math.c deleted file mode 100644 index 8c2e32301fa..00000000000 --- a/PACE/pace/posix/math.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/math.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/math.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/math.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/math.h b/PACE/pace/posix/math.h deleted file mode 100644 index 34e68241bc7..00000000000 --- a/PACE/pace/posix/math.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/math.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MATH_H_POSIX -#define PACE_MATH_H_POSIX - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_HUGE_VAL HUGE_VAL - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MATH_H_POSIX */ diff --git a/PACE/pace/posix/math.inl b/PACE/pace/posix/math.inl deleted file mode 100644 index 29709c4dd95..00000000000 --- a/PACE/pace/posix/math.inl +++ /dev/null @@ -1,215 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/math.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -/* FUZZ: disable check_for_math_include */ -#include - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_acos (double x) -{ - return acos (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_asin (double x) -{ - return asin (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atan (double x) -{ - return atan (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atan2 (double x, double y) -{ - return atan2 (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_cos (double x) -{ - return cos (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sin (double x) -{ - return sin (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_tan (double x) -{ - return tan (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_cosh (double x) -{ - return cosh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sinh (double x) -{ - return sinh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_tanh (double x) -{ - return tanh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_exp (double x) -{ - return exp (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_frexp (double x, int * exp) -{ - return frexp (x, exp); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_ldexp (double x, int exp) -{ - return ldexp (x, exp); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_log (double x) -{ - return log (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_log10 (double x) -{ - return log10 (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_modf (double x, double * iptr) -{ - return modf (x, iptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_pow (double x, double y) -{ - return pow (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sqrt (double x) -{ - return sqrt (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_ceil (double x) -{ - return ceil (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_fabs (double x) -{ - return fabs (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_floor (double x) -{ - return floor (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_fmod (double x, double y) -{ - return fmod (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/posix/mman.c b/PACE/pace/posix/mman.c deleted file mode 100644 index b68b87baa22..00000000000 --- a/PACE/pace/posix/mman.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/mman.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/mman.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/mman.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/mman.h b/PACE/pace/posix/mman.h deleted file mode 100644 index f45efe48efa..00000000000 --- a/PACE/pace/posix/mman.h +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/mman.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_MMAN_H_POSIX -#define PACE_SYS_MMAN_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_MAP_FAILED MAP_FAILED -#define PACE_MAP_FIXED MAP_FIXED -#define PACE_MAP_PRIVATE MAP_PRIVATE -#define PACE_MAP_SHARED MAP_SHARED -#define PACE_MCL_CURRENT MCL_CURRENT -#define PACE_MS_ASYNC MS_ASYNC -#define PACE_MS_INVALIDATE -#define PACE_MS_SYNC MS_SYNC -#define PACE_PROT_EXEC PROT_EXEC -#define PACE_PROT_NONE PROT_NONE -#define PACE_PROT_READ PROT_READ -#define PACE_PROT_WRITE PROT_WRITE - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_MMAN_H_POSIX */ diff --git a/PACE/pace/posix/mman.inl b/PACE/pace/posix/mman.inl deleted file mode 100644 index a89782fa44e..00000000000 --- a/PACE/pace/posix/mman.inl +++ /dev/null @@ -1,127 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/mman.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mlock (const void * addr, pace_size_t len) -{ - return mlock (((char*)addr), len); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mlockall (int flags) -{ - return mlockall (flags); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_mmap (void * addr, - pace_size_t len, - int prot, - int flags, - PACE_HANDLE fildes, - pace_off_t off) -{ - return mmap ((char *) addr, len, prot, flags, fildes, off); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munlock (const void * addr, pace_size_t len) -{ - return munlock (((char*)addr), len); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mprotect (void * addr, - pace_size_t len, - int prot) -{ - return mprotect ((char*)addr, len, prot); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_msync (void * addr, - pace_size_t len, - int flags) -{ - return msync ((char*)addr, len, flags); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munlockall () -{ - return munlockall (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munmap (void * addr, pace_size_t len) -{ - return munmap ((char *) addr, len); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -PACE_HANDLE -pace_shm_open (const char * name, - int oflag, - pace_mode_t mode) -{ -# if (PACE_POSIX_C_SOURCE > 2) - return shm_open (name, oflag, mode); -# else /* ! PACE_POSIX_C_SOURCE */ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (oflag); - PACE_UNUSED_ARG (mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -# endif /* ! PACE_POSIX_C_SOURCE */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_shm_unlink (const char * name) -{ -# if (PACE_POSIX_C_SOURCE > 2) - return shm_unlink (name); -# else /* ! PACE_POSIX_C_SOURCE */ - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -# endif /* ! PACE_POSIX_C_SOURCE */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/mqueue.c b/PACE/pace/posix/mqueue.c deleted file mode 100644 index 596c75e3905..00000000000 --- a/PACE/pace/posix/mqueue.c +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * pace/posix/mqueue.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/mqueue.h" - -#if PACE_LINUX -# include "pace/emulation/mqueue.c" -#endif /* PACE_LINUX */ - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/mqueue.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/mqueue.h b/PACE/pace/posix/mqueue.h deleted file mode 100644 index 66483f040cf..00000000000 --- a/PACE/pace/posix/mqueue.h +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/mqueue.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MQUEUE_H_POSIX -#define PACE_MQUEUE_H_POSIX - -#if PACE_LINUX -# include "pace/emulation/mqueue.h" -#else -# include -#endif /* PACE_LINUX */ - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_MQD_T -#define PACE_MQD_T - typedef mqd_t pace_mqd_t; -#endif /* PACE_MQD_T */ - -#ifndef PACE_MQ_ATTR -#define PACE_MQ_ATTR - typedef struct mq_attr pace_mq_attr; -#endif /* PACE_MQ_ATTR */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MQUEUE_H_POSIX */ diff --git a/PACE/pace/posix/mqueue.inl b/PACE/pace/posix/mqueue.inl deleted file mode 100644 index 2459563e9b3..00000000000 --- a/PACE/pace/posix/mqueue.inl +++ /dev/null @@ -1,87 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/mqueue.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_close (pace_mqd_t mqdes) -{ - return mq_close (mqdes); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_getattr (pace_mqd_t mqdes, - pace_mq_attr * mqstat) -{ - return mq_getattr (mqdes, mqstat); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_notify (pace_mqd_t mqdes, - const pace_sigevent * notification) -{ - return mq_notify (mqdes, notification); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -ssize_t -pace_mq_receive (pace_mqd_t mqdes, - char * msg_ptr, - size_t msg_len, - unsigned int * msg_prio) -{ - return mq_receive (mqdes, msg_ptr, msg_len, msg_prio); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_send (pace_mqd_t mqdes, - const char * msg_ptr, - size_t msg_len, - unsigned int msg_prio) -{ - return mq_send (mqdes, msg_ptr, msg_len, msg_prio); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_setattr (pace_mqd_t mqdes, - const pace_mq_attr * mqstat, - pace_mq_attr * omqstat) -{ - return mq_setattr (mqdes, mqstat, omqstat); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_unlink (const char * name) -{ - return mq_unlink (name); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/pthread.c b/PACE/pace/posix/pthread.c deleted file mode 100644 index 426c377c446..00000000000 --- a/PACE/pace/posix/pthread.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/pthread.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/pthread.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/pthread.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/pthread.h b/PACE/pace/posix/pthread.h deleted file mode 100644 index b998c50e7c1..00000000000 --- a/PACE/pace/posix/pthread.h +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/pthread.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_PTHREAD_H_POSIX -#define PACE_PTHREAD_H_POSIX - -#include -#include "pace/sys/types.h" -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_PTHREAD_CANCELED PTHREAD_CANCELED -#define PACE_PTHREAD_CANCEL_AYNCHRONOUS PTHREAD_CANCEL_ASYNCHRONOUS -#define PACE_PTHREAD_CANCEL_DEFERRED PTHREAD_CANCEL_DEFERRED -#define PACE_PTHREAD_CACEL_DISABLE PTHREAD_CANCEL_DISABLE -#define PACE_PTHREAD_CANCEL_ENABLE PTHREAD_CANCEL_ENABLE -#define PACE_PTHREAD_COND_INITIALIZER PTHREAD_COND_INITIALIZER -#define PACE_PTHREAD_CREATE_DETACHED PTHREAD_CREATE_DETACHED -#define PACE_PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_JOINABLE -#define PACE_PTHREAD_EXPLICIT_SCHED PTHREAD_EXPLICIT_SCHED -#define PACE_PTHREAD_INHERIT_SCHED PTHREAD_INHERIT_SCHED -#define PACE_PTHREAD_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER -#define PACE_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT -#define PACE_PTHREAD_PRIO_INHERIT PTHREAD_PRIO_INHERIT -#define PACE_PTHREAD_PRIO_NONE PTHREAD_PRIO_NONE -#define PACE_PTHREAD_PRIO_PROTECT PTHREAD_PRIO_PROTECT -#define PACE_PTHREAD_PROCESS_PRIVATE PTHREAD_PROCESS_PRIVATE -#define PACE_PTHREAD_PROCESS_SHARED PTHREAD_PROCESS_SHARED -#define PACE_PTHREAD_SCOPE_PROCESS PTHREAD_SCOPE_PROCESS -#define PACE_PTHREAD_SCOPE_SYSTEM PTHREAD_SCOPE_SYSTEM - -#ifndef PACE_SCHED_PARAM -#define PACE_SCHED_PARAM - typedef struct sched_param pace_sched_param; -#endif /* PACE_SCHED_PARAM */ - -#if defined (PACE_HAS_CPLUSPLUS) -# ifndef PACE_ATFORK_PF -# define PACE_ATFORK_PF - typedef void (*pace_atfork_pf) (void); -# endif /* PACE_ATFORK_PF */ - -# ifndef PACE_KEYCREATE_PF -# define PACE_KEYCREATE_PF - typedef void (*pace_keycreate_pf) (void*); -# endif /* PACE_KEYCREATE_PF */ - -# ifndef PACE_ONCE_PF -# define PACE_ONCE_PF - typedef void (*pace_once_pf) (void); -# endif /* PACE_ONCE_PF */ - -# ifndef PACE_CREATE_PF -# define PACE_CREATE_PF - typedef void* (*pace_create_pf) (void*); -# endif /* PACE_CREATE_PF */ - -#endif /* PACE_HAS_CPLUPLUS */ - - - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PTHREAD_H_POSIX */ diff --git a/PACE/pace/posix/pthread.inl b/PACE/pace/posix/pthread.inl deleted file mode 100644 index cb16f5b9575..00000000000 --- a/PACE/pace/posix/pthread.inl +++ /dev/null @@ -1,761 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/pthread.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/unistd.h" - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# if defined (PACE_HAS_CPLUSPLUS) -PACE_INLINE -int -pace_pthread_atfork (pace_atfork_pf prepare, - pace_atfork_pf parent, - pace_atfork_pf child) -{ - return pthread_atfork (prepare, parent, child); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -int -pace_pthread_atfork (void (*prepare) (), - void (*parent) (), - void (*child) ()) -{ - return pthread_atfork (prepare, parent, child); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_destroy (pace_pthread_attr_t * attr) -{ - return pthread_attr_destroy (attr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getdetachstate (const pace_pthread_attr_t * attr, - int * detachstate) -{ - return pthread_attr_getdetachstate (attr, detachstate); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getinheritsched (const pace_pthread_attr_t * attr, - int * inheritsched) -{ -#if PACE_LYNXOS == 0x300 - return pthread_attr_getinheritsched (PACE_NONCONST_ARG_CAST (pace_pthread_attr_t *) attr); -#else - return pthread_attr_getinheritsched (PACE_NONCONST_ARG_CAST (pace_pthread_attr_t *) attr, - inheritsched); -#endif /* PACE_LYNXOS != 0x300 */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getschedparam (const pace_pthread_attr_t * attr, - pace_sched_param * param) -{ - return pthread_attr_getschedparam (attr, param); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getschedpolicy (const pace_pthread_attr_t * attr, - int * policy) -{ - return pthread_attr_getschedpolicy (attr, policy); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getscope (const pace_pthread_attr_t * attr, - int * contentionscope) -{ - return pthread_attr_getscope (attr, contentionscope); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getstackaddr (const pace_pthread_attr_t * attr, - void ** stackaddr) -{ - return pthread_attr_getstackaddr (attr, stackaddr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getstacksize (const pace_pthread_attr_t * attr, - size_t * stacksize) -{ -#if PACE_LYNXOS == 0x300 - return pthread_attr_getstacksize (PACE_NONCONST_ARG_CAST (pace_pthread_attr_t *) attr); -#else - return pthread_attr_getstacksize (PACE_NONCONST_ARG_CAST (pace_pthread_attr_t *) attr, - stacksize); -#endif /* PACE_LYNXOS != 0x300 */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_init (pace_pthread_attr_t * attr) -{ - return pthread_attr_init (attr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate) -{ - return pthread_attr_setdetachstate (attr, detachstate); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setinheritsched (pace_pthread_attr_t * attr, - int inheritsched) -{ - return pthread_attr_setinheritsched (attr, inheritsched); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param) -{ - return pthread_attr_setschedparam (attr, param); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setschedpolicy (pace_pthread_attr_t * attr, - int policy) -{ - return pthread_attr_setschedpolicy (attr, policy); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setscope (pace_pthread_attr_t * attr, - int contentionscope) -{ - return pthread_attr_setscope (attr, contentionscope); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setstackaddr (pace_pthread_attr_t * attr, - void * stackaddr) -{ - return pthread_attr_setstackaddr (attr, stackaddr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setstacksize (pace_pthread_attr_t * attr, - size_t stacksize) -{ - return pthread_attr_setstacksize (attr, stacksize); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cancel (pace_pthread_t thread) -{ - return pthread_cancel (thread); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_broadcast (pace_pthread_cond_t * cond) -{ - return pthread_cond_broadcast (cond); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_destroy (pace_pthread_cond_t * cond) -{ - return pthread_cond_destroy (cond); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_init (pace_pthread_cond_t * cond, - const pace_pthread_condattr_t * attr) -{ -#if PACE_LYNXOS == 0x300 - return pthread_cond_init (cond, *attr); -#else - return pthread_cond_init (cond, attr); -#endif /* PACE_LYNXOS != 0x300 */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_signal (pace_pthread_cond_t * cond) -{ - return pthread_cond_signal (cond); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_timedwait (pthread_cond_t * cond, - pace_pthread_mutex_t * mutex, - const pace_timespec * abstime) -{ - return pthread_cond_timedwait (cond, mutex, PACE_NONCONST_ARG_CAST (struct timespec *) abstime); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_wait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex) -{ - return pthread_cond_wait (cond, mutex); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_destroy (pace_pthread_condattr_t * attr) -{ - return pthread_condattr_destroy (attr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_getpshared (const pace_pthread_condattr_t * attr, - int * pshared) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - return -1; -#else - return pthread_condattr_getpshared (PACE_NONCONST_ARG_CAST (pace_pthread_condattr_t *) attr, pshared); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_init (pace_pthread_condattr_t * attr) -{ - return pthread_condattr_init (attr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_setpshared (pace_pthread_condattr_t * attr, - int pshared) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - return -1; -#else - return pthread_condattr_setpshared (attr, pshared); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# if defined (PACE_HAS_CPLUSPLUS) -PACE_INLINE -int -pace_pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - pace_create_pf start_routine, - void * arg) -{ - return pthread_create (thread, attr, start_routine, arg); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -int -pace_pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg) -{ -#if PACE_LYNXOS == 0x300 - return pthread_create (thread, *attr, start_routine, arg); -#else - return pthread_create (thread, attr, start_routine, arg); -#endif /* PACE_LYNXOS != 0x300 */ -} -# endif /*! PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_detach (pace_pthread_t thread) -{ -#if PACE_LYNXOS == 0x300 - return pthread_detach (&thread); -#else - return pthread_detach (thread); -#endif /* PACE_LYNXOS != 0x300 */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_equal (pace_pthread_t t1, pthread_t t2) -{ - return pthread_equal (t1, t2); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -pace_pthread_exit (void * value_ptr) -{ - pthread_exit (value_ptr); - return; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param) -{ - return pthread_getschedparam (thread, policy, param); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_pthread_getspecific (pace_pthread_key_t key) -{ -#if PACE_LYNXOS == 0x300 - void *value; - if (pthread_getspecific (key, &value) != 0) - return 0; - - return value; -#else - return pthread_getspecific (key); -#endif /* PACE_LYNXOS != 0x300 */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_join (pace_pthread_t thread, void ** value_ptr) -{ - return pthread_join (thread, value_ptr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# if defined (PACE_HAS_CPLUSPLUS) -PACE_INLINE -int -pace_pthread_key_create (pace_pthread_key_t * key, - pace_keycreate_pf destructor) -{ - return pthread_key_create (key, destructor); -} -#else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -int -pace_pthread_key_create (pace_pthread_key_t * key, - void (*destructor)(void*)) -{ - return pthread_key_create (key, destructor); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_key_delete (pace_pthread_key_t key) -{ - return pthread_key_delete (key); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_kill (pace_pthread_t thread, int sig) -{ - return pthread_kill (thread, sig); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_destroy (pace_pthread_mutex_t * mutex) -{ - return pthread_mutex_destroy (mutex); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_getprioceiling (pace_pthread_mutex_t * mutex, - int * prioceiling) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (mutex); - PACE_UNUSED_ARG (prioceiling); - return -1; -#elif PACE_LYNXOS - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#else /* ! PACE_LYNXOS */ - return pthread_mutex_getprioceiling (mutex, prioceiling); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr) -{ -#if PACE_LYNXOS == 0x300 - return pthread_mutex_init (mutex, *attr); -#else - return pthread_mutex_init (mutex, attr); -#endif /* PACE_LYNXOS != 0x300 */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_lock (pace_pthread_mutex_t * mutex) -{ - return pthread_mutex_lock (mutex); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_setprioceiling (pace_pthread_mutex_t * mutex, - int prioceiling, - int * old_ceiling) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (mutex); - PACE_UNUSED_ARG (prioceiling); - PACE_UNUSED_ARG (old_ceiling); - return -1; -#elif PACE_LYNXOS - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#else /* ! PACE_LYNXOS */ - return pthread_mutex_setprioceiling (mutex, prioceiling, old_ceiling); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_trylock (pthread_mutex_t * mutex) -{ - return pthread_mutex_trylock (mutex); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_unlock (pace_pthread_mutex_t * mutex) -{ - return pthread_mutex_unlock (mutex); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_destroy (pace_pthread_mutexattr_t * attr) -{ - return pthread_mutexattr_destroy (attr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getprioceiling (pace_pthread_mutexattr_t * attr, - int * prioceiling) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (prioceiling); - return -1; -#else - return pthread_mutexattr_getprioceiling (attr, prioceiling); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getprotocol (const pace_pthread_mutexattr_t * attr, - int * protocol) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (protocol); - return -1; -#else - return pthread_mutexattr_getprotocol (PACE_NONCONST_ARG_CAST (pace_pthread_mutexattr_t *) attr, protocol); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setprioceiling (pace_pthread_mutexattr_t * attr, - int prioceiling) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (prioceiling); - return -1; -#else - return pthread_mutexattr_setprioceiling (attr, prioceiling); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (protocol); - return -1; -#else - return pthread_mutexattr_setprotocol (attr, protocol); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getpshared (const pace_pthread_mutexattr_t * attr, - int * pshared) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - return -1; -#else - return pthread_mutexattr_getpshared (PACE_NONCONST_ARG_CAST (pace_pthread_mutexattr_t *) attr, pshared); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_init (pace_pthread_mutexattr_t * attr) -{ - return pthread_mutexattr_init (attr); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - return -1; -#else - return pthread_mutexattr_setpshared (attr, pshared); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# if defined (PACE_HAS_CPLUSPLUS) -PACE_INLINE -int -pace_pthread_once (pace_pthread_once_t * once_control, - pace_once_pf void_routine) -{ - return pthread_once (once_control, void_routine); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -int -pace_pthread_once (pace_pthread_once_t * once_control, - void (*void_routine) (void)) -{ - return pthread_once (once_control, void_routine); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_pthread_t -pace_pthread_self () -{ - return pthread_self (); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setcancelstate (int state, int * oldstate) -{ - return pthread_setcancelstate (state, oldstate); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setcanceltype (int type, int * oldtype) -{ - return pthread_setcanceltype (type, oldtype); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param) -{ - return pthread_setschedparam (thread, policy, param); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setspecific (pace_pthread_key_t key, const void * value) -{ - return pthread_setspecific (key, PACE_NONCONST_ARG_CAST (void *) value); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_sigmask (int how, const sigset_t * set, - sigset_t * oset) -{ - return pthread_sigmask (how, set, oset); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -pace_pthread_testcancel () -{ - pthread_testcancel (); - return; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/pwd.c b/PACE/pace/posix/pwd.c deleted file mode 100644 index 6284186cd66..00000000000 --- a/PACE/pace/posix/pwd.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/pwd.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/pwd.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/pwd.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/pwd.h b/PACE/pace/posix/pwd.h deleted file mode 100644 index 70398e0871c..00000000000 --- a/PACE/pace/posix/pwd.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/pwd.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_PWD_H_POSIX -#define PACE_PWD_H_POSIX - -#include -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_PASSWD -#define PACE_PASSWD - typedef struct passwd pace_passwd; -#endif /* PACE_PASSWD */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PWD_H_POSIX */ diff --git a/PACE/pace/posix/pwd.inl b/PACE/pace/posix/pwd.inl deleted file mode 100644 index ee52fd2be0d..00000000000 --- a/PACE/pace/posix/pwd.inl +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/pwd.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_passwd * -pace_getpwuid (pace_uid_t uid) -{ - return getpwuid (uid); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getpwuid_r (pace_uid_t uid, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result) -{ -#if (PACE_LYNXOS) - if (getpwuid_r (pwd, uid, buffer, bufsize) == 0) - /* Successful search */ - { - **result = *pwd; - return 0; - } - - return -1; -#else - return getpwuid_r (uid, pwd, buffer, bufsize, result); -#endif /* ! PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_passwd * -pace_getpwnam (const char * name) -{ - return getpwnam (name); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getpwnam_r (const char * name, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result) -{ -# if (PACE_LYNXOS) - if (getpwnam_r (pwd, PACE_NONCONST_ARG_CAST (char *) name, - buffer, bufsize) == 0) - /* Successful search */ - { - **result = *pwd; - return 0; - } - - return -1; -#else - return getpwnam_r (name, pwd, buffer, bufsize, result); -#endif /* ! PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ diff --git a/PACE/pace/posix/sched.c b/PACE/pace/posix/sched.c deleted file mode 100644 index d78a66dbc7f..00000000000 --- a/PACE/pace/posix/sched.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/sched.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sched.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/sched.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/sched.h b/PACE/pace/posix/sched.h deleted file mode 100644 index a3405d2bbd1..00000000000 --- a/PACE/pace/posix/sched.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/sched.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SCHED_H_POSIX -#define PACE_SCHED_H_POSIX - -#include -#include "pace/time.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_SCHED_FIFO SCHED_FIFO -#define PACE_SCHED_OTHER SCHED_RR - -#ifndef PACE_SCHED_PARAM -#define PACE_SCHED_PARAM - typedef struct sched_param pace_sched_param; -#endif /* PACE_SCHED_PARAM */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SCHED_H_POSIX */ diff --git a/PACE/pace/posix/sched.inl b/PACE/pace/posix/sched.inl deleted file mode 100644 index 86f3ac7d776..00000000000 --- a/PACE/pace/posix/sched.inl +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/sched.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_get_priority_max (int policy) -{ - return sched_get_priority_max (policy); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_get_priority_min (int policy) -{ - return sched_get_priority_min (policy); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_getparam (pace_pid_t pid, - pace_sched_param * param) -{ - return sched_getparam (pid, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_rr_get_interval (pace_pid_t pid, - pace_timespec * interval) -{ -#if PACE_SUNOS == 551 - return sched_get_rr_get_interval (pid, interval); -#else - return sched_rr_get_interval (pid, interval); -#endif /* PACE_SUNOS != 551 */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_setparam (pace_pid_t pid, - const pace_sched_param * param) -{ - return sched_setparam (pid, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_getscheduler (pace_pid_t pid) -{ - return sched_getscheduler (pid); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_setscheduler (pace_pid_t pid, - int policy, - const pace_sched_param * param) -{ - return sched_setscheduler (pid, policy, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_yield () -{ - return sched_yield (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/semaphore.c b/PACE/pace/posix/semaphore.c deleted file mode 100644 index 695190f4531..00000000000 --- a/PACE/pace/posix/semaphore.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/semaphore.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/semaphore.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/semaphore.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/semaphore.h b/PACE/pace/posix/semaphore.h deleted file mode 100644 index 4cdf0d3dd04..00000000000 --- a/PACE/pace/posix/semaphore.h +++ /dev/null @@ -1,31 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/semaphore.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SEMAPHORE_H_POSIX -#define PACE_SEMAPHORE_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -typedef sem_t pace_sem_t; - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SEMAPHORE_H_POSIX */ diff --git a/PACE/pace/posix/semaphore.inl b/PACE/pace/posix/semaphore.inl deleted file mode 100644 index b0d4fb21906..00000000000 --- a/PACE/pace/posix/semaphore.inl +++ /dev/null @@ -1,86 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/semaphore.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_close (pace_sem_t * sem) -{ - return sem_close (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_destroy (pace_sem_t * sem) -{ - return sem_destroy (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_getvalue (pace_sem_t * sem, int * sval) -{ - return sem_getvalue (sem, sval); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_init (pace_sem_t * sem, int pshared, unsigned int value) -{ - return sem_init (sem, pshared, value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_post (pace_sem_t * sem) -{ - return sem_post (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_trywait (pace_sem_t * sem) -{ - return sem_trywait (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_unlink (const char * name) -{ - return sem_unlink (name); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_wait (pace_sem_t * sem) -{ - return sem_wait (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/setjmp.c b/PACE/pace/posix/setjmp.c deleted file mode 100644 index 00db5828a7c..00000000000 --- a/PACE/pace/posix/setjmp.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/setjmp.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/setjmp.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/setjmp.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/setjmp.h b/PACE/pace/posix/setjmp.h deleted file mode 100644 index 30221f2e74d..00000000000 --- a/PACE/pace/posix/setjmp.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/setjmp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SETJMP_H_POSIX -#define PACE_SETJMP_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - typedef jmp_buf pace_jmp_buf; - typedef sigjmp_buf pace_sigjmp_buf; - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SETJMP_H_POSIX */ diff --git a/PACE/pace/posix/setjmp.inl b/PACE/pace/posix/setjmp.inl deleted file mode 100644 index e51bcb77167..00000000000 --- a/PACE/pace/posix/setjmp.inl +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/setjmp.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_longjmp (pace_jmp_buf env, int val) -{ - longjmp (env, val); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -void -pace_siglongjmp (pace_sigjmp_buf env, int val) -{ - siglongjmp (env, val); - return; -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ diff --git a/PACE/pace/posix/signal.c b/PACE/pace/posix/signal.c deleted file mode 100644 index 46d96b76fb0..00000000000 --- a/PACE/pace/posix/signal.c +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/signal.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/signal.h" - -#if (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/signal.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_CPLUSPLUS) -} -#endif diff --git a/PACE/pace/posix/signal.h b/PACE/pace/posix/signal.h deleted file mode 100644 index 6362595ae31..00000000000 --- a/PACE/pace/posix/signal.h +++ /dev/null @@ -1,71 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/signal.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#ifndef PACE_SIGNAL_H_POSIX -#define PACE_SIGNAL_H_POSIX - -#include -#include "pace/sys/types.h" -#include "pace/time.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_SIG_PF -# define PACE_SIG_PF - typedef void (*pace_sig_pf)(int); -#endif /* PACE_SIG_PF */ - -#ifndef PACE_SIG_ATOMIC_T -#define PACE_SIG_ATOMIC_T - typedef sig_atomic_t pace_sig_atomic_t; -#endif /* PACE_SIG_ATOMIC_T */ - -#ifndef PACE_SIGSET_T -#define PACE_SIGSET_T - typedef sigset_t pace_sigset_t; -#endif /* PACE_SIGSET_T */ - -#ifndef PACE_SIGACTION_S -#define PACE_SIGACTION_S - typedef struct sigaction pace_sigaction_s; -#endif /* PACE_SIGACTION_S */ - -#ifndef PACE_SIGINFO_T -#define PACE_SIGINFO_T - typedef siginfo_t pace_siginfo_t; -#endif /* PACE_SIGINFO_T */ - -#ifndef PACE_SIGEVENT -#define PACE_SIGEVENT - typedef struct sigevent pace_sigevent; -#endif /* PACE_SIGEVENT */ - -#ifndef PACE_SIGVAL -#define PACE_SIGVAL - typedef union sigval pace_sigval; -#endif /* PACE_SIGVAL */ - -#ifndef PACE_TIMESPEC -#define PACE_TIMESPEC - typedef struct timespec pace_timespec; -#endif /* PACE_TIMESPEC */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SIGNAL_H_POSIX */ diff --git a/PACE/pace/posix/signal.inl b/PACE/pace/posix/signal.inl deleted file mode 100644 index ce591600baa..00000000000 --- a/PACE/pace/posix/signal.inl +++ /dev/null @@ -1,167 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/signal.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/pthread.h" -#include "pace/time.h" - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_kill (pace_pid_t pid, int sig) -{ - return kill (pid, sig); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_raise (int sig) -{ - /* Implementation from POSIX std 8.1:54 */ - return pthread_kill (pthread_self (), sig); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigaction (int sig, const pace_sigaction_s * act, - pace_sigaction_s * oact) -{ - return sigaction (sig, act, oact); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigaddset (pace_sigset_t * set, int signo) -{ - return sigaddset (set, signo); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigemptyset (pace_sigset_t * set) -{ - return sigemptyset (set); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigdelset (pace_sigset_t * set, int signo) -{ - return sigdelset (set, signo); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigfillset (pace_sigset_t * set) -{ - return sigfillset (set); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigismember (const pace_sigset_t * set, int signo) -{ - return sigismember (set, signo); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_sig_pf -pace_signal (int sig, pace_sig_pf func) -{ - return signal (sig, func); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigpending (pace_sigset_t * set) -{ - return sigpending (set); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigprocmask (int how, const pace_sigset_t * set, - pace_sigset_t * oset) -{ - return sigprocmask (how, set, oset); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigqueue (pace_pid_t pid, int signo, - const pace_sigval value) -{ - return sigqueue (pid, signo, value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigsuspend (const pace_sigset_t * sigmask) -{ - return sigsuspend (sigmask); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigtimedwait (const pace_sigset_t * set, pace_siginfo_t * info, - const pace_timespec * timeout) -{ - return sigtimedwait (set, info, timeout); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigwait (const pace_sigset_t * set, int * sig) -{ - return sigwait (PACE_NONCONST_ARG_CAST (pace_sigset_t *) set, - PACE_VOIDSTARTSTAR_ARG_CAST (void**) sig); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigwaitinfo (const pace_sigset_t *set, pace_siginfo_t *info) -{ - return sigwaitinfo (set, info); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/socket.c b/PACE/pace/posix/socket.c deleted file mode 100644 index ef5494116c7..00000000000 --- a/PACE/pace/posix/socket.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/socket.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/socket.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/socket.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/socket.h b/PACE/pace/posix/socket.h deleted file mode 100644 index 187230d776a..00000000000 --- a/PACE/pace/posix/socket.h +++ /dev/null @@ -1,231 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/socket.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SOCKET_H_POSIX -#define PACE_SOCKET_H_POSIX - -#include -#if PACE_LYNXOS == 0x300 || PACE_LYNXOS == 0x310 -#include -#include -#else -#include -#include -#endif /* PACE_LYNXOS != 0x300 && PACE_LYNXOS != 0x310 */ - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_SOMAXCONN -#define PACE_SOMAXCONN SOMAXCONN -#endif /* PACE_SOMAXCONN */ - -#ifndef PACE_SOCKLEN_T -#define PACE_SOCKLEN_T -# if PACE_LYNXOS == 0x300 || PACE_LYNXOS == 0x310 || PACE_SUNOS == 551 || PACE_SUNOS == 560 || PACE_QNX == 600 - typedef int pace_socklen_t; -# else - typedef socklen_t pace_socklen_t; -# endif /* PACE_LYNXOS != 0x300 && PACE_LYNXOS != 0x310 */ -#endif /* PACE_SOCKLEN_T */ - -#ifndef PACE_SA_FAMILY_T -#define PACE_SA_FAMILY_T -# if PACE_LYNXOS != 0x300 && PACE_LYNXOS != 0x310 && PACE_SUNOS != 551 && (PACE_HPUX) - typedef sa_family_t pace_family_t; -# endif /* PACE_LYNXOS != 0x300 && PACE_LYNXOS != 0x310 */ -#endif /* PACE_SA_FAMILY_T */ - -#ifndef PACE_MSGHDR -#define PACE_MSGHDR - typedef struct msghdr pace_msghdr; -#endif /* PACE_MSGHDR */ - -#ifndef PACE_CMSGRHDR -#define PACE_CMSGRHDR - typedef struct cmsghdr pace_cmsghdr; -#endif /* PACE_CMSGRHDR */ - -#ifndef PACE_LINGER -#define PACE_LINGER - typedef struct linger pace_linger; -#endif /* PACE_LINGER */ - -#ifndef PACE_SOCK_STREAM -#define PACE_SOCK_STREAM SOCK_STREAM -#endif /* PACE_SOCK_STREAM */ - -#ifndef PACE_SOCK_DGRAM -#define PACE_SOCK_DGRAM SOCK_DGRAM -#endif /* PACE_SOCK_DGRAM */ - -#ifndef PACE_SOCK_RAW -#define PACE_SOCK_RAW SOCK_RAW -#endif /* PACE_MSGHDR */ - -#ifndef PACE_SOCK_SEQPACKET -#define PACE_SOCK_SEQPACKET SOCK_SEQPACKET -#endif /* PACE_SOCK_SEQPACKET */ - -#ifndef PACE_PF_UNSPEC -#define PACE_PF_UNSPEC PF_UNSPEC -#endif /* PACE_PF_UNSPEC */ - -#ifndef PACE_PF_LOCAL -#define PACE_PF_LOCAL PF_LOCAL -#endif /* PACE_PF_LOCAL */ - -#ifndef PACE_PF_INET -#define PACE_PF_INET PF_INET -#endif /* PACE_PF_INET */ - -#ifndef PACE_PF_ISO -#define PACE_PF_ISO PF_ISO -#endif /* PACE_PF_ISO */ - -#ifndef PACE_PF_OSI -#define PACE_PF_OSI PF_OSI -#endif /* PACE_PF_OSI */ - -#ifndef PACE_AF_UNSPEC -#define PACE_AF_UNSPEC AF_UNSPEC -#endif /* PACE_AF_UNSPEC */ - -#ifndef PACE_AF_LOCAL -#define PACE_AF_LOCAL AF_LOCAL -#endif /* PACE_AF_LOCAL */ - -#ifndef PACE_AF_INET -#define PACE_AF_INET AF_INET -#endif /* PACE_AF_INET */ - -#ifndef PACE_AF_ISO -#define PACE_AF_ISO AF_ISO -#endif /* PACE_AF_ISO */ - -#ifndef PACE_AF_OSI -#define PACE_AF_OSI AF_OSI -#endif /* PACE_AF_OSI */ - -#ifndef PACE_MSG_OOB -#define PACE_MSG_OOB MSG_OOB -#endif /* PACE_MSG_OOB */ - -#ifndef PACE_MSG_PEEK -#define PACE_MSG_PEEK MSG_PEEK -#endif /* PACE_MSG_PEEK */ - -#ifndef PACE_MSG_DONTROUTE -#define PACE_MSG_DONTROUTE MSG_DONTROUTE -#endif /* PACE_MSG_DONTROUTE */ - -#ifndef PACE_MSG_EOR -#define PACE_MSG_EOR MSG_EOR -#endif /* PACE_MSG_EOR */ - -#ifndef PACE_MSG_TRUNC -#define PACE_MSG_TRUNC MSG_TRUNC -#endif /* PACE_MSG_TRUNC */ - -#ifndef PACE_MSG_CTRUNC -#define PACE_MSG_CTRUNC MSG_CTRUNC -#endif /* PACE_MSG_CTRUNC */ - -#ifndef PACE_MSG_WAITALL -#define PACE_MSG_WAITALL MSG_WAITALL -#endif /* PACE_MSG_WAITALL */ - -#ifndef PACE_SOL_SOCKET -#define PACE_SOL_SOCKET SOL_SOCKET -#endif /* PACE_SOL_SOCKET */ - -#ifndef PACE_SO_BROADCAST -#define PACE_SO_BROADCAST SO_BROADCAST -#endif /* PACE_SO_BROADCAST */ - -#ifndef PACE_SO_DEBUG -#define PACE_SO_DEBUG SO_DEBUG -#endif /* PACE_SO_DEBUG */ - -#ifndef PACE_SO_DONTROUTE -#define PACE_SO_DONTROUTE SO_DONTROUTE -#endif /* PACE_SO_DONTROUTE */ - -#ifndef PACE_SO_ERROR -#define PACE_SO_ERROR SO_ERROR -#endif /* PACE_SO_ERROR */ - -#ifndef PACE_SO_KEEPALIVE -#define PACE_SO_KEEPALIVE SO_KEEPALIVE -#endif /* PACE_SO_KEEPALIVE */ - -#ifndef PACE_SO_LINGER -#define PACE_SO_LINGER SO_LINGER -#endif /* PACE_SO_LINGER */ - -#ifndef PACE_SO_OOBINLINE -#define PACE_SO_OOBINLINE SO_OOBINLINE -#endif /* PACE_SO_OOBINLINE */ - -#ifndef PACE_SO_RCVBUF -#define PACE_SO_RCVBUF SO_RCVBUF -#endif /* PACE_SO_RCVBUF */ - -#ifndef PACE_SO_RCVLOWAT -#define PACE_SO_RCVLOWAT SO_RCVLOWAT -#endif /* PACE_SO_RCVLOWAT */ - -#ifndef PACE_SO_RCVTIMEO -#define PACE_SO_RCVTIMEO SO_RCVTIMEO -#endif /* PACE_SO_RCVTIMEO */ - -#ifndef PACE_SO_REUSEADDR -#define PACE_SO_REUSEADDR SO_REUSEADDR -#endif /* PACE_SO_REUSEADDR */ - -#ifndef PACE_SO_SNDBUF -#define PACE_SO_SNDBUF SO_SNDBUF -#endif /* PACE_SO_SNDBUF */ - -#ifndef PACE_SO_SNDLOWAT -#define PACE_SO_SNDLOWAT SO_SNDLOWAT -#endif /* PACE_SO_SNDLOWAT */ - -#ifndef PACE_SO_SNDTIMEO -#define PACE_SO_SNDTIMEO SO_SNDTIMEO -#endif /* PACE_SO_SNDTIMEO */ - -#ifndef PACE_SO_TYPE -#define PACE_SO_TYPE SO_TYPE -#endif /* PACE_SO_TYPE */ - -#ifndef PACE_CMSG_DATA -#define PACE_CMSG_DATA(cmsg) CMSG_DATA(cmsg) -#endif /* PACE_CMSG_DATA */ - -#ifndef PACE_CMSG_NXTHDR -#define PACE_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) -#endif /* PACE_CMSG_DATA */ - -#ifndef PACE_CMSG_FIRSTHDR -#define PACE_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) -#endif /* PACE_CMSG_DATA */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SOCKET_H_POSIX */ diff --git a/PACE/pace/posix/socket.inl b/PACE/pace/posix/socket.inl deleted file mode 100644 index 5b38e4e198c..00000000000 --- a/PACE/pace/posix/socket.inl +++ /dev/null @@ -1,242 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/socket.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include -#include - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_accept (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen) -{ - accept (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_bind (int s, - const pace_sockaddr * socketaddress, - pace_socklen_t addresslen) -{ - bind (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_connect (int s, - const pace_sockaddr * socketaddress, - pace_socklen_t addresslen) -{ - connect (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_getpeername (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen) -{ - getpeername (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_getsockname (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen) -{ - getsockname (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_getsockopt (int s, - int level, - int optname, - void * optval, - pace_socklen_t optlen) -{ - getsockopt (s, level, optname, optval, optlen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_setsockopt (int s, - int level, - int optname, - const * optval) -{ - setsockopt (s, level, optname, optval); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_setsockopt (int s, - int level, - int optname, - const * optval) -{ - setsockopt (s, level, optname, optval); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_isfdtype (int fildes, int fdtype) -{ - isfdtype (fildes, fdtype); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_listen (int s, int backlog) -{ - listen (s, backlog); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_recv (int s, - void * buf, - pace_size_t len, - int flags) -{ - recv (s, buf, len, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_recvfrom (int s, - void * buf, - pace_size_t len, - int flags, - pace_sockaddr * from, - pace_socklen_t * fromlen) -{ - recvfrom (s, buf, len, flags, from, fromlen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_rcvmsg (int s, - pace_msghdr * msg, - int flags) -{ - rcvmsg (s, msg, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_send (int s, - const void * buf, - pace_size_t len, - int flags) -{ - send (s, buf, len, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_sendto (int s, - const void * buf, - pace_size_t len, - int flags, - const pace_sockaddr * to, - pace_socklen_t * tolen) -{ - sendto (s, buf, len, flags, to, tolen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_sendmsg (int s, - const pace_msghdr * msg, - int flags) -{ - sendmsg (s, msg, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_shutdown (int s, int how) -{ - shutdown (s, how); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_socket (int protofamily, int type, int protocol) -{ - socket (protofamily, type, protocol); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_socketpair (int protofamily, - int type, - int protocol, - int sv[2]) -{ - socketpair (protofamily, type, protocol, sy); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - - - - - - - - - - - diff --git a/PACE/pace/posix/stat.c b/PACE/pace/posix/stat.c deleted file mode 100644 index efd10b03f76..00000000000 --- a/PACE/pace/posix/stat.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stat.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/stat.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/stat.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/stat.h b/PACE/pace/posix/stat.h deleted file mode 100644 index 1fc9ca38e74..00000000000 --- a/PACE/pace/posix/stat.h +++ /dev/null @@ -1,58 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stat.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_STAT_H_POSIX -#define PACE_SYS_STAT_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_S_IRGRP S_IRGRP -#define PACE_S_IROTH S_IROTH -#define PACE_S_IRUSR S_IRUSR -#define PACE_S_IRWXG S_IRWXG -#define PACE_S_IRWXO S_IRWXO -#define PACE_S_IRWXU S_IRWXU -#define PACE_S_ISBLK S_ISBLK -#define PACE_S_ISCHR S_ISCHR -#define PACE_S_ISDIR S_ISDIR -#define PACE_S_ISFIFO S_ISFIFO -#define PACE_S_ISGID S_SIGID -#define PACE_S_ISREG S_ISREG -#define PACE_S_ISUID S_ISUID -#define PACE_S_IWGRP S_IWGRP -#define PACE_S_IWOTH S_IWOTH -#define PACE_S_IWUSR S_IWUSR -#define PACE_S_IXGRP S_IXGRP -#define PACE_S_IXOTH S_IXOTH -#define PACE_S_IXUSR S_IXUSR -#define PACE_S_TYPEISMQ S_TYPEISMQ -#define PACE_S_TYPEISSEM S_TYPEISSEM -#define PACE_S_TYPEISSHM S_TYPEISSHM - -#ifndef PACE_STAT -#define PACE_STAT - /* Kludge since there is a func and a type of the same name */ - typedef struct stat pace_stat_s; -#endif /* PACE_STAT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_STAT_H_POSIX */ diff --git a/PACE/pace/posix/stat.inl b/PACE/pace/posix/stat.inl deleted file mode 100644 index fa9b1e61714..00000000000 --- a/PACE/pace/posix/stat.inl +++ /dev/null @@ -1,77 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stat.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -int -pace_chmod (const char * path, pace_mode_t mode) -{ - return chmod (path, mode); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fchmod (PACE_HANDLE fildes, pace_mode_t mode) -{ - return fchmod (fildes, mode); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf) -{ - return fstat (fildes, buf); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_mkdir (const char * path, pace_mode_t mode) -{ - return mkdir (path, mode); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_F_UOF) -PACE_INLINE -int -pace_mkfifo (const char * path, pace_mode_t mode) -{ - return mkfifo (path, mode); -} -#endif /* PACE_HAS_POSIX_F_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_stat (const char * path, pace_stat_s * buf) -{ - return stat (path, buf); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -pace_mode_t -pace_umask (pace_mode_t cmask) -{ - return umask (cmask); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ diff --git a/PACE/pace/posix/stdio.c b/PACE/pace/posix/stdio.c deleted file mode 100644 index 251d6da309d..00000000000 --- a/PACE/pace/posix/stdio.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stdio.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/stdio.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/stdio.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/stdio.h b/PACE/pace/posix/stdio.h deleted file mode 100644 index 901476acd75..00000000000 --- a/PACE/pace/posix/stdio.h +++ /dev/null @@ -1,58 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stdio.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDIO_H_POSIX -#define PACE_STDIO_H_POSIX - -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_BUFSIZ BUFSIZ -#define PACE_EOF EOF -#define PACE_FILENAME_MAX FILENAME_MAX -#define PACE_L_ctermid L_ctermid -#define PACE_L_cuserid L_cuserid -#ifndef PACE_NULL -#define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_SEEK_CUR SEEK_CUR -#define PACE_SEEK_END SEEK_END -#define PACE_SEEK_SET SEEK_SET -#define PACE_TMP_MAX TMP_MAX -#define pace_stderr stderr -#define pace_stdout stdout -#define pace_stdin stdin - -#ifndef PACE_FPOS_T -#define PACE_FPOS_T -typedef fpos_t pace_fpos_t; -#endif /* PACE_FPOS_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -typedef FILE PACE_FILE; - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDIO_H_POSIX */ diff --git a/PACE/pace/posix/stdio.inl b/PACE/pace/posix/stdio.inl deleted file mode 100644 index 630d7c5e2bc..00000000000 --- a/PACE/pace/posix/stdio.inl +++ /dev/null @@ -1,502 +0,0 @@ -/* $Id$ -*- C -*- - - * =========================================================================== - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stdio.inl - * - * = AUTHOR - * Luther Baker - * - * =========================================================================== */ - -#include - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_clearerr (FILE * stream) -{ - clearerr (stream); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -char * -pace_ctermid (char * s) -{ - return ctermid (s); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fclose (FILE * stream) -{ - return fclose (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_fdopen (int fildes, - const char * type) -{ - return fdopen (fildes, - type); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_ferror (FILE * stream) -{ - return ferror (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_feof (FILE * stream) -{ - return feof (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fflush (FILE * stream) -{ - return fflush (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fileno (FILE * stream) -{ - return fileno (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fgetc (FILE * stream) -{ - return fgetc (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fgetpos(PACE_FILE * stream, - pace_fpos_t * pos) -{ - return fgetpos (stream, pos); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -char * -pace_fgets (char * s, - int n, - FILE * stream) -{ - return fgets (s, - n, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -void -pace_flockfile (FILE * file) -{ -#if defined (PACE_HAS_REENTRANT) - flockfile (file); -#else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG (file); - PACE_ERRNO_NO_SUPPORT (); -#endif /* ! PACE_HAS_REENTRANT */ - return; -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_fopen (const char * filename, - const char * mode) -{ - return fopen (filename, - mode); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fputc (int c, - FILE * stream) -{ - return fputc (c, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fputs (const char * s, - FILE * stream) -{ - return fputs (s, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -size_t -pace_fread (void * ptr, - size_t size, - size_t number_of_items, - FILE * stream) -{ - return fread (ptr, - size, - number_of_items, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_freopen (const char * filename, - const char * mode, - FILE * stream) -{ - return freopen (filename, - mode, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -int -pace_fseek (FILE * stream, - long offset, - int whence) -{ - return fseek (stream, - offset, - whence); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fsetpos(PACE_FILE *stream, const pace_fpos_t *pos) -{ - return fsetpos (stream, pos); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -long -pace_ftell (FILE * stream) -{ - return ftell (stream); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_ftrylockfile (FILE * file) -{ -#if defined (PACE_HAS_REENTRANT) - return ftrylockfile (file); -#else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG(file); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#endif /* ! PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -void -pace_funlockfile (FILE * file) -{ -#if defined (PACE_HAS_REENTRANT) - funlockfile (file); -#else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG(file); - PACE_ERRNO_NO_SUPPORT (); -#endif /* ! PACE_HAS_REENTRANT */ - return; -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -pace_size_t -pace_fwrite(const void * ptr, - pace_size_t size, pace_size_t nmemb, - PACE_FILE * stream) -{ - return fwrite (ptr, size, nmemb, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_getc (FILE * stream) -{ - return getc (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_getc_unlocked (FILE * stream) -{ -#if defined (PACE_HAS_REENTRANT) - return getc_unlocked (stream); -#else /* ! PACE_HAS_POSIX */ - PACE_UNUSED_ARG(stream); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#endif /* ! PACE_HAS_POSIX */ -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_getchar () -{ - return getchar (); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_getchar_unlocked () -{ -#if defined (PACE_HAS_REENTRANT) - return getchar_unlocked (); -#else /* ! PACE_HAS_REENTRANT */ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#endif /* ! PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -char * -pace_gets (char * s) -{ - return gets (s); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_perror (const char * s) -{ - perror (s); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_putc (int c, - FILE * stream) -{ - return putc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_putc_unlocked (int c, - FILE * stream) -{ -#if defined (PACE_HAS_REENTRANT) - return putc_unlocked (c, stream); -#else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG(c); - PACE_UNUSED_ARG(stream); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#endif /* ! PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_putchar (int c) -{ - return putchar (c); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_putchar_unlocked (int c) -{ -#if defined (PACE_HAS_REENTRANT) - return putchar_unlocked (c); -#else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG(c); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#endif /* ! PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_puts (const char * s) -{ - return puts (s); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_remove (const char * path) -{ - return remove (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_rename (const char * old_name, - const char * new_name) -{ - return rename (old_name, - new_name); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -void -pace_rewind (FILE * stream) -{ - rewind (stream); - return; -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_setbuf (FILE * stream, char * buf) -{ - setbuf (stream, buf); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_setvbuf(PACE_FILE * stream, - char * buf, - int mode, pace_size_t size) -{ - return setvbuf (stream, buf, mode, size); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -FILE * -pace_tmpfile () -{ - return tmpfile (); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -char * -pace_tmpnam (char * s) -{ - return tmpnam (s); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_ungetc (int c, FILE * stream) -{ - return ungetc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vfprintf (PACE_FILE * stream, - const char * format, - va_list arg) -{ - return vfprintf (stream, format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vprintf (const char * format, - va_list arg) -{ - return vprintf (format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vsprintf (char * s, - const char * format, - va_list arg) -{ - return vsprintf (s, format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/posix/stdlib.c b/PACE/pace/posix/stdlib.c deleted file mode 100644 index 041a8bd0bbe..00000000000 --- a/PACE/pace/posix/stdlib.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stdlib.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/stdlib.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/stdlib.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/stdlib.h b/PACE/pace/posix/stdlib.h deleted file mode 100644 index 5e9b762e77b..00000000000 --- a/PACE/pace/posix/stdlib.h +++ /dev/null @@ -1,64 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stdlib.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDLIB_H_POSIX -#define PACE_STDLIB_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_EXIT_FAILURE EXIT_FAILURE -#define PACE_EXIT_SUCCESS EXIT_SUCCESS -#define PACE_MB_CUR_MAX MB_CUR_MAX -#ifndef PACE_NULL -# define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_RAND_MAX RAND_MAX - -#ifndef PACE_DIV_T -#define PACE_DIV_T - typedef div_t pace_div_t; -#endif /* PACE_DIV_T */ - -#ifndef PACE_LDIV_T -#define PACE_LDIV_T - typedef ldiv_t pace_ldiv_t; -#endif /* PACE_LDIV_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_WCHAR_T -#define PACE_WCHAR_T - typedef wchar_t pace_wchar_t; -#endif /* PACE_WCHAR_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -# ifndef PACE_BSEARCH_PF -# define PACE_BSEARCH_PF - typedef int (*pace_bsearch_pf) (const void*, const void*); -# endif /* PACE_BSEARCH_PF */ -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDLIB_H_POSIX */ diff --git a/PACE/pace/posix/stdlib.inl b/PACE/pace/posix/stdlib.inl deleted file mode 100644 index eb8e7f578a0..00000000000 --- a/PACE/pace/posix/stdlib.inl +++ /dev/null @@ -1,323 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/stdlib.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -void -pace_abort (void) -{ - abort (); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_abs (int val) -{ - return abs (val); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_atexit (void (*func)(void)) -{ - return atexit (func); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atof (const char * str) -{ - return atof (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_atoi (const char * str) -{ - return atoi (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -long -pace_atol (const char * str) -{ - return atol (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -# if defined (PACE_HAS_CPLUSPLUS) -PACE_INLINE -void * -pace_bsearch (const void *key, const void *base, - size_t nel, size_t size, - pace_bsearch_pf compar) -{ - return bsearch (key, base, nel, size, compar); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -void * -pace_bsearch (const void *key, const void *base, - size_t nel, size_t size, - int (*compar)(const void *,const void *)) -{ - return bsearch (key, base, nel, size, compar); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_div_t -pace_div (int numer, int denom) -{ - return div (numer, denom); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -void -pace_exit (int status) -{ - exit (status); - return; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -char * -pace_getenv (const char * name) -{ - return getenv (name); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -long int -pace_labs (long int j) -{ - return labs (j); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_ldiv_t -pace_ldiv (long int numer, long int denom) -{ - return ldiv (numer, denom); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mblen (const char* s, pace_size_t n) -{ - return mblen (s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_size_t -pace_mbstowcs (pace_wchar_t* pwcs, - const char* s, - pace_size_t n) -{ - return mbstowcs (pwcs, s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mbtowc (pace_wchar_t* pwc, - const char* s, - pace_size_t n) -{ - return mbtowc (pwc, s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -# if (PACE_HAS_CPLUSPLUS) -PACE_INLINE -void -pace_qsort (void * base, size_t nel, size_t width, - pace_bsearch_pf compar) -{ - qsort (base, nel, width, compar); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -void -pace_qsort (void * base, size_t nel, size_t width, - int (*compar)(const void *,const void *)) -{ - qsort (base, nel, width, compar); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_rand () -{ - return rand (); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_srand (unsigned int seed) -{ - srand (seed); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -int -pace_rand_r (unsigned int *seed) -{ -#if defined (PACE_HAS_REENTRANT) - return rand_r (seed); -#else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG (seed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -#endif /* ! PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -double -pace_strtod (const char* nptr, - char** endptr) -{ - return strtod (nptr, endptr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_strtol (const char* nptr, - char** endptr, - int base) -{ - return strtol (nptr, endptr, base); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -unsigned long int -pace_strtoul (const char* nptr, - char** endptr, - int base) -{ - return strtoul (nptr, endptr, base); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_system (const char* string) -{ - return system (string); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_size_t -pace_wcstombs (char* s, - const pace_wchar_t* pwcs, - pace_size_t n) -{ - return wcstombs (s, pwcs, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_wctomb (char* s, pace_wchar_t wchar) -{ - return wctomb (s, wchar); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -/* Memory Management. */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_malloc (size_t size) -{ - return malloc (size); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_calloc (size_t nelem, size_t elsize) -{ - return calloc (nelem, elsize); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_free (void * ptr) -{ - free (ptr); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_realloc (void * ptr, size_t size) -{ - return realloc (ptr, size); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/posix/string.c b/PACE/pace/posix/string.c deleted file mode 100644 index 4d06077a947..00000000000 --- a/PACE/pace/posix/string.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/string.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/string.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/string.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/string.h b/PACE/pace/posix/string.h deleted file mode 100644 index f25fd8b077e..00000000000 --- a/PACE/pace/posix/string.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/string.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STRING_H_POSIX -#define PACE_STRING_H_POSIX - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if !defined (PACE_NULL) -# define PACE_NULL NULL -#endif /* NULL */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STRING_H_POSIX */ diff --git a/PACE/pace/posix/string.inl b/PACE/pace/posix/string.inl deleted file mode 100644 index de23cfacf52..00000000000 --- a/PACE/pace/posix/string.inl +++ /dev/null @@ -1,206 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/string.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include -#include "pace/string.h" - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memchr (const void *s, int c, pace_size_t n) -{ - return (void*) memchr (s, c, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_memcmp (const void *s1, const void *s2, pace_size_t n) -{ - return memcmp (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memcpy (void * s1, const void * s2, pace_size_t n) -{ - return memcpy (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memmove (void *s1, const void *s2, pace_size_t n) -{ - return memmove (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_BROKEN_INLINE -void * -pace_memset (void *s, int c, pace_size_t n) -{ - return memset (s, c, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strcat (char * s1, const char * s2) -{ - return strcat (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strncat (char * s1, const char * s2, size_t n) -{ - return strncat (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strchr (const char * s, int c) -{ - return (char*) strchr (s, c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strrchr (const char * s, int c) -{ - return (char*) strrchr (s, c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -int -pace_strcmp (const char * s1, const char * s2) -{ - return strcmp (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -int -pace_strncmp (const char * s1, const char * s2, size_t n) -{ - return strncmp (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -char * -pace_strcpy (char * s1, const char * s2) -{ - return strcpy (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strncpy (char * s1, const char * s2, size_t n) -{ - return strncpy (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -size_t -pace_strcspn (const char * s1, const char * s2) -{ - return strcspn (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strspn (const char * s1, const char * s2) -{ - return strspn (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strlen (const char * s) -{ - return strlen (s); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -char * -pace_strpbrk (const char * s1, const char * s2) -{ - return (char*) strpbrk (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strstr (const char * s1, const char * s2) -{ - return (char*) strstr (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strtok (char * s1, const char * s2) -{ - return strtok (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_strtok_r (char * s, const char * sep, char ** lasts) -{ -# if defined (PACE_HAS_REENTRANT) || (PACE_LYNXOS) || (PACE_SUNOS) - return strtok_r (s, sep, lasts); -# else /* ! PACE_HAS_REENTRANT */ - PACE_UNUSED_ARG (s); - PACE_UNUSED_ARG (sep); - PACE_UNUSED_ARG (lasts); - PACE_ERRNO_NO_SUPPORT (); - return 0; -# endif /* ! PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ diff --git a/PACE/pace/posix/termios.c b/PACE/pace/posix/termios.c deleted file mode 100644 index e828411f160..00000000000 --- a/PACE/pace/posix/termios.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/termios.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/termios.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/termios.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/termios.h b/PACE/pace/posix/termios.h deleted file mode 100644 index e2fdb0d8af8..00000000000 --- a/PACE/pace/posix/termios.h +++ /dev/null @@ -1,50 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/termios.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TERMIOS_H_POSIX -#define PACE_SYS_TERMIOS_H_POSIX - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS) */ - -#ifndef PACE_CC_T -#define PACE_CC_T -typedef cc_t pace_cc_t; -#endif /* PACE_CC_T */ - -#ifndef PACE_SPEED_T -#define PACE_SPEED_T -typedef speed_t pace_speed_t; -#endif /* PACE_SPEED_T */ - -#ifndef PACE_TCFLAG_T -#define PACE_TCFLAG_T -typedef tcflag_t pace_tcflag_t; -#endif /* PACE_TCFLAG_T */ - -#ifndef PACE_TERMIOS -#define PACE_TERMIOS -typedef struct termios pace_termios; -#endif /* PACE_TERMIOS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TERMIOS_H_POSIX */ diff --git a/PACE/pace/posix/termios.inl b/PACE/pace/posix/termios.inl deleted file mode 100644 index df12227a79e..00000000000 --- a/PACE/pace/posix/termios.inl +++ /dev/null @@ -1,109 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/termios.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/unistd.h" -#include - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -pace_speed_t -pace_cfgetospeed (const pace_termios *termiosp) -{ - return cfgetospeed (termiosp); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_cfsetospeed (pace_termios *termios_p, pace_speed_t speed) -{ - return cfsetospeed (termios_p, speed); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -pace_speed_t -pace_cfgetispeed (const pace_termios *termios_p) -{ - return cfgetispeed (termios_p); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_cfsetispeed (pace_termios *termios_p, pace_speed_t speed) -{ - return cfsetispeed (termios_p, speed); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcdrain (PACE_HANDLE fildes) -{ - return tcdrain (fildes); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcgetattr (PACE_HANDLE fildes, pace_termios *termios_p) -{ - return tcgetattr (fildes, termios_p); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcflow (PACE_HANDLE fildes, int action) -{ - return tcflow (fildes, action); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcflush (PACE_HANDLE fildes, int queue_selector) -{ - return tcflush (fildes, queue_selector); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcsendbreak (PACE_HANDLE fildes, int duration) -{ - return tcsendbreak (fildes, duration); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcsetattr (PACE_HANDLE fildes, - int optional_actions, - const pace_termios *termios_p) -{ - return tcsetattr (fildes, optional_actions, termios_p); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ diff --git a/PACE/pace/posix/time.c b/PACE/pace/posix/time.c deleted file mode 100644 index 08f00379305..00000000000 --- a/PACE/pace/posix/time.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/time.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/time.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/time.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/time.h b/PACE/pace/posix/time.h deleted file mode 100644 index 8fb12b9f360..00000000000 --- a/PACE/pace/posix/time.h +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/time.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_TIME_H_POSIX -#define PACE_TIME_H_POSIX - -#if PACE_LINUX -# include "pace/emulation/time.h" -#endif /* PACE_LINUX */ - -#include -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_CLK_TCK CLK_TCK -#define PACE_CLOCKS_PER_SEC CLOCKS_PER_SEC -#define PACE_CLOCK_REALTIME CLOCK_REALTIME -#ifndef PACE_NULL -#define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_TIMER_ABSTIME TIMER_ABSTIME - -#ifndef PACE_CLOCKID_T -#define PACE_CLOCKID_T -# if defined PACE_EMU_CLOCKID_T - typedef pace_emu_clockid_t pace_clockid_t; -# else - typedef clockid_t pace_clockid_t; -# endif /* PACE_LINUX */ -#endif /* PACE_CLOCKID_T */ - -#ifndef PACE_CLOCK_T -#define PACE_CLOCK_T - typedef clock_t pace_clock_t; -#endif /* PACE_CLOCK_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_TIMER_T -#define PACE_TIMER_T -# if defined PACE_EMU_TIMER_T - typedef pace_emu_timer_t pace_timer_t; -# else - typedef timer_t pace_timer_t; -# endif /* PACE_LINUX */ -#endif /* PACE_TIMER_T */ - -#ifndef PACE_TIME_T -#define PACE_TIME_T - typedef time_t pace_time_t; -#endif /* PACE_TIME_T */ - -#ifndef PACE_TM -#define PACE_TM - typedef struct tm pace_tm; -#endif /* PACE_TM */ - -#ifndef PACE_TIMESPEC -#define PACE_TIMESPEC - typedef struct timespec pace_timespec; -#endif /* PACE_TIMESPEC */ - -#ifndef PACE_ITIMERSPEC -#define PACE_ITIMERSPEC - typedef struct itimerspec pace_itimerspec; -#endif /* PACE_ITIMERSPEC */ - -#ifndef PACE_SIGEVENT -#define PACE_SIGEVENT - typedef struct sigevent pace_sigevent; -#endif /* PACE_SIGEVENT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_TIME_H_POSIX */ diff --git a/PACE/pace/posix/time.inl b/PACE/pace/posix/time.inl deleted file mode 100644 index 415e728eb36..00000000000 --- a/PACE/pace/posix/time.inl +++ /dev/null @@ -1,324 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/time.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/errno.h" -#include "pace/signal.h" -extern int errno; - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_asctime (const pace_tm * time) -{ - return asctime (time); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_asctime_r (const pace_tm * time, char * buf) -{ -#if (PACE_LYNXOS) - /*lynxos 3.1 has POSIX.4 Draft 9 versions of this */ - if (asctime_r (time, buf, 26) != 0) - return (char*) 0; - return buf; -#else - return asctime_r (time, buf); -#endif /* PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_clock_t -pace_clock (void) -{ - return clock (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -double -pace_difftime (pace_time_t time1, pace_time_t time2) -{ - return difftime (time1, time2); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_getres (pace_clockid_t clock_id, - pace_timespec * res) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (res); - return -1; -#else - return clock_getres (clock_id, res); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_gettime (pace_clockid_t clock_id, - pace_timespec * tp) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (tp); - return -1; -#else - return clock_gettime (clock_id, tp); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_settime (pace_clockid_t clock_id, - const pace_timespec * tp) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (tp); - return -1; -#else - return clock_settime (clock_id, PACE_NONCONST_ARG_CAST (struct timespec *) tp); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_ctime (const pace_time_t * clock) -{ - return ctime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_ctime_r (const pace_time_t * clock, char * buf) -{ -# if (PACE_LYNXOS) - return ctime_r (clock, buf, 26); -# else - return ctime_r (clock, buf); -# endif /* PACE_SUNOS */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -pace_tm * -pace_gmtime (const pace_time_t * clock) -{ - return gmtime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -pace_tm * -pace_gmtime_r (const pace_time_t * clock, pace_tm * result) -{ -#if (PACE_LYNXOS) - /*lynxos 3.1 has POSIX.4 Draft 9 versions of these */ - if (gmtime_r (result, clock) != 0) - return (pace_tm*)0; - return result; -#else - return gmtime_r (clock, result); -#endif /* PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -pace_tm * -pace_localtime (const pace_time_t * clock) -{ - return localtime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -pace_tm * -pace_localtime_r (const pace_time_t * clock, pace_tm * result) -{ -#if (PACE_LYNXOS) - /*lynxos 3.1 has POSIX.4 Draft 9 versions of these */ - if (localtime_r (result, clock) != 0) - return (pace_tm*)0; - return result; -#else - return localtime_r (clock, result); -#endif /* PACE_LYNXOS */ -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -time_t -pace_mktime (pace_tm * timeptr) -{ - return mktime (timeptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_nanosleep (const pace_timespec * rqtp, - pace_timespec * rmtp) -{ - return nanosleep (PACE_NONCONST_ARG_CAST (struct timespec *) rqtp, rmtp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strftime (char *s, pace_size_t maxsize, - const char *format, - const pace_tm *timeptr) -{ - return strftime (s, maxsize, format, timeptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -time_t -pace_time (pace_time_t * tloc) -{ - return time (tloc); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_create (pace_clockid_t clock_id, - pace_sigevent * evp, - pace_timer_t *timerid) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (evp); - PACE_UNUSED_ARG (timerid); - return -1; -#else - return timer_create (clock_id, evp, timerid); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_delete (pace_timer_t timerid) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (timerid); - return -1; -#else - return timer_delete (timerid); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_getoverrun (pace_timer_t timerid) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (timerid); - return -1; -#else - return timer_getoverrun (timerid); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_gettime (pace_timer_t timerid, - pace_itimerspec * value) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (timerid); - PACE_UNUSED_ARG (value); - return -1; -#else - return timer_gettime (timerid, value); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_settime (pace_timer_t timerid, - int flags, - const pace_itimerspec * value, - pace_itimerspec * ovalue) -{ -#if PACE_LINUX - errno = ENOSYS; - PACE_UNUSED_ARG (timerid); - PACE_UNUSED_ARG (flags); - PACE_UNUSED_ARG (value); - PACE_UNUSED_ARG (ovalue); - return -1; -#else - return timer_settime (timerid, flags, PACE_NONCONST_ARG_CAST (struct itimerspec *) value, ovalue); -#endif /* PACE_LINUX */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_tzset () -{ -# if defined (PACE_HAS_POSIX_PTHREAD_SEMANTICS) - tzset (); -# else /* ! PACE_HAS_POSIX_PTHREAD_SEMANTICS */ - PACE_ERRNO_NO_SUPPORT (); -# endif /* ! PACE_HAS_POSIX_PTHREAD_SEMANTICS */ - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/posix/times.c b/PACE/pace/posix/times.c deleted file mode 100644 index 3e47e331020..00000000000 --- a/PACE/pace/posix/times.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/times.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/times.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/times.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/times.h b/PACE/pace/posix/times.h deleted file mode 100644 index 1aeebd76a29..00000000000 --- a/PACE/pace/posix/times.h +++ /dev/null @@ -1,39 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/times.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TIMES_H_POSIX -#define PACE_SYS_TIMES_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_CLOCK_T -#define PACE_CLOCK_T -typedef clock_t pace_clock_t; -#endif /* PACE_CLOCK_T */ - -#ifndef PACE_TMS -#define PACE_TMS -typedef struct tms pace_tms; -#endif /* PACE_TMS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TIMES_H_POSIX */ diff --git a/PACE/pace/posix/times.inl b/PACE/pace/posix/times.inl deleted file mode 100644 index 5c808d1a7d0..00000000000 --- a/PACE/pace/posix/times.inl +++ /dev/null @@ -1,23 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/times.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_clock_t -pace_times (pace_tms * buffer) -{ - return times (buffer); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/posix/types.h b/PACE/pace/posix/types.h deleted file mode 100644 index 9ce4e5c2c85..00000000000 --- a/PACE/pace/posix/types.h +++ /dev/null @@ -1,134 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/types.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#include -#include - -#ifndef PACE_SYS_TYPES_H_POSIX -#define PACE_SYS_TYPES_H_POSIX - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /* For future upgradeability to wchar */ -#ifndef PACE_TCHAR -#define PACE_TCHAR - typedef char pace_tchar; -#endif /* PACE_TCHAR */ - -#ifndef PACE_HANDLE - typedef int PACE_HANDLE; -#endif /* PACE_HANDLE */ - -#ifndef PACE_INVALID_HANDLE -#define PACE_INVALID_HANDLE -1 -#endif /* PACE_INVALID_HANDLE */ - -#ifndef PACE_DEV_T -#define PACE_DEV_T - typedef dev_t pace_dev_t; -#endif /* PACE_DEV_T */ - -#ifndef PACE_GID_T -#define PACE_GID_T - typedef gid_t pace_gid_t; -#endif /* PACE_GID_T */ - -#ifndef PACE_INO_T -#define PACE_INO_T - typedef ino_t pace_ino_t; -#endif /* PACE_INO_T */ - -#ifndef PACE_MODE_T -#define PACE_MODE_T - typedef mode_t pace_mode_t; -#endif /* PACE_MODE_T */ - -#ifndef PACE_NLINK_T -#define PACE_NLINK_T - typedef nlink_t pace_nlink_t; -#endif /* PACE_NLINK_T */ - -#ifndef PACE_OFF_T -#define PACE_OFF_T - typedef off_t pace_off_t; -#endif /* PACE_OFF_T */ - -#ifndef PACE_PID_T -#define PACE_PID_T - typedef pid_t pace_pid_t; -#endif /* PACE_PID_T */ - -#ifndef PACE_PTHREAD_ATTR_T -#define PACE_PTHREAD_ATTR_T - typedef pthread_attr_t pace_pthread_attr_t; -#endif /* PACE_PTHREAD_ATTR_T */ - -#ifndef PACE_PTHREAD_CONDATTR_T -#define PACE_PTHREAD_CONDATTR_T - typedef pthread_condattr_t pace_pthread_condattr_t; -#endif /* PACE_PTHREAD_CONDATTR_T */ - -#ifndef PACE_PTHREAD_COND_T -#define PACE_PTHREAD_COND_T - typedef pthread_cond_t pace_pthread_cond_t; -#endif /* PACE_PTHREAD_COND_T */ - -#ifndef PACE_PTHREAD_KEY_T -#define PACE_PTHREAD_KEY_T - typedef pthread_key_t pace_pthread_key_t; -#endif /* PACE_PTHREAD_KEY_T */ - -#ifndef PACE_PTHREAD_MUTEXATTR_T -#define PACE_PTHREAD_MUTEXATTR_T - typedef pthread_mutexattr_t pace_pthread_mutexattr_t; -#endif /* PACE_PTHREAD_MUTEXATTR_T */ - -#ifndef PACE_PTHREAD_MUTEX_T -#define PACE_PTHREAD_MUTEX_T - typedef pthread_mutex_t pace_pthread_mutex_t; -#endif /* PACE_PTHREAD_MUTEX_T */ - -#ifndef PACE_PTHREAD_ONCE_T -#define PACE_PTHREAD_ONCE_T - typedef pthread_once_t pace_pthread_once_t; -#endif /* PACE_PTHREAD_ONCE_T */ - -#ifndef PACE_PTHREAD_T -#define PACE_PTHREAD_T - typedef pthread_t pace_pthread_t; -#endif /* PACE_PTHREAD_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_SSIZE_T -#define PACE_SSIZE_T - typedef ssize_t pace_ssize_t; -#endif /* PACE_SSIZE_T */ - -#ifndef PACE_UID_T -#define PACE_UID_T - typedef uid_t pace_uid_t; -#endif /* PACE_UID_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TYPES_H_POSIX */ diff --git a/PACE/pace/posix/unistd.c b/PACE/pace/posix/unistd.c deleted file mode 100644 index f8e1e9a4676..00000000000 --- a/PACE/pace/posix/unistd.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/unistd.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/unistd.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/unistd.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/unistd.h b/PACE/pace/posix/unistd.h deleted file mode 100644 index 0b79b75b43b..00000000000 --- a/PACE/pace/posix/unistd.h +++ /dev/null @@ -1,56 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/unistd.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_UNISTD_H_POSIX -#define PACE_UNISTD_H_POSIX - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_F_OK F_OK -#ifndef PACE_NULL -# define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_R_OK R_OK -#define PACE_SEEK_CUR SEEK_CUR -#define PACE_SEEK_END SEEK_END -#define PACE_SEEK_SET SEEK_SET -#define PACE_STDERR_FILENO STDERR_FILENO -#define PACE_STDIN_FILENO STDIN_FILENO -#define PACE_STDOUT_FILENO STDOUT_FILENO -#define PACE_W_OK W_OK -#define PACE_X_OK X_OK - -/* _POSIX _PC _SC Macros need to go here */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T -typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_SSIZE_T -#define PACE_SSIZE_T -typedef ssize_t pace_ssize_t; -#endif /* PACE_SSIZE_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UNISTD_H_POSIX */ diff --git a/PACE/pace/posix/unistd.inl b/PACE/pace/posix/unistd.inl deleted file mode 100644 index c0496a7da7c..00000000000 --- a/PACE/pace/posix/unistd.inl +++ /dev/null @@ -1,470 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/unistd.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include -#include -#include - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -void -pace__exit (int status) -{ - _exit (status); - return; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_access (const char * path, int amode) -{ - return access (path, amode); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -unsigned int -pace_alarm (unsigned int seconds) -{ - return alarm (seconds); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_chdir (const char * path) -{ - return chdir (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -int -pace_chown (const char * path, uid_t owner, pace_gid_t group) -{ - return chown (path, owner, group); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_close (PACE_HANDLE fildes) -{ - return close (fildes); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -PACE_HANDLE -pace_dup (PACE_HANDLE fildes) -{ - return dup (fildes); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -PACE_HANDLE -pace_dup2 (PACE_HANDLE fildes, PACE_HANDLE fildes2) -{ - return dup2 (fildes, fildes2); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execv (const char * path, - char * const argv[]) -{ - return execv (path, argv); - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execve (const char * path, - char * const argv[], - char * const envp[]) -{ - return execve (path, argv, envp); - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execvp (const char * file, - char * const argv[]) -{ - return execvp (file, argv); - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fdatasync (PACE_HANDLE fildes) -{ - return fdatasync (fildes); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_fork () -{ - return fork (); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -long -pace_fpathconf (PACE_HANDLE fildes, int name) -{ - return fpathconf (fildes, name); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fsync (PACE_HANDLE fildes) -{ - return fsync (fildes); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_ftruncate (PACE_HANDLE fildes, pace_off_t length) -{ - return ftruncate (fildes, length); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -char * -pace_getcwd (char * buf, size_t size) -{ - return getcwd (buf, size); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_getegid () -{ - return getegid (); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_geteuid () -{ - return geteuid (); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_getgroups (int gidsetsize, pace_gid_t grouplist[]) -{ - return getgroups (gidsetsize, grouplist); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_getgid () -{ - return getgid (); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -char* -pace_getlogin () -{ - return getlogin (); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UGR_UOF) -PACE_INLINE -int -pace_getlogin_r (char * name, size_t namesize) -{ - /* this func will eventually get rewritten to * - * autodetect _REENTRANT correctly */ -#if (PACE_HAS_REENTRANT) || (PACE_LYNXOS) || (PACE_SUNOS) - /* supported call */ - return getlogin_r (name, namesize); -#else - /* unsupported call (emulated) * - * careful, emulation is not 100% reentrant safe */ - char * non_reentrant_ptr_to_static_os_memory = getlogin (); - if (0 == non_reentrant_ptr_to_static_os_memory) - return errno; - strncpy (name, non_reentrant_ptr_to_static_os_memory, namesize); - return 1; -#endif /* PACE_HAS_REENTRANT */ -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pid_t -pace_getpgrp () -{ - return getpgrp (); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_getpid () -{ - return getpid (); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_getppid () -{ - return getppid (); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_getuid () -{ - return getuid (); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_isatty (int fildes) -{ - return isatty (fildes); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_link (const char * existing, const char * new_link) -{ - return link (existing, new_link); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -pace_off_t -pace_lseek (PACE_HANDLE fildes, pace_off_t offset, int whence) -{ - return lseek (fildes, offset, whence); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -long -pace_pathconf (const char * path, int name) -{ - return pathconf (path, name); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_pause () -{ - return pause (); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_P_UOF) -PACE_INLINE -int -pace_pipe (PACE_HANDLE fildes[2]) -{ - return pipe (fildes); -} -#endif /* PACE_HAS_POSIX_P_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -ssize_t -pace_read (PACE_HANDLE fildes, void * buf, size_t nbyte) -{ - return read (fildes, buf, nbyte); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_rmdir (const char * path) -{ - return rmdir (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_setgid (pace_gid_t gid) -{ - return setgid (gid); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -int -pace_setpgid (pid_t pid, pid_t pgid) -{ - return setpgid (pid, pgid); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pid_t -pace_setsid () -{ - return setsid (); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_setuid (uid_t uid) -{ - return setuid (uid); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -unsigned int -pace_sleep (unsigned int seconds) -{ - return sleep (seconds); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -long -pace_sysconf (int name) -{ - return sysconf (name); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -pid_t -pace_tcgetpgrp (PACE_HANDLE fildes) -{ - return tcgetpgrp (fildes); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -int -pace_tcsetpgrp (PACE_HANDLE fildes, pid_t pgrp_id) -{ - return tcsetpgrp (fildes, pgrp_id); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -char * -pace_ttyname (PACE_HANDLE fildes) -{ - return ttyname (fildes); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_ttyname_r (PACE_HANDLE fildes, - char * name, - size_t namesize) -{ -#if (PACE_SUNOS) || (PACE_LYNXOS) - if (ttyname_r (fildes, name, (int) namesize) == 0) - return errno; - return 0; -#else - return ttyname_r (fildes, name, namesize); -#endif /* PACE_SUNOS */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_unlink (const char * path) -{ - return unlink (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -ssize_t -pace_write (PACE_HANDLE fildes, const void * buf, size_t nbyte) -{ - return write (fildes, buf, nbyte); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ diff --git a/PACE/pace/posix/utime.c b/PACE/pace/posix/utime.c deleted file mode 100644 index 864e8d422b1..00000000000 --- a/PACE/pace/posix/utime.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/utime.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/utime.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/utime.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/utime.h b/PACE/pace/posix/utime.h deleted file mode 100644 index 00018e31751..00000000000 --- a/PACE/pace/posix/utime.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/utime.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_UTIME_H_POSIX -#define PACE_UTIME_H_POSIX - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_UTIMBUF -#define PACE_UTIMBUF -typedef struct utimbuf pace_utimbuf; -#endif /* PACE_UTIMBUF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UTIME_H_POSIX */ diff --git a/PACE/pace/posix/utime.inl b/PACE/pace/posix/utime.inl deleted file mode 100644 index 589229d3b38..00000000000 --- a/PACE/pace/posix/utime.inl +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/utime.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_utime (const char * path, - const pace_utimbuf * times) -{ - return utime (path, times); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/posix/utsname.c b/PACE/pace/posix/utsname.c deleted file mode 100644 index 1fa1461795e..00000000000 --- a/PACE/pace/posix/utsname.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/utsname.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/utsname.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/utsname.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/utsname.h b/PACE/pace/posix/utsname.h deleted file mode 100644 index 0e7d58e6f95..00000000000 --- a/PACE/pace/posix/utsname.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/utsname.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_UTSNAME_H_POSIX -#define PACE_SYS_UTSNAME_H_POSIX - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_UTSNAME -#define PACE_UTSNAME -typedef struct utsname pace_utsname; -#endif /* PACE_UTSNAME */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_UTSNAME_H_POSIX */ diff --git a/PACE/pace/posix/utsname.inl b/PACE/pace/posix/utsname.inl deleted file mode 100644 index 84797fd519e..00000000000 --- a/PACE/pace/posix/utsname.inl +++ /dev/null @@ -1,23 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/utsname.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -int -pace_uname (pace_utsname * name) -{ - return uname (name); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ diff --git a/PACE/pace/posix/wait.c b/PACE/pace/posix/wait.c deleted file mode 100644 index 786b8e59fbd..00000000000 --- a/PACE/pace/posix/wait.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/wait.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/wait.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/posix/wait.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/posix/wait.h b/PACE/pace/posix/wait.h deleted file mode 100644 index 4bc233da5b5..00000000000 --- a/PACE/pace/posix/wait.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/wait.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_WAIT_H_POSIX -#define PACE_WAIT_H_POSIX - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_WEXITSTATUS WEXITSTATUS -#define PACE_WIFEXITED WIFEXITED -#define PACE_WIFSIGNALED WISIGNALED -#define PACE_WIFSTOPPED WIFSTOPPED -#define PACE_WNOHANG WNOHANG -#define PACE_WSTOPSIG WSTOPSIG -#define PACE_WTERMSIG WTERMSIG -#define PACE_WUNTRACED WUNTRACED - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_WAIT_H */ diff --git a/PACE/pace/posix/wait.inl b/PACE/pace/posix/wait.inl deleted file mode 100644 index f1f98ad4d5e..00000000000 --- a/PACE/pace/posix/wait.inl +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/wait.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_wait (int * statloc) -{ - return wait (statloc); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_waitpid (pid_t pid, int * statloc, int options) -{ - return waitpid (pid, statloc, options); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/pthread.h b/PACE/pace/pthread.h deleted file mode 100644 index a744915833d..00000000000 --- a/PACE/pace/pthread.h +++ /dev/null @@ -1,733 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/pthread.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_PTHREAD_H -#define PACE_PTHREAD_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/pthread.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/pthread.h" -#elif (PACE_WIN32) -# include "pace/win32/pthread.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function pthread_atfork. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_atfork (void (*prepare) (void), - void (*parent) (void), - void (*child) (void)); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_destroy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_destroy (pace_pthread_attr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getdetachstate. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getdetachstate (const pace_pthread_attr_t * attr, - int * detachstate); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getinheritsched. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getinheritsched (const pace_pthread_attr_t * attr, - int * inheritsched); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getschedparam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getschedparam (const pace_pthread_attr_t * attr, - pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getschedpolicy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getschedpolicy (const pace_pthread_attr_t * attr, - int * policy); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getscope. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getscope (const pace_pthread_attr_t * attr, - int * contentionscope); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getstackaddr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getstackaddr (const pace_pthread_attr_t * attr, - void ** stackaddr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_getstacksize. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_getstacksize (const pace_pthread_attr_t * attr, - size_t * stacksize); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_init. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_init (pace_pthread_attr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setdetachstate. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setinheritsched. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setinheritsched (pace_pthread_attr_t * attr, - int inheritsched); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setschedparam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setschedpolicy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setschedpolicy (pace_pthread_attr_t * attr, - int policy); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setscope. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setscope (pace_pthread_attr_t * attr, - int contentionscope); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setstackaddr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setstackaddr (pace_pthread_attr_t * attr, - void * stackaddr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_attr_setstacksize. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_attr_setstacksize (pace_pthread_attr_t * attr, - size_t stacksize); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cancel. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 18.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cancel (pace_pthread_t thread); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cleanup_push. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 18.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# define pace_pthread_cleanup_push(routine, arg) \ - pthread_cleanup_push (routine, arg) -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cleanup_pop. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 18.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# define pace_pthread_cleanup_pop(execute) \ - pthread_cleanup_pop (execute) -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -# define PACE_PTHREAD_COND_INITIALIZER PTHREAD_COND_INITIALIZER - - /** - PACE's implementation of the POSIX function pthread_cond_broadcast. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cond_broadcast (pace_pthread_cond_t * cond); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cond_destroy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cond_destroy (pace_pthread_cond_t * cond); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cond_init. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cond_init (pace_pthread_cond_t * cond, - const pace_pthread_condattr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cond_signal. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cond_signal (pace_pthread_cond_t * cond); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cond_timedwait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cond_timedwait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex, - const pace_timespec * abstime); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_cond_wait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_cond_wait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_condattr_destroy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_condattr_destroy (pace_pthread_condattr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_condattr_getpshared. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_condattr_getpshared (const pace_pthread_condattr_t * attr, - int * pshared); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_condattr_init. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_condattr_init (pace_pthread_condattr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_condattr_setpshared. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.4.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_condattr_setpshared (pace_pthread_condattr_t * attr, - int pshared); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_create. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_detach. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_detach (pace_pthread_t thread); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_equal. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.7. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_equal (pace_pthread_t t1, - pace_pthread_t t2); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_exit. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - void pace_pthread_exit (void * value_ptr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_getschedparam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.2.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_getspecific. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 17.1.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - void * pace_pthread_getspecific (pace_pthread_key_t key); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_join. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_join (pace_pthread_t thread, - void ** value_ptr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_key_create. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 17.1.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_key_create (pace_pthread_key_t * key, - void (*destructor)(void*)); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_key_delete. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 17.1.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_key_delete (pace_pthread_key_t key); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_kill. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.10. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_kill (pace_pthread_t thread, - int sig); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_destroy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_destroy (pace_pthread_mutex_t * mutex); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_getprioceiling. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.6.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_getprioceiling (pace_pthread_mutex_t * mutex, - int * prioceiling); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_init. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_lock. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_lock (pace_pthread_mutex_t * mutex); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_setprioceiling. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.6.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_setprioceiling (pace_pthread_mutex_t * mutex, - int prioceiling, - int * old_ceiling); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_trylock. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_trylock (pace_pthread_mutex_t * mutex); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutex_unlock. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutex_unlock (pace_pthread_mutex_t * mutex); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutexattr_destroy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_destroy (pace_pthread_mutexattr_t * sttr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function - pthread_mutexattr_getprioceiling. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.6.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_getprioceiling (pace_pthread_mutexattr_t * attr, - int * prioceiling); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutexattr_getprotocol. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.6.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_getprotocol (const pace_pthread_mutexattr_t * attr, - int * protocol); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function - pthread_mutexattr_setprioceiling. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.6.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_setprioceiling (pace_pthread_mutexattr_t * attr, - int prioceiling); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutexattr_setprotocol. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.6.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutexattr_getpshared. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_getpshared (const pace_pthread_mutexattr_t * attr, - int * pshared); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutexattr_init. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_init (pace_pthread_mutexattr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_mutexattr_setpshared. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.3.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_once. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_once (pace_pthread_once_t * once_control, - void (*void_routine) (void)); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -# define PACE_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - - /** - PACE's implementation of the POSIX function pthread_self. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 16.2.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - pace_pthread_t pace_pthread_self (); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_setcancelstate. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 18.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_setcancelstate (int state, - int * oldstate); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_setcanceltype. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 18.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_setcanceltype (int type, - int * oldtype); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_setschedparam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.5.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_setspecific. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 17.1.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_setspecific (pace_pthread_key_t key, - const void * value); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_sigmask. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - int pace_pthread_sigmask (int how, - const pace_sigset_t * set, - pace_sigset_t * oset); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function pthread_testcancel. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 18.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE - void pace_pthread_testcancel (); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/pthread.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/pthread.inl" -# elif (PACE_WIN32) -# include "pace/win32/pthread.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PTHREAD_H */ diff --git a/PACE/pace/pwd.h b/PACE/pace/pwd.h deleted file mode 100644 index e4e9cf0bac5..00000000000 --- a/PACE/pace/pwd.h +++ /dev/null @@ -1,93 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/pwd.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_PWD_H -#define PACE_PWD_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/pwd.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/pwd.h" -#elif (PACE_WIN32) -# include "pace/win32/pwd.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function getpwuid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.2. - */ -#if (PACE_HAS_POSIX_SD_UOF) - PACE_Export PACE_INLINE pace_passwd * pace_getpwuid (pace_uid_t uid); -#endif /* PACE_HAS_POSIX_SD_UOF */ - - /** - PACE's implementation of the POSIX function getpwuid_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.2. - */ -#if (PACE_HAS_POSIX_SDR_UOF) - PACE_Export PACE_INLINE int pace_getpwuid_r (pace_uid_t uid, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result); -#endif /* PACE_HAS_POSIX_SDR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function getpwnam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.2. - */ -#if (PACE_HAS_POSIX_SD_UOF) - PACE_Export PACE_INLINE pace_passwd * pace_getpwnam (const char * name); -#endif /* PACE_HAS_POSIX_SD_UOF */ - - /** - PACE's implementation of the POSIX function getpwnam_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 9.2.2. - */ -#if (PACE_HAS_POSIX_SDR_UOF) - PACE_Export PACE_INLINE int pace_getpwnam_r (const char * name, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result); -#endif /* PACE_HAS_POSIX_SDR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/pwd.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/pwd.inl" -# elif (PACE_WIN32) -# include "pace/win32/pwd.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PWD_H */ diff --git a/PACE/pace/sched.h b/PACE/pace/sched.h deleted file mode 100644 index 20c9dc50ca5..00000000000 --- a/PACE/pace/sched.h +++ /dev/null @@ -1,124 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sched.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SCHED_H -#define PACE_SCHED_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/sched.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/sched.h" -#elif (PACE_WIN32) -# include "pace/win32/sched.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function sched_get_priority_max. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_get_priority_max (int policy); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_get_priority_min. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_get_priority_min (int policy); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_getparam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_getparam (pace_pid_t pid, - pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_rr_get_interval. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_rr_get_interval (pace_pid_t pid, - pace_timespec * interval); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_setparam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_setparam (pace_pid_t pid, - const pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_getscheduler. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_getscheduler (pace_pid_t pid); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_setscheduler. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_setscheduler (pace_pid_t pid, - int policy, - const pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sched_yield. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 13.3.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sched_yield (); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/sched.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/sched.inl" -# elif (PACE_WIN32) -# include "pace/win32/sched.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SCHED_H */ diff --git a/PACE/pace/semaphore.h b/PACE/pace/semaphore.h deleted file mode 100644 index 9c2a34824aa..00000000000 --- a/PACE/pace/semaphore.h +++ /dev/null @@ -1,130 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/semaphore.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SEMAPHORE_H -#define PACE_SEMAPHORE_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/semaphore.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/semaphore.h" -#elif (PACE_WIN32) -# include "pace/win32/semaphore.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function sem_close. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_close (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_destroy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_destroy (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_getvalue. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_getvalue (pace_sem_t * sem, int * sval); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_init. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_init (pace_sem_t * sem, - int pshared, - unsigned int value); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_open. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# define pace_sem_open sem_open -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_post. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.7. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_post (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_trywait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_trywait (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_unlink. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_unlink (const char * name); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sem_wait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 11.2.6. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sem_wait (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/semaphore.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/semaphore.inl" -# elif (PACE_WIN32) -# include "pace/win32/semaphore.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SEMAPHORE_H */ diff --git a/PACE/pace/setjmp.h b/PACE/pace/setjmp.h deleted file mode 100644 index 99a6651982f..00000000000 --- a/PACE/pace/setjmp.h +++ /dev/null @@ -1,85 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/setjmp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SETJMP_H -#define PACE_SETJMP_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/setjmp.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/setjmp.h" -#elif (PACE_WIN32) -# include "pace/win32/setjmp.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function setjmp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - /* int pace_setjmp (pace_jmp_buf env); */ -# define pace_setjmp setjmp -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function sigsetjmp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.1. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - /* int pace_sigsetjmp (pace_sigjmp_buf env, int savemask); */ -# define pace_sigsetjmp setjmp -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function longjmp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void pace_longjmp (pace_jmp_buf env, int val); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function siglongjmp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.1. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE void pace_siglongjmp (pace_sigjmp_buf env, int val); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/setjmp.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/setjmp.inl" -# elif (PACE_WIN32) -# include "pace/win32/setjmp.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SETJMP_H */ diff --git a/PACE/pace/signal.h b/PACE/pace/signal.h deleted file mode 100644 index 6ca0a0f200c..00000000000 --- a/PACE/pace/signal.h +++ /dev/null @@ -1,199 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/signal.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#ifndef PACE_SIGNAL_H -#define PACE_SIGNAL_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/signal.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/signal.h" -#elif (PACE_WIN32) -# include "pace/win32/signal.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function kill. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.2. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_kill (pace_pid_t pid, int sig); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - C std 7.14.2.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_raise (int sig); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sigaction. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.4. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigaction (int sig, - const pace_sigaction_s * act, - pace_sigaction_s * oact); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigaddset. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.3. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigaddset (pace_sigset_t * set, int signo); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigemptyset. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.3. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigemptyset (pace_sigset_t * set); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigdelset. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.3. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigdelset (pace_sigset_t * set, int signo); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigfillset. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.3. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigfillset (pace_sigset_t * set); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigismember. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.3. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigismember (const pace_sigset_t * set, - int signo); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - C std 7.14.1.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_sig_pf pace_signal(int sig, pace_sig_pf func); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sigpending. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.6. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigpending (pace_sigset_t * set); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigprocmask. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.5. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigprocmask (int how, - const pace_sigset_t * set, - pace_sigset_t * oset); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigqueue. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.9. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sigqueue (pace_pid_t pid, - int signo, - const pace_sigval value); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sigsuspend. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.7. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_sigsuspend (const pace_sigset_t * sigmask); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function sigtimedwait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sigtimedwait (const pace_sigset_t * set, - pace_siginfo_t * info, - const pace_timespec * timeout); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function sigwait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sigwait (const pace_sigset_t * set, - int * sig); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function sigwaitinfo. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.3.8. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_sigwaitinfo (const pace_sigset_t * set, - pace_siginfo_t * info); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/signal.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/signal.inl" -# elif (PACE_WIN32) -# include "pace/win32/signal.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SIGNAL_H */ diff --git a/PACE/pace/stddef.h b/PACE/pace/stddef.h deleted file mode 100644 index 457dddcd50f..00000000000 --- a/PACE/pace/stddef.h +++ /dev/null @@ -1,53 +0,0 @@ -/* $Id$ - -* ============================================================================ -* -* = LIBRARY -* pace -* -* = FILENAME -* pace/stddef.h -* -* = AUTHOR -* John Heitmann -* -* =========================================================================== */ - -#ifndef PACE_STDDEF_H -#define PACE_STDDEF_H - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_NULL -#define PACE_NULL NULL; -#endif /* PACE_NULL */ - -#ifndef PACE_OFFSETOF -# define PACE_OFFSETOF -# define pace_offsetof offsetof; -#endif /* PACE_OFFSETOF */ - -#ifndef PACE_PTRDIFF_T -#define PACE_PTRDIFF_T -typedef ptrdiff_t pace_ptrdiff_t; -#endif /* PACE_PTRDIFF_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T -typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_WCHAR_T -#define PACE_WCHAR_T -typedef wchar_t pace_wchar_t; -#endif /* PACE_WCHAR_T */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDDEF_H */ diff --git a/PACE/pace/stdio.h b/PACE/pace/stdio.h deleted file mode 100644 index 29cb3444e35..00000000000 --- a/PACE/pace/stdio.h +++ /dev/null @@ -1,528 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/stdio.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDIO_H -#define PACE_STDIO_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/stdio.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/stdio.h" -#elif (PACE_WIN32) -# include "pace/win32/stdio.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function clearerr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE void pace_clearerr (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function ctermid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.7.1. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE char * pace_ctermid (char * s); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function fclose. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_fclose (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fdopen. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.2. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE PACE_FILE * pace_fdopen (int fildes, - const char * type); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function ferror. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_ferror (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function feof. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_feof (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fflush. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_fflush (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fileno. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_fileno (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fgetc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_fgetc (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - C std 7.19.9.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_fgetpos(PACE_FILE * stream, - pace_fpos_t * pos); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function fgets. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE char * pace_fgets (char * s, int n, - PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function flockfile. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.6. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE void pace_flockfile (PACE_FILE * file); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - PACE's implementation of the POSIX function fopen. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE PACE_FILE * pace_fopen (const char * filename, - const char * mode); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fprintf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) -# define pace_fprintf fprintf -#endif /* PACE_HAS_POSIX_DI_UOF */ - /* int pace_fprintf (PACE_FILE *stream, const char *format, ...);*/ - - /** - PACE's implementation of the POSIX function fputc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_fputc (int c, PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fputs. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_fputs (const char * s, PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fread. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE pace_size_t pace_fread (void * ptr, - pace_size_t size, - pace_size_t number_of_items, - PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function freopen. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE FILE * pace_freopen (const char * filename, - const char * mode, - PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function fscanf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) -# define pace_fscanf fscanf -#endif /* PACE_HAS_POSIX_DI_UOF */ - /* int pace_scanf (const char *format, ... ); */ - - /** - PACE's implementation of the POSIX function fseek. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_FM_UOF) - PACE_Export PACE_INLINE int pace_fseek (PACE_FILE * stream, - long offset, - int whence); -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - C std 7.19.9.3 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_fsetpos(PACE_FILE *stream, - const pace_fpos_t *pos); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function ftell. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_FM_UOF) - PACE_Export PACE_INLINE long pace_ftell (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - PACE's implementation of the POSIX function ftrylockfile. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.6. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE int pace_ftrylockfile (PACE_FILE * file); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - PACE's implementation of the POSIX function funlockfile. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.6. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE void pace_funlockfile (PACE_FILE * file); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - C std 7.19.8.2 - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE pace_size_t pace_fwrite(const void * ptr, - pace_size_t size, - pace_size_t nmemb, - PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function getc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_getc (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function getc_unlocked. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.7. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE int pace_getc_unlocked (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - PACE's implementation of the POSIX function getchar. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_getchar (); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function getchar_unlocked. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.7. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE int pace_getchar_unlocked (); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - PACE's implementation of the POSIX function gets. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE char *pace_gets (char * s); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function perror. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE void pace_perror (const char * s); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function printf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) -# define pace_printf printf -#endif /* PACE_HAS_POSIX_DI_UOF */ - /* int pace_printf (const char* format, ...); */ - - /** - PACE's implementation of the POSIX function putc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_putc (int c, PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function putc_unlocked. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.7. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE int pace_putc_unlocked (int c, PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - PACE's implementation of the POSIX function putchar. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_putchar (int c); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function putchar_unlocked. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.2.7. - */ -#if (PACE_HAS_POSIX_FL_UOF) - PACE_Export PACE_INLINE int pace_putchar_unlocked (int c); -#endif /* PACE_HAS_POSIX_FL_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - PACE's implementation of the POSIX function puts. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_puts (const char * s); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function remove. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_remove (const char * path); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function rename. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.5.3. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_rename (const char * old_name, - const char * new_name); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function rewind. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_FM_UOF) - PACE_Export PACE_INLINE void pace_rewind (PACE_FILE * stream); -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - PACE's implementation of the POSIX function sprintf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) -# define pace_sprintf sprintf -#endif /* PACE_HAS_POSIX_DI_UOF */ - /* int pace_sprintf (char* s, const char* format, ...); */ - - /** - PACE's implementation of the POSIX function scanf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) -# define pace_scanf scanf -#endif /* PACE_HAS_POSIX_DI_UOF */ - /* int pace_scanf (const char *format, ... ); */ - - /** - PACE's implementation of the POSIX function setbuf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE void pace_setbuf (PACE_FILE * stream, char * buf); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - - /** - C std 7.19.5.6 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_setvbuf(PACE_FILE * stream, - char * buf, - int mode, pace_size_t size); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - /** - PACE's implementation of the POSIX function sscanf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) -# define pace_sscanf sscanf -#endif /* PACE_HAS_POSIX_DI_UOF */ - /* int pace_sscanf (const char *s, const char *format, ... ); */ - - /** - PACE's implementation of the POSIX function tmpfile. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE FILE * pace_tmpfile (); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function tmpnam. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE char * pace_tmpnam (char * s); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function ungetc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_ungetc (int c, FILE * stream); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - C std 7.19.6.8 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_vfprintf (PACE_FILE * stream, - const char * format, - va_list arg); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std 7.19.6.10 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_vprintf (const char * format, - va_list arg); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std 7.19.6.13 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_vsprintf (char * s, - const char * format, - va_list arg); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/stdio.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/stdio.inl" -# elif (PACE_WIN32) -# include "pace/win32/stdio.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDIO_H */ diff --git a/PACE/pace/stdlib.h b/PACE/pace/stdlib.h deleted file mode 100644 index 60c7ea203d1..00000000000 --- a/PACE/pace/stdlib.h +++ /dev/null @@ -1,305 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/stdlib.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDLIB_H -#define PACE_STDLIB_H - -#include "pace/config/defines.h" -#include "pace/unistd.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/stdlib.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/stdlib.h" -#elif (PACE_WIN32) -# include "pace/win32/stdlib.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - C std 7.20.4.1 - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE void pace_abort (void); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function abs. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_abs (int val); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - C std ref. 7.20.4.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_atexit (void (*func)(void)); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function atof. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE double pace_atof (const char * str); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function atoi. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_atoi (const char * str); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function atol. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE long pace_atol (const char * str); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function bsearch. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void * pace_bsearch (const void *key, - const void *base, - size_t nel, size_t size, - int (*compar)(const void *, - const void *)); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - C std ref. 7.20.6.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_div_t pace_div (int numer, int denom); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function exit. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE void pace_exit (int status); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function getenv. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.6.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE char * pace_getenv (const char * name); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - C std ref. 7.20.6.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE long int pace_labs (long int j); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.6.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_ldiv_t pace_ldiv (long int numer, - long int denom); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.7.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mblen (const char* s, pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.8.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_size_t pace_mbstowcs (pace_wchar_t* pwcs, - const char* s, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.7.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mbtowc (pace_wchar_t* pwc, - const char* s, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function qsort. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void pace_qsort (void * base, - size_t nel, - size_t width, - int (*compar)(const void *, - const void *)); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function rand. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_rand (); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function srand. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void pace_srand (unsigned int seed); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function rand_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.8. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE int pace_rand_r (unsigned int * seed); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - /** - C std ref. 7.20.1.3 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE double pace_strtod (const char* nptr, - char** endptr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.1.4 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_strtol (const char* nptr, - char** endptr, - int base); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.7.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE unsigned long int pace_strtoul (const char* nptr, - char** endptr, - int base); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.4.5 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_system (const char* string); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.8.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_size_t pace_wcstombs (char* s, - const pace_wchar_t* pwcs, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std ref. 7.20.7.3 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_wctomb (char* s, pace_wchar_t wchar); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - - /* Memory Management */ - - /** - PACE's implementation of the POSIX function malloc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void * pace_malloc (size_t size); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function calloc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void * pace_calloc (size_t nelem, size_t elsize); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function free. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void pace_free (void * ptr); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function realloc. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void * pace_realloc (void * ptr, size_t size); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/stdlib.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/stdlib.inl" -# elif (PACE_WIN32) -# include "pace/win32/stdlib.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDLIB_H */ diff --git a/PACE/pace/string.h b/PACE/pace/string.h deleted file mode 100644 index 5160715c601..00000000000 --- a/PACE/pace/string.h +++ /dev/null @@ -1,240 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/string.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STRING_H -#define PACE_STRING_H - -#include "pace/config/defines.h" -#include "pace/unistd.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/string.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/string.h" -#elif (PACE_WIN32) -# include "pace/win32/string.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - pace_memchr function, C std ref. 7.21.5.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE void * pace_memchr(const void *s, - int c, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - pace_memcmp function, C std ref. 7.21.4.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_memcmp(const void *s1, - const void *s2, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - pace_memcpy function, C std ref. 7.21.2.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE void *pace_memcpy(void * s1, - const void * s2, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - pace_memmove function, C std ref.7.21.2.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE void *pace_memmove(void *s1, - const void *s2, - pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - pace_memset function, C std ref. 7.21.6.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE void *pace_memset(void *s, int c, pace_size_t n); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function strcat. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strcat (char * s1, const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strncat. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strncat (char * s1, - const char * s2, - size_t n); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strchr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strchr (const char * s, int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strrchr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strrchr (const char * s, int c); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strcmp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_strcmp (const char * s1, const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strncmp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE int pace_strncmp (const char * s1, - const char * s2, - size_t n); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strcpy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strcpy (char * s1, const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strncpy. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strncpy (char * s1, - const char * s2, - size_t n); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strcspn. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE size_t pace_strcspn (const char * s1, - const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strspn. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE size_t pace_strspn (const char * s1, - const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strlen. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE size_t pace_strlen (const char * s); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strpbrk. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strpbrk (const char * s1, - const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strstr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strstr (const char * s1, - const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strtok. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_strtok (char * s1, const char * s2); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function strtok_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.3. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE char * pace_strtok_r (char * s, - const char * sep, - char ** lasts); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_REENTRANT. */ - - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/string.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/string.inl" -# elif (PACE_WIN32) -# include "pace/win32/string.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STRING_H */ diff --git a/PACE/pace/sys/mman.h b/PACE/pace/sys/mman.h deleted file mode 100644 index 28d11481391..00000000000 --- a/PACE/pace/sys/mman.h +++ /dev/null @@ -1,151 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/mman.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_MMAN_H -#define PACE_SYS_MMAN_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/mman.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/mman.h" -#elif (PACE_WIN32) -# include "pace/win32/mman.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function mlock. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.1.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mlock (const void * addr, pace_size_t len); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mlockall. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.1.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mlockall (int flags); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mmap. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE void * pace_mmap (void * addr, - pace_size_t len, - int prot, - int flags, - PACE_HANDLE fildes, - pace_off_t off); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function mprotect. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_mprotect (void * addr, - pace_size_t len, - int prot); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function msync. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_msync (void * addr, - pace_size_t len, - int flags); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function munlock. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.1.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_munlock (const void * addr, - pace_size_t len); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function munlockall. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.1.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_munlockall (); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function munmap. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_munmap (void * addr, pace_size_t len); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function shm_open. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.3.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE PACE_HANDLE pace_shm_open (const char * name, - int oflag, - pace_mode_t mode); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - /* Requires PACE_POSIX_C_SOURCE > 2. */ - - /** - PACE's implementation of the POSIX function shm_open. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 12.3.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_shm_unlink (const char * name); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - /* Requires PACE_POSIX_C_SOURCE > 2. */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/mman.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/mman.inl" -# elif (PACE_WIN32) -# include "pace/win32/mman.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_MMAN_H */ diff --git a/PACE/pace/sys/socket.h b/PACE/pace/sys/socket.h deleted file mode 100644 index 52b407cfeff..00000000000 --- a/PACE/pace/sys/socket.h +++ /dev/null @@ -1,252 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/socket.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SOCKET_H -#define PACE_SOCKET_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/socket.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/socket.h" -#elif (PACE_WIN32) -# include "pace/win32/socket.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -/** - PACE's implementation of the POSIX function accept. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_accept (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function bind. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_bind (int s, - const pace_sockaddr * socketaddress, - pace_socklen_t addresslen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function connect. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_connect (int s, - const pace_sockaddr * socketaddress, - pace_socklen_t addresslen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function getpeername. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_getpeername (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function getsockname. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_getsockname (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function getsockopt. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_getsockopt (int s, - int level, - int optname, - void * optval, - pace_socklen_t optlen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function setsockopt. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_setsockopt (int s, - int level, - int optname, - const * optval); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function isfdtype. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_isfdtype (int fildes, int fdtype); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function listen. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_listen (int s, int backlog); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function recv. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_recv (int s, - void * buf, - pace_size_t len, - int flags); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function recvfrom. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_recvfrom (int s, - void * buf, - pace_size_t len, - int flags, - pace_sockaddr * from, - pace_socklen_t * fromlen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function recvmsg. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_rcvmsg (int s, - pace_msghdr * msg, - int flags); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function send. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_send (int s, - const void * buf, - pace_size_t len, - int flags); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function sendto. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_sendto (int s, - const void * buf, - pace_size_t len, - int flags, - const pace_sockaddr * to, - pace_socklen_t * tolen); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function sendmsg. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_sendmsg (int s, - const pace_msghdr * msg, - int flags); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function shutdown. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_shutdown (int s, int how); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function socket. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_socket (int protofamily, - int type, - int protocol); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -/** - PACE's implementation of the POSIX function socketpair. - See IEEE Standards Project Approved 30 January 2000. - (IEEE Std P1003.1g, D6.6, March 1997 Edition) -*/ -#if (PACE_HAS_POSIX_SOCK_UOF) - PACE_Export PACE_INLINE int pace_socketpair (int protofamily, - int type, - int protocol, - int sv[2]); -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/socket.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/socket.inl" -# elif (PACE_WIN32) -# include "pace/win32/socket.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SOCKET_H */ - diff --git a/PACE/pace/sys/stat.h b/PACE/pace/sys/stat.h deleted file mode 100644 index f1ab6a98dc0..00000000000 --- a/PACE/pace/sys/stat.h +++ /dev/null @@ -1,80 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/stat.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_STAT_H -#define PACE_SYS_STAT_H - -#include "pace/config/defines.h" -#include "pace/sys/types.h" - - -#if (PACE_HAS_POSIX) -# include "pace/posix/stat.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/stat.h" -#elif (PACE_WIN32) -# include "pace/win32/stat.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if (PACE_HAS_POSIX_FA_UOF) - PACE_Export PACE_INLINE int pace_chmod (const char * path, pace_mode_t mode); -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_fchmod (PACE_HANDLE fildes, - pace_mode_t mode); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_fstat (PACE_HANDLE fildes, -pace_stat_s * buf); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_mkdir (const char * path, pace_mode_t mode); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_F_UOF) - PACE_Export PACE_INLINE int pace_mkfifo (const char * path, - pace_mode_t mode); -#endif /* PACE_HAS_POSIX_F_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_stat (const char * path, pace_stat_s * buf); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) - PACE_Export PACE_INLINE pace_mode_t pace_umask (pace_mode_t cmask); -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/stat.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/stat.inl" -# elif (PACE_WIN32) -# include "pace/win32/stat.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_STAT_H */ diff --git a/PACE/pace/sys/times.h b/PACE/pace/sys/times.h deleted file mode 100644 index 2f3db177f5c..00000000000 --- a/PACE/pace/sys/times.h +++ /dev/null @@ -1,51 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/times.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TIMES_H -#define PACE_SYS_TIMES_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/times.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/times.h" -#elif (PACE_WIN32) -# include "pace/win32/times.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE pace_clock_t pace_times (pace_tms * buffer); -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/times.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/times.inl" -# elif (PACE_WIN32) -# include "pace/win32/times.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TIMES_H */ diff --git a/PACE/pace/sys/types.h b/PACE/pace/sys/types.h deleted file mode 100644 index e668be409d7..00000000000 --- a/PACE/pace/sys/types.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/types.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TYPES_H -#define PACE_SYS_TYPES_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/types.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/types.h" -#elif (PACE_WIN32) -# include "pace/win32/types.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TYPES_H */ diff --git a/PACE/pace/sys/utsname.h b/PACE/pace/sys/utsname.h deleted file mode 100644 index 1f50d58ea18..00000000000 --- a/PACE/pace/sys/utsname.h +++ /dev/null @@ -1,51 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/utsname.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_UTSNAME_H -#define PACE_SYS_UTSNAME_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/utsname.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/utsname.h" -#elif (PACE_WIN32) -# include "pace/win32/utsname.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if (PACE_HAS_POSIX_SP_UOF) - PACE_Export PACE_INLINE int pace_uname (pace_utsname * name); -#endif /* PACE_HAS_POSIX_SP_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/utsname.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/utsname.inl" -# elif (PACE_WIN32) -# include "pace/win32/utsname.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_UTSNAME_H */ diff --git a/PACE/pace/sys/wait.h b/PACE/pace/sys/wait.h deleted file mode 100644 index 8fc12e00bd8..00000000000 --- a/PACE/pace/sys/wait.h +++ /dev/null @@ -1,67 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/sys/wait.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_WAIT_H -#define PACE_WAIT_H - -#include "pace/config/defines.h" -#include "pace/sys/types.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/wait.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/wait.h" -#elif (PACE_WIN32) -# include "pace/win32/wait.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - /** - PACE's implementation of the POSIX function wait. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.2.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_wait (int * statloc); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function waitpid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.2.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_waitpid (pace_pid_t pid, - int * statloc, - int options); -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/wait.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/wait.inl" -# elif (PACE_WIN32) -# include "pace/win32/wait.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_WAIT_H */ diff --git a/PACE/pace/termios.h b/PACE/pace/termios.h deleted file mode 100644 index 2a3d855259d..00000000000 --- a/PACE/pace/termios.h +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/termios.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TERMIOS_H -#define PACE_SYS_TERMIOS_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/termios.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/termios.h" -#elif (PACE_WIN32) -# include "pace/win32/termios.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function cfgetospeed. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.1.3. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE pace_speed_t pace_cfgetospeed (const pace_termios * termiosp); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function cfsetospeed. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.1.3. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_cfsetospeed (pace_termios * termios_p, - pace_speed_t speed); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function cfgetispeed. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.1.3. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE pace_speed_t pace_cfgetispeed (const pace_termios * termios_p); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function cfsetispeed. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.1.3. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_cfsetispeed (pace_termios * termios_p, - pace_speed_t speed); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function tcdrain. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.2. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_tcdrain (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function tcflow. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.2. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_tcflow (PACE_HANDLE fildes, int action); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function tcflush. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.2. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_tcflush (PACE_HANDLE fildes, - int queue_selector); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function tcgetattr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.1. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_tcgetattr (PACE_HANDLE fildes, - pace_termios * termios_p); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function tcsendbreak. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.2. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_tcsendbreak (PACE_HANDLE fildes, - int duration); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function tcsetattr. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.1. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_tcsetattr (PACE_HANDLE fildes, - int optional_actions, - const pace_termios * termios_p); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/termios.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/termios.inl" -# elif (PACE_WIN32) -# include "pace/win32/termios.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TERMIOS_H */ diff --git a/PACE/pace/time.h b/PACE/pace/time.h deleted file mode 100644 index 688eac0ddf6..00000000000 --- a/PACE/pace/time.h +++ /dev/null @@ -1,274 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/time.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_TIME_H -#define PACE_TIME_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/time.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/time.h" -#elif (PACE_WIN32) -# include "pace/win32/time.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function asctime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_asctime (const pace_tm * time); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function asctime_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1.1. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE char * pace_asctime_r (const pace_tm * tm, - char * buf); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - - /** - C std 7.23.2.1 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE pace_clock_t pace_clock (void); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - C std 7.23.2.2 - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE double pace_difftime (pace_time_t time1, - pace_time_t time2); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function clock_getres. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_clock_getres (pace_clockid_t clock_id, - pace_timespec * res); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function clock_gettime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_clock_gettime (pace_clockid_t clock_id, - pace_timespec * tp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function clock_settime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_clock_settime (pace_clockid_t clock_id, - const pace_timespec * tp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function ctime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE char * pace_ctime (const pace_time_t * clock); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function ctime_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.5. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE char * pace_ctime_r (const pace_time_t * clock, - char * buf); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function gmtime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE pace_tm * pace_gmtime (const pace_time_t * clock); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function gmtime_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.6. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE pace_tm * pace_gmtime_r (const pace_time_t * clock, - pace_tm * result); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function localtime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE pace_tm * pace_localtime (const time_t * clock); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function localtime_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.7. - */ -#if (PACE_HAS_POSIX_CLSR_UOF) - PACE_Export PACE_INLINE pace_tm * pace_localtime_r (const pace_time_t * clock, - pace_tm * result); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function mktime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE pace_time_t pace_mktime (pace_tm * timeptr); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function nanosleep. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.5. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_nanosleep (const pace_timespec * rqtp, - pace_timespec * rmtp); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function strftime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE pace_size_t pace_strftime (char *s, - pace_size_t maxsize, - const char *format, - const pace_tm *timeptr); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function time. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.5.1. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE pace_time_t pace_time (pace_time_t *tloc); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - /** - PACE's implementation of the POSIX function timer_create. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_timer_create (pace_clockid_t clock_id, - pace_sigevent * evp, - pace_timer_t * timerid); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function timer_delete. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.3. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_timer_delete (pace_timer_t timerid); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function timer_getoverrun. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_timer_getoverrun (pace_timer_t timerid); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function timer_gettime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_timer_gettime (pace_timer_t timerid, - pace_itimerspec * value); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function timer_settime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 14.2.4. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_timer_settime (pace_timer_t timerid, - int flags, - const pace_itimerspec * value, - pace_itimerspec * ovalue); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function tzset. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 8.3.2. - */ -#if (PACE_HAS_POSIX_CLS_UOF) - PACE_Export PACE_INLINE void pace_tzset (); -#endif /* PACE_HAS_POSIX_CLS_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/time.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/time.inl" -# elif (PACE_WIN32) -# include "pace/win32/time.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_TIME_H */ diff --git a/PACE/pace/unistd.h b/PACE/pace/unistd.h deleted file mode 100644 index 3b6b99f545a..00000000000 --- a/PACE/pace/unistd.h +++ /dev/null @@ -1,524 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/unistd.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_UNISTD_H -#define PACE_UNISTD_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/unistd.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/unistd.h" -#elif (PACE_WIN32) -# include "pace/win32/unistd.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function _exit. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.2.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE void pace__exit (int status); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function access. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.6.3. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_access (const char * path, int amode); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function alarm. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.4.1. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE unsigned int pace_alarm (unsigned int seconds); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function chdir. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.2.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_chdir (const char * path); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function chown. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.6.5. - */ -#if (PACE_HAS_POSIX_FA_UOF) - PACE_Export PACE_INLINE int pace_chown (const char * path, - pace_uid_t owner, - pace_gid_t group); -#endif /* PACE_HAS_POSIX_FA_UOF */ - - /** - PACE's implementation of the POSIX function close. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.3.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE int pace_close (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function dup. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.2.1. - */ -#if (PACE_HAS_POSIX_FM_UOF) - PACE_Export PACE_INLINE PACE_HANDLE pace_dup (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - PACE's implementation of the POSIX function dup2. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.2.1. - */ -#if (PACE_HAS_POSIX_FM_UOF) - PACE_Export PACE_INLINE PACE_HANDLE pace_dup2 (PACE_HANDLE fildes, - PACE_HANDLE fildes2); -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - PACE's implementation of the POSIX function execl. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) -# define pace_execl execl -#endif /* PACE_HAS_POSIX_MP_UOF */ - /* PACE_Export PACE_INLINE int pace_execl (const char* path, - const char* arg, ...); */ - - /** - PACE's implementation of the POSIX function execle. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) -# define pace_execle execle -#endif /* PACE_HAS_POSIX_MP_UOF */ - /* PACE_Export PACE_INLINE int pace_execle (const char* path, - const char* arg, ...);*/ - - /** - PACE's implementation of the POSIX function execlp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) -# define pace_execlp execlp -#endif /* PACE_HAS_POSIX_MP_UOF */ - /* PACE_Export PACE_INLINE int pace_execlp (const char* file, - const char* arg, ...);*/ - - /** - PACE's implementation of the POSIX function execv. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE int pace_execv (const char * path, - char * const argv[]); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function execve. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE int pace_execve (const char * path, - char * const argv[], - char * const envp[]); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function execvp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.2. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE int pace_execvp (const char * file, - char * const argv[]); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function fdatasync. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.6.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_fdatasync (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function fork. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.1.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_fork (); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function fpathconf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.7.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE long pace_fpathconf (PACE_HANDLE fildes, int name); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function fsync. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.6.1. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_fsync (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function ftruncate. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.6.7. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_ftruncate (PACE_HANDLE fildes, - pace_off_t length); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - /** - PACE's implementation of the POSIX function getcwd. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.2.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE char * pace_getcwd (char * buf, size_t size); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function getegid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.1. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE pace_uid_t pace_getegid (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function geteuid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.1. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE pace_uid_t pace_geteuid (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function getgid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.1. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE pace_uid_t pace_getgid (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function getgroups. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.3. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE int pace_getgroups (int gidsetsize, - pace_gid_t grouplist[]); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function getlogin. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.4. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE char * pace_getlogin (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function getlogin_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.4. - */ -#if (PACE_HAS_POSIX_UGR_UOF) - PACE_Export PACE_INLINE int pace_getlogin_r (char * name, size_t namesize); -#endif /* PACE_HAS_POSIX_UGR_UOF */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function getpgrp. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.3.1. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_getpgrp (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function getpid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.1.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_getpid (); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function getppid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.1.1. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_getppid (); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function getuid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.1. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE pace_uid_t pace_getuid (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function isatty. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.7.2. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE int pace_isatty (int fildes); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function link. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.3.4. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_link (const char * existing, - const char * new_link); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function lseek. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.5.3. - */ -#if (PACE_HAS_POSIX_FM_UOF) - PACE_Export PACE_INLINE pace_off_t pace_lseek (PACE_HANDLE fildes, - off_t offset, - int whence); -#endif /* PACE_HAS_POSIX_FM_UOF */ - - /** - PACE's implementation of the POSIX function pathconf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.7.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE long pace_pathconf (const char * path, int name); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function pause. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.4.2. - */ -#if (PACE_HAS_POSIX_SIG_UOF) - PACE_Export PACE_INLINE int pace_pause (); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - - /** - PACE's implementation of the POSIX function pipe. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.1.1. - */ -#if (PACE_HAS_POSIX_P_UOF) - PACE_Export PACE_INLINE int pace_pipe (PACE_HANDLE fildes[2]); -#endif /* PACE_HAS_POSIX_P_UOF */ - - /** - PACE's implementation of the POSIX function read. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.4.1. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_read (PACE_HANDLE fildes, - void * buf, - size_t nbyte); -#endif /* PACE_HAS_POSIX_DI_UOF */ - - /** - PACE's implementation of the POSIX function rmdir. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.5.2. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_rmdir (const char * path); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function setgid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.2. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE int pace_setgid (pace_gid_t gid); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function setpgid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.3.3. - */ -#if (PACE_HAS_POSIX_JC_UOF) - PACE_Export PACE_INLINE int pace_setpgid (pace_pid_t pid, pace_pid_t pgid); -#endif /* PACE_HAS_POSIX_JC_UOF */ - - /** - PACE's implementation of the POSIX function setsid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.3.2. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_setsid (); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function setuid. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.2.2. - */ -#if (PACE_HAS_POSIX_UG_UOF) - PACE_Export PACE_INLINE int pace_setuid (pace_uid_t uid); -#endif /* PACE_HAS_POSIX_UG_UOF */ - - /** - PACE's implementation of the POSIX function sleep. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 3.4.3. - */ -#if (PACE_HAS_POSIX_MP_UOF) - PACE_Export PACE_INLINE unsigned pace_sleep (unsigned int seconds); -#endif /* PACE_HAS_POSIX_MP_UOF */ - - /** - PACE's implementation of the POSIX function sysconf. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.8.1. - */ -#if (PACE_HAS_POSIX_SP_UOF) - PACE_Export PACE_INLINE long pace_sysconf (int name); -#endif /* PACE_HAS_POSIX_SP_UOF */ - - /** - PACE's implementation of the POSIX function ttyname. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.3.1. - */ -#if (PACE_HAS_POSIX_JC_UOF) - PACE_Export PACE_INLINE pace_pid_t pace_tcgetpgrp (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_JC_UOF */ - - /** - PACE's implementation of the POSIX function ttyname. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 7.2.3.1. - */ -#if (PACE_HAS_POSIX_JC_UOF) - PACE_Export PACE_INLINE int pace_tcsetpgrp (PACE_HANDLE fildes, - pace_pid_t pgrp_id); -#endif /* PACE_HAS_POSIX_JC_UOF */ - - /** - PACE's implementation of the POSIX function ttyname. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.7.2. - */ -#if (PACE_HAS_POSIX_DS_UOF) - PACE_Export PACE_INLINE char * pace_ttyname (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_DS_UOF */ - - /** - PACE's implementation of the POSIX function ttyname_r. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 4.7.2. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_Export PACE_INLINE int pace_ttyname_r (PACE_HANDLE fildes, - char * name, - size_t namesize); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - /** - PACE's implementation of the POSIX function unlink. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.5.1. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_unlink (const char * path); -#endif /* PACE_HAS_POSIX_FS_UOF */ - - /** - PACE's implementation of the POSIX function write. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.4.2. - */ -#if (PACE_HAS_POSIX_DI_UOF) - PACE_Export PACE_INLINE pace_ssize_t pace_write (PACE_HANDLE fildes, - const void * buf, - size_t nbyte); -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/unistd.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/unistd.inl" -# elif (PACE_WIN32) -# include "pace/win32/unistd.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UNISTD_H */ diff --git a/PACE/pace/utime.h b/PACE/pace/utime.h deleted file mode 100644 index 90a5cfa1a22..00000000000 --- a/PACE/pace/utime.h +++ /dev/null @@ -1,57 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/utime.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_UTIME_H -#define PACE_UTIME_H - -#include "pace/config/defines.h" - -#if (PACE_HAS_POSIX) -# include "pace/posix/utime.h" -#elif (PACE_VXWORKS) -# include "pace/vxworks/utime.h" -#elif (PACE_WIN32) -# include "pace/win32/utime.h" -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /** - PACE's implementation of the POSIX function utime. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.6.6. - */ -#if (PACE_HAS_POSIX_FS_UOF) - PACE_Export PACE_INLINE int pace_utime (const char * path, - const pace_utimbuf * times); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if defined (PACE_HAS_INLINE) -# if (PACE_HAS_POSIX) -# include "pace/posix/utime.inl" -# elif (PACE_VXWORKS) -# include "pace/vxworks/utime.inl" -# elif (PACE_WIN32) -# include "pace/win32/utime.inl" -# endif -#endif /* PACE_HAS_INLINE */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UTIME_H */ diff --git a/PACE/pace/vxworks/README b/PACE/pace/vxworks/README deleted file mode 100644 index 170f4b84920..00000000000 --- a/PACE/pace/vxworks/README +++ /dev/null @@ -1 +0,0 @@ -VXWORKS dir. diff --git a/PACE/pace/vxworks/aio.c b/PACE/pace/vxworks/aio.c deleted file mode 100644 index f9c32d822b4..00000000000 --- a/PACE/pace/vxworks/aio.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/aio.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/aio.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/aio.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/aio.h b/PACE/pace/vxworks/aio.h deleted file mode 100644 index fa519c4df73..00000000000 --- a/PACE/pace/vxworks/aio.h +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/aio.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_AIO_H_VXWORKS -#define PACE_AIO_H_VXWORKS - -#include -#include "pace/time.h" -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_AIO_ALLDONE AIO_ALLDONE -#define PACE_AIO_CANCELED AIO_CANCELED -#define PACE_AIO_NOCANCELED AIO_NOTCANCELED -#define PACE_LIO_NOP LIO_NOP -#define PACE_LIO_NOWAIT LIO_NOWAIT -#define PACE_LIO_READ LIO_READ -#define PACE_LIO_WAIT LIO_WAIT -#define PACE_LIO_WRITE LIO_WRITE - -#ifndef PACE_AIOCB -#define PACE_AIOCB -typedef struct aiocb pace_aiocb; -#endif /* PACE_AIOCB */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_AIO_H_VXWORKS */ diff --git a/PACE/pace/vxworks/aio.inl b/PACE/pace/vxworks/aio.inl deleted file mode 100644 index f79a7573c4b..00000000000 --- a/PACE/pace/vxworks/aio.inl +++ /dev/null @@ -1,112 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/aio.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_cancel (PACE_HANDLE fildes, pace_aiocb * aiocbp) -{ - PACE_TRACE("pace_aio_cancel"); - - return aio_cancel (fildes, aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_error (const pace_aiocb * aiocbp) -{ - PACE_TRACE("pace_aio_error"); - - return aio_error (PACE_NONCONST_ARG_CAST (struct aiocb *) aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_fsync (int op, pace_aiocb * aiocbp) -{ - PACE_TRACE("pace_aio_fsync"); - - PACE_UNUSED_ARG (op); - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_read (pace_aiocb * aiocbp) -{ - PACE_TRACE("pace_aio_read"); - - return aio_read (aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_return (pace_aiocb * aiocbp) -{ - PACE_TRACE("pace_aio_return"); - - return aio_return (aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_suspend (const pace_aiocb * const list[], - int nent, - const pace_timespec * timeout) -{ - PACE_TRACE("pace_aio_suspend"); - - return aio_suspend (PACE_AIO_SUSPEND_LIST_ARG_CAST list, - nent, - PACE_NONCONST_ARG_CAST (struct timespec *) timeout); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_write (pace_aiocb * aiocbp) -{ - PACE_TRACE("pace_aio_write"); - - return aio_write (aiocbp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_lio_listio (int mode, - pace_aiocb * const list[], - int nent, - pace_sigevent * sig) -{ - PACE_TRACE("pace_lio_listio"); - - return lio_listio (mode, PACE_NONCONST_ARG_CAST (struct aiocb **) list, - nent, sig); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/assert.c b/PACE/pace/vxworks/assert.c deleted file mode 100644 index 8731f27260d..00000000000 --- a/PACE/pace/vxworks/assert.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/assert.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/assert.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/assert.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/assert.h b/PACE/pace/vxworks/assert.h deleted file mode 100644 index 3b2f014109d..00000000000 --- a/PACE/pace/vxworks/assert.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/assert.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_ASSERT_H_VXWORKS -#define PACE_ASSERT_H_VXWORKS - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ASSERT_H_VXWORKS */ diff --git a/PACE/pace/vxworks/assert.inl b/PACE/pace/vxworks/assert.inl deleted file mode 100644 index b3def672d99..00000000000 --- a/PACE/pace/vxworks/assert.inl +++ /dev/null @@ -1,14 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/assert.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ diff --git a/PACE/pace/vxworks/ctype.c b/PACE/pace/vxworks/ctype.c deleted file mode 100644 index 01b1da173ab..00000000000 --- a/PACE/pace/vxworks/ctype.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/ctype.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/ctype.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/ctype.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/ctype.h b/PACE/pace/vxworks/ctype.h deleted file mode 100644 index 106684d7371..00000000000 --- a/PACE/pace/vxworks/ctype.h +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/ctype.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_CTYPE_H_VXWORKS -#define PACE_CTYPE_H_VXWORKS - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_CTYPE_H_VXWORKS */ diff --git a/PACE/pace/vxworks/ctype.inl b/PACE/pace/vxworks/ctype.inl deleted file mode 100644 index df9afc8dd76..00000000000 --- a/PACE/pace/vxworks/ctype.inl +++ /dev/null @@ -1,159 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/ctype.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isalnum (int c) -{ - PACE_TRACE("pace_isalnum"); - - return isalnum (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isalpha (int c) -{ - PACE_TRACE("pace_isalpha"); - - return isalpha (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_iscntrl (int c) -{ - PACE_TRACE("pace_iscntrl"); - - return iscntrl (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isdigit (int c) -{ - PACE_TRACE("pace_isdigit"); - - return isdigit (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isgraph (int c) -{ - PACE_TRACE("pace_isgraph"); - - return isgraph (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_islower (int c) -{ - PACE_TRACE("pace_islower"); - - return islower (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isprint (int c) -{ - PACE_TRACE("pace_isprint"); - - return isprint (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_ispunct (int c) -{ - PACE_TRACE("pace_ispunct"); - - return ispunct (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isspace (int c) -{ - PACE_TRACE("pace_isspace"); - - return isspace (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isupper (int c) -{ - PACE_TRACE("pace_isupper"); - - return isupper (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isxdigit (int c) -{ - PACE_TRACE("pace_isxdigit"); - - return isxdigit (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_tolower (int c) -{ - PACE_TRACE("pace_tolower"); - - return tolower (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_toupper (int c) -{ - PACE_TRACE("pace_toupper"); - - return toupper (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/vxworks/dirent.c b/PACE/pace/vxworks/dirent.c deleted file mode 100644 index c1a09545067..00000000000 --- a/PACE/pace/vxworks/dirent.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/dirent.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/dirent.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/dirent.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/dirent.h b/PACE/pace/vxworks/dirent.h deleted file mode 100644 index 1b746c6ec4a..00000000000 --- a/PACE/pace/vxworks/dirent.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/dirent.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_DIRENT_H_VXWORKS -#define PACE_DIRENT_H_VXWORKS - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_DIR_T -#define PACE_DIR_T -typedef DIR PACE_DIR; -#endif /* PACE_DIR_T */ - -#ifndef PACE_DIRENT -#define PACE_DIRENT -typedef struct dirent pace_dirent; -#endif /* PACE_DIRENT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_DIRENT_H_VXWORKS */ diff --git a/PACE/pace/vxworks/dirent.inl b/PACE/pace/vxworks/dirent.inl deleted file mode 100644 index 71d68023212..00000000000 --- a/PACE/pace/vxworks/dirent.inl +++ /dev/null @@ -1,74 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/dirent.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -PACE_DIR * -pace_opendir (const char * dirname) -{ - PACE_TRACE("pace_opendir"); - - return opendir (PACE_NONCONST_ARG_CAST(char *) dirname); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -pace_dirent * -pace_readdir (PACE_DIR * dirp) -{ - PACE_TRACE("pace_readdir"); - - return readdir (dirp); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -int -pace_readdir_r (PACE_DIR * dirp, pace_dirent * entry, - pace_dirent ** result) -{ - PACE_TRACE("pace_readdir_r"); - - PACE_UNUSED_ARG (entry); - /* has better not be 0! */ - *result = pace_readdir (dirp); - return 0; -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -void -pace_rewinddir (PACE_DIR * dirp) -{ - PACE_TRACE("pace_rewinddir"); - - rewinddir (dirp); - return; -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_closedir (PACE_DIR * dirp) -{ - PACE_TRACE("pace_closedir"); - - return closedir (dirp); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/vxworks/errno.h b/PACE/pace/vxworks/errno.h deleted file mode 100644 index 7e64a524658..00000000000 --- a/PACE/pace/vxworks/errno.h +++ /dev/null @@ -1,75 +0,0 @@ -/* $Id$ - -* ============================================================================ -* -* = LIBRARY -* pace -* -* = FILENAME -* pace/vxworks/errno.h -* -* = AUTHOR -* Joe Hoffert -* -* =========================================================================== */ - -#ifndef PACE_ERRNO_H_VXWORKS -#define PACE_ERRNO_H_VXWORKS - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_E2BIG E2BIG -#define PACE_EACCES EACCES -#define PACE_EAGAIN EAGAIN -#define PACE_EBADF EBADF -#define PACE_EBADMSG -#define PACE_EBUSY EBUSY -#define PACE_ECANCELED ECANCELED -#define PACE_ECHILD ECHILD -#define PACE_EDEADLK EDEADLK -#define PACE_EDOM EDOM -#define PACE_EEXIST EEXIST -#define PACE_EFAULT EFAULT -#define PACE_EFBIG EFBIG -#define PACE_EINPROGRESS EINPROGRESS -#define PACE_EINTR EINTR -#define PACE_EINVAL EINVAL -#define PACE_EIO EIO -#define PACE_EISDIR EISDIR -#define PACE_EMFILE EMFILE -#define PACE_EMLINK EMLINK -#define PACE_EMSGSIZE EMSGSIZE -#define PACE_EENAMETOOLONG ENAMETOOLONG -#define PACE_ENFILE ENFILE -#define PACE_ENODEV ENODEV -#define PACE_ENOENT ENOENT -#define PACE_ENOEXEC ENOEXEC -#define PACE_ENOLCK ENOLCK -#define PACE_ENOMEM ENOMEM -#define PACE_ENOSPC ENOSPC -#define PACE_ENOSYS ENOSYS -#define PACE_ENOTDIR ENOTDIR -#define PACE_ENOTEMPTY ENOTEMPTY -#define PACE_ENOTSUP ENOTSUP -#define PACE_ENOTTY ENOTTY -#define PACE_ENXIO ENXIO -#define PACE_EPERM EPERM -#define PACE_EPIPE EPIPE -#define PACE_ERANGE ERANGE -#define PACE_EROFS EROFS -#define PACE_ESPIPE ESPIPE -#define PACE_ESRCH ESRCH -#define PACE_ETIMEDOUT ETIMEDOUT -#define PACE_EXDEV EXDEV - -#define pace_errno errno - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ERRNO_H_VXWORKS */ diff --git a/PACE/pace/vxworks/fcntl.c b/PACE/pace/vxworks/fcntl.c deleted file mode 100644 index c0bc9a30a38..00000000000 --- a/PACE/pace/vxworks/fcntl.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/fcntl.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/fcntl.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/fcntl.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/fcntl.h b/PACE/pace/vxworks/fcntl.h deleted file mode 100644 index 534beaca5b2..00000000000 --- a/PACE/pace/vxworks/fcntl.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/fnctl.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_FCNTL_H_VXWORKS -#define PACE_FCNTL_H_VXWORKS - -#include "pace/sys/types.h" -#include "pace/unistd.h" -#include "pace/sys/stat.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_FD_CLOEXEC FD_CLOEXEC -#define PACE_F_DUPFD D_DUPFD -#define PACE_F_GETFD F_GETFD -#define PACE_F_GETFL F_GETFL -#define PACE_F_GETLK F_GETLK -#define PACE_F_RDLCK F_RDLCK -#define PACE_F_SETFD F_SETFD -#define PACE_F_SETFL F_SETFL -#define PACE_F_SETLK F_SETLK -#define PACE_F_SETLKW F_SETLKW -#define PACE_F_UNLCK F_UNLCK -#define PACE_F_WRLCK F_WRLCK -#define PACE_O_ACCMODE O_ACCMODE -#define PACE_O_APPEND O_APPEND -#define PACE_O_CREAT O_CREAT -#define PACE_O_DSYNC O_DSYNC -#define PACE_O_EXCL O_EXCL -#define PACE_O_NOCTTY O_NOCTTY -#define PACE_O_NONBLOCK O_NONBLOCK -#define PACE_O_RDONLY O_RDONLY -#define PACE_O_RDWR O_RDWR -#define PACE_O_RSYNC O_RSYNC -#define PACE_O_SYNC O_SYNC -#define PACE_O_TRUNC O_TRUNC -#define PACE_O_WRONLY O_WRONLY - -#ifndef PACE_FLOCK -#define PACE_FLOCK -typedef struct flock pace_flock; -#endif /* PACE_FLOCK */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_FCNTL_H_VXWORKS */ diff --git a/PACE/pace/vxworks/fcntl.inl b/PACE/pace/vxworks/fcntl.inl deleted file mode 100644 index 23308b8fe22..00000000000 --- a/PACE/pace/vxworks/fcntl.inl +++ /dev/null @@ -1,39 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/fcntl.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_creat (const char * path, pace_mode_t mode) -{ - PACE_TRACE("pace_creat"); - - return creat (path, mode); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -int -pace_fcntl (PACE_HANDLE fildes, int cmd, long arg) -{ - PACE_TRACE("pace_fcntl"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(cmd); - PACE_UNUSED_ARG(arg); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/vxworks/grp.c b/PACE/pace/vxworks/grp.c deleted file mode 100644 index 4a12ee0f64c..00000000000 --- a/PACE/pace/vxworks/grp.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/grp.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/grp.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/grp.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/grp.h b/PACE/pace/vxworks/grp.h deleted file mode 100644 index 5fcd0fd959d..00000000000 --- a/PACE/pace/vxworks/grp.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * pace/vxworks/grp.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_GRP_H_VXWORKS -#define PACE_GRP_H_VXWORKS - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_GROUP -#define PACE_GROUP -typedef struct group pace_group; -#endif /* PACE_GROUP */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_GRP_H_VXWORKS */ diff --git a/PACE/pace/vxworks/grp.inl b/PACE/pace/vxworks/grp.inl deleted file mode 100644 index 428ac7364e5..00000000000 --- a/PACE/pace/vxworks/grp.inl +++ /dev/null @@ -1,82 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/grp.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_group * -pace_getgrgid (pace_gid_t gid) -{ - PACE_TRACE("pace_getgrgid"); - - /* getgrgid() is not supported: just one user anyways */ - PACE_UNUSED_ARG (gid); - return 0; -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getgrgid_r (pace_gid_t gid, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result) -{ - PACE_TRACE("pace_getgrgid_r"); - - /* getgrgid_r() is not supported: just one user anyways */ - PACE_UNUSED_ARG (gid); - PACE_UNUSED_ARG (grp); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - return 0; -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_group * -pace_getgrnam (const char * name) -{ - PACE_TRACE("pace_getgrnam"); - - /* getgrnam() is not supported: just one user anyways */ - PACE_UNUSED_ARG (name); - return 0; -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getgrnam_r (const char * name, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result) -{ - PACE_TRACE("pace_getgrnam_r"); - - /* getgrnam_r() is not supported: just one user anyways */ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (grp); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - return 0; -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ diff --git a/PACE/pace/vxworks/limits.h b/PACE/pace/vxworks/limits.h deleted file mode 100644 index e0d70071157..00000000000 --- a/PACE/pace/vxworks/limits.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * pace/vxworks/limits.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_LIMITS_H_VXWORKS -#define PACE_LIMITS_H_VXWORKS - -#include - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* (PACE_HAS_CPLUSPLUS) */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LIMITS_H_VXWORKS */ diff --git a/PACE/pace/vxworks/locale.c b/PACE/pace/vxworks/locale.c deleted file mode 100644 index 530fd21999c..00000000000 --- a/PACE/pace/vxworks/locale.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/locale.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/locale.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/locale.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/locale.h b/PACE/pace/vxworks/locale.h deleted file mode 100644 index 4838e912fd3..00000000000 --- a/PACE/pace/vxworks/locale.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/locale.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_LOCALE_H_VXWORKS -#define PACE_LOCALE_H_VXWORKS - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_LC_ALL LC_ALL -#define PACE_LC_COLLATE LC_COLLATE -#define PACE_LC_CTYPE LC_CTYPE -#define PACE_LC_MONETARY LC_MONETARY -#define PACE_LC_NUMERIC LC_NUMERIC -#define PACE_LC_TIME LC_TIME -#define PACE_NULL NULL - -#ifndef PACE_LCONV -#define PACE_LCONV -typedef struct lconv pace_lconv; -#endif /* PACE_LCONV */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LOCALE_H_VXWORKS */ diff --git a/PACE/pace/vxworks/locale.inl b/PACE/pace/vxworks/locale.inl deleted file mode 100644 index 5ce0566e9c3..00000000000 --- a/PACE/pace/vxworks/locale.inl +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/locale.inl - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_lconv * -pace_localeconv (void) -{ - PACE_TRACE("pace_localeconv"); - - return localeconv (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -char * -pace_setlocale (int category, const char * locale) -{ - PACE_TRACE("pace_setlocale"); - - return setlocale (category, locale); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/vxworks/math.c b/PACE/pace/vxworks/math.c deleted file mode 100644 index 1d3b87dc973..00000000000 --- a/PACE/pace/vxworks/math.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/math.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/math.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/math.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/math.h b/PACE/pace/vxworks/math.h deleted file mode 100644 index cda356e550e..00000000000 --- a/PACE/pace/vxworks/math.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/math.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MATH_H_VXWORKS -#define PACE_MATH_H_VXWORKS - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_HUGE_VAL HUGE_VAL - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MATH_H_VXWORKS */ diff --git a/PACE/pace/vxworks/math.inl b/PACE/pace/vxworks/math.inl deleted file mode 100644 index 81bd1bc19e2..00000000000 --- a/PACE/pace/vxworks/math.inl +++ /dev/null @@ -1,259 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/math.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -/* FUZZ: disable check_for_math_include */ -#include - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_acos (double x) -{ - PACE_TRACE("pace_acos"); - - return acos (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_asin (double x) -{ - PACE_TRACE("pace_asin"); - - return asin (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atan (double x) -{ - PACE_TRACE("pace_atan"); - - return atan (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atan2 (double x, double y) -{ - PACE_TRACE("pace_atan2"); - - return atan2 (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_cos (double x) -{ - PACE_TRACE("pace_cos"); - - return cos (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sin (double x) -{ - PACE_TRACE("pace_sin"); - - return sin (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_tan (double x) -{ - PACE_TRACE("pace_tan"); - - return tan (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_cosh (double x) -{ - PACE_TRACE("pace_cosh"); - - return cosh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sinh (double x) -{ - PACE_TRACE("pace_sinh"); - - return sinh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_tanh (double x) -{ - PACE_TRACE("pace_tanh"); - - return tanh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_exp (double x) -{ - PACE_TRACE("pace_exp"); - - return exp (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_frexp (double x, int * exp) -{ - PACE_TRACE("pace_frexp"); - - return frexp (x, exp); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_ldexp (double x, int exp) -{ - PACE_TRACE("pace_ldexp"); - - return ldexp (x, exp); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_log (double x) -{ - PACE_TRACE("pace_log"); - - return log (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_log10 (double x) -{ - PACE_TRACE("pace_log10"); - - return log10 (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_modf (double x, double * iptr) -{ - PACE_TRACE("pace_modf"); - - return modf (x, iptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_pow (double x, double y) -{ - PACE_TRACE("pace_pow"); - - return pow (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sqrt (double x) -{ - PACE_TRACE("pace_sqrt"); - - return sqrt (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_ceil (double x) -{ - PACE_TRACE("pace_ceil"); - - return ceil (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_fabs (double x) -{ - PACE_TRACE("pace_fabs"); - - return fabs (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_floor (double x) -{ - PACE_TRACE("pace_floor"); - - return floor (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_fmod (double x, double y) -{ - PACE_TRACE("pace_fmod"); - - return fmod (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/vxworks/mman.c b/PACE/pace/vxworks/mman.c deleted file mode 100644 index 149f345054e..00000000000 --- a/PACE/pace/vxworks/mman.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/mman.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sys/mman.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/mman.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/mman.h b/PACE/pace/vxworks/mman.h deleted file mode 100644 index 7bddb69ee86..00000000000 --- a/PACE/pace/vxworks/mman.h +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/mman.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SYS_MMAN_H_VXWORKS -#define PACE_SYS_MMAN_H_VXWORKS - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_MAP_FAILED MAP_FAILED -#define PACE_MAP_FIXED MAP_FIXED -#define PACE_MAP_PRIVATE MAP_PRIVATE -#define PACE_MAP_SHARED MAP_SHARED -#define PACE_MCL_CURRENT MCL_CURRENT -#define PACE_MS_ASYNC MS_ASYNC -#define PACE_MS_INVALIDATE -#define PACE_MS_SYNC MS_SYNC -#define PACE_PROT_EXEC PROT_EXEC -#define PACE_PROT_NONE PROT_NONE -#define PACE_PROT_READ PROT_READ -#define PACE_PROT_WRITE PROT_WRITE - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_MMAN_H_VXWORKS */ diff --git a/PACE/pace/vxworks/mman.inl b/PACE/pace/vxworks/mman.inl deleted file mode 100644 index 79e07ea78c0..00000000000 --- a/PACE/pace/vxworks/mman.inl +++ /dev/null @@ -1,153 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/mman.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/fcntl.h" - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mlock (const void * addr, pace_size_t len) -{ - PACE_TRACE("pace_mlock"); - - return mlock (((char*)addr), len); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mlockall (int flags) -{ - PACE_TRACE("pace_mlockall"); - - return mlockall (flags); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_mmap (void * addr, - pace_size_t len, - int prot, - int flags, - PACE_HANDLE fildes, - pace_off_t off) -{ - PACE_TRACE("pace_mmap"); - - PACE_UNUSED_ARG(addr); - PACE_UNUSED_ARG(len); - PACE_UNUSED_ARG(prot); - PACE_UNUSED_ARG(flags); - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(off); - PACE_ERRNO_NO_SUPPORT_RETURN ((void *) -1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munlock (const void * addr, pace_size_t len) -{ - PACE_TRACE("pace_munlock"); - - return munlock (((char*)addr), len); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mprotect (void * addr, - pace_size_t len, - int prot) -{ - PACE_TRACE("pace_mprotect"); - - PACE_UNUSED_ARG(addr); - PACE_UNUSED_ARG(len); - PACE_UNUSED_ARG(prot); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_msync (void * addr, - pace_size_t len, - int flags) -{ - PACE_TRACE("pace_msync"); - - PACE_UNUSED_ARG(addr); - PACE_UNUSED_ARG(len); - PACE_UNUSED_ARG(flags); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munlockall () -{ - PACE_TRACE("pace_munlockall"); - - return munlockall (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munmap (void * addr, pace_size_t len) -{ - PACE_TRACE("pace_munmap"); - - PACE_UNUSED_ARG(addr); - PACE_UNUSED_ARG(len); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -PACE_HANDLE -pace_shm_open (const char * name, - int oflag, - pace_mode_t mode) -{ - PACE_TRACE("pace_shm_open"); - - /* Just use open per ACE. */ - return pace_open (name, oflag, mode); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_shm_unlink (const char * name) -{ - PACE_TRACE("pace_shm_unlink"); - - /* Just use unlink per ACE. */ - return pace_unlink (name); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/mqueue.c b/PACE/pace/vxworks/mqueue.c deleted file mode 100644 index b2cbe7f35b9..00000000000 --- a/PACE/pace/vxworks/mqueue.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * pace/vxworks/mqueue.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/mqueue.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/mqueue.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/mqueue.h b/PACE/pace/vxworks/mqueue.h deleted file mode 100644 index 8e3b66e136a..00000000000 --- a/PACE/pace/vxworks/mqueue.h +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/mqueue.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_MQUEUE_H_VXWORKS -#define PACE_MQUEUE_H_VXWORKS - -#if PACE_LINUX -# include "pace/emulation/mqueue.h" -#else -# include -#endif /* PACE_LINUX */ - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_MQD_T -#define PACE_MQD_T - typedef mqd_t pace_mqd_t; -#endif /* PACE_MQD_T */ - -#ifndef PACE_MQ_ATTR -#define PACE_MQ_ATTR - typedef struct mq_attr pace_mq_attr; -#endif /* PACE_MQ_ATTR */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MQUEUE_H_VXWORKS */ diff --git a/PACE/pace/vxworks/mqueue.inl b/PACE/pace/vxworks/mqueue.inl deleted file mode 100644 index 78b983e5e66..00000000000 --- a/PACE/pace/vxworks/mqueue.inl +++ /dev/null @@ -1,101 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/posix/mqueue.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_close (pace_mqd_t mqdes) -{ - PACE_TRACE("pace_mq_close"); - - return mq_close (mqdes); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_getattr (pace_mqd_t mqdes, - pace_mq_attr * mqstat) -{ - PACE_TRACE("pace_mq_getattr"); - - return mq_getattr (mqdes, mqstat); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_notify (pace_mqd_t mqdes, - const pace_sigevent * notification) -{ - PACE_TRACE("pace_mq_notify"); - - return mq_notify (mqdes, notification); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -ssize_t -pace_mq_receive (pace_mqd_t mqdes, - char * msg_ptr, - size_t msg_len, - unsigned int * msg_prio) -{ - PACE_TRACE("pace_mq_receive"); - - return mq_receive (mqdes, msg_ptr, msg_len, msg_prio); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_send (pace_mqd_t mqdes, - const char * msg_ptr, - size_t msg_len, - unsigned int msg_prio) -{ - PACE_TRACE("pace_mq_send"); - - return mq_send (mqdes, msg_ptr, msg_len, msg_prio); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_setattr (pace_mqd_t mqdes, - const pace_mq_attr * mqstat, - pace_mq_attr * omqstat) -{ - PACE_TRACE("pace_mq_setattr"); - - return mq_setattr (mqdes, mqstat, omqstat); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_unlink (const char * name) -{ - PACE_TRACE("pace_mq_unlink"); - - return mq_unlink (name); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/pthread.c b/PACE/pace/vxworks/pthread.c deleted file mode 100644 index ecf556b1639..00000000000 --- a/PACE/pace/vxworks/pthread.c +++ /dev/null @@ -1,1376 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/pthread.c - * - * = AUTHOR - * Joe Hoffert. The *VAST* majority of the pthread code for VxWorks - * has been supplied by Hughes Network Systems via Braeton Taylor. - * - * ============================================================================= */ - -#include "pace/pthread.h" - -/* pthread queue */ -static pthread_q_entry pthread_queue[PTHEAD_QUEUE_MAX_LEN]; -static pthread_q_entry * first = NULL; -static pthread_q_entry * current = NULL; -static int pthread_count = 0; -/*static pthread_q_entry * pthread_queue_get_entry();*/ -static int initialized = 0; -static int registered_cleanup_init = 0; - -static pthread_key_entry keyList[PTHREAD_KEYS_MAX]; - -/* - * The defaut pthread attr structure, if calling task - * does not pass attr, this default will be used - */ -static struct _PTHREAD_ATTR _pthread_attr_default_s = -{ - PTHREAD_DEFAULT_STACK_SIZE, /* stacksize */ - { '\0' }, /* name */ - {100}, /* priority */ - PTHREAD_SCOPE_SYSTEM, /* scope */ - SCHED_FIFO, /* indirect function */ - /* According to the POSIX standard PTHREAD_CREATE_JOINABLE - * is the default - */ - /*PTHREAD_CREATE_DETACHED * detached */ - PTHREAD_CREATE_JOINABLE /* joinable */ -}; - -/* global default access */ -pace_pthread_attr_t pthread_attr_default = &_pthread_attr_default_s; - - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/pthread.inl" -#endif /* ! PACE_HAS_INLINE */ - -/* - * VxWorks Helper Functions - */ - -/* - * Setup the thread information needed for main. This function - * mimics much of what's in pthread_create below but this is - * only for registering a thread already created (as in the case - * of main). - */ -STATUS -pacevx_vxworks_init() -{ - WIND_TCB *pTcb; - pace_pthread_t pthread; - int taskid; - unsigned int i; - STATUS status; - - PACE_TRACE("pacevx_vxworks_init"); - - /* Fill in the main thread's TCB with the information needed - * for POSIX emulation. - */ - taskid = taskIdSelf(); - if ((pTcb = taskTcb(taskid)) == NULL) - { - taskDelete(taskid); - return ERROR; - } - - pthread = (pace_pthread_t )malloc(sizeof(struct _PTHREAD_T)); - - if (pthread == NULL) - { - taskDelete(taskid); - return ERROR; - } - - /* construct pace_pthread_t structure */ - - bzero((char *)pthread, sizeof(struct _PTHREAD_T)); - pthread->tid = taskid; - pthread->stateflag = PTHREAD_CANCEL_ENABLE; - pthread->canceltype = PTHREAD_CANCEL_ASYNCHRONOUS; - /*pthread->detachflag = PTHREAD_CREATE_JOINABLE;*/ - pthread->detachflag = PTHREAD_CREATE_DETACHED; - - /* initialize the join semaphore also */ - if ((pthread->joinSem = semBCreate(SEM_Q_PRIORITY, SEM_EMPTY)) == NULL) - { - free((void *)pthread); - taskDelete(taskid); - return ERROR; - } - - /* save to the WIND_TCB for reference afterward */ - pTcb->_USER_SPARE4 = (int) pthread; - - /* I guess this doesn't need to get added for the main thread. - * It seems to cause problems for main. - if (registered_cleanup_init == 0) - { - status = taskDeleteHookAdd((FUNCPTR)pacevx_pthread_run_cleanup); - if (status == ERROR) - { - return ERROR; - } - registered_cleanup_init = 1; - } - - pacevx_pthread_queue_add(pthread); - */ - - return OK; -} - -/* - * Get a free entry from the pthread queue. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pthread_q_entry * -pacevx_pthread_queue_get_entry () -{ - int i; - - PACE_TRACE("pacevx_pthread_queue_get_entry"); - - for (i = 0; i < PTHEAD_QUEUE_MAX_LEN; i++) - { - if (pthread_queue[i].status == FALSE) - return &pthread_queue[i]; - } - - /* error condition, can alloc more in future */ - return NULL; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * Run the destructor functions for the specific data key - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void -pacevx_pthread_destructor_key (pace_pthread_key_t key, void * arg) -{ - PACE_TRACE("pacevx_pthread_destructor_key"); - - if (pacevx_pthread_key_validate(key)) - { - if (keyList[key].destructor != NULL) - { - (*(keyList[key].destructor))(arg); - } - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * Run the destructor functions for the thread - * For each key value, if there is a non-NULL destructor pointer, - * and the thread has a non-NULL value associated with that key, - * the function pointed to is called with the current associated - * value as its sole argument. - * - * return: none. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void -pacevx_pthread_destructor_thread (pace_pthread_t pthread) -{ - int i; - - PACE_TRACE("pacevx_pthread_destructor_thread"); - - for (i = 0; i < PTHREAD_KEYS_MAX; i ++) - { - if (pthread->keyvaluelist[i] != NULL) - { - pacevx_pthread_destructor_key(i, pthread->keyvaluelist[i]); - } - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * General exit processing. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void -pacevx_pthread_proc_exit (pace_pthread_t pthread, void *value_ptr) -{ - int key; - int needgive = 0; - - PACE_TRACE("pacevx_pthread_proc_exit"); - - pacevx_pthread_cleanup_popall(pthread); - - /* thread storage data cleanup is automatically*/ - pacevx_pthread_destructor_thread(pthread); - - /* joinable or detached */ - if (pthread->detachflag == PTHREAD_CREATE_DETACHED) - { - free(pthread); - } - else - { - key = intLock(); - - /* pass the value */ - pthread->joinvalue = value_ptr; - - switch (pthread->joinstate) - { - case JOIN_PENDING: - pthread->joinstate = JOIN_TERMINATED; - needgive = 1; - break; - case JOIN_NORMAL: - default: - pthread->joinstate = JOIN_TERMINATED; - break; - } - intUnlock(key); - - /* unblock the calling thread */ - if (needgive) - semGive(((pace_pthread_t)(pthread->jointhread))->joinSem); - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pacevx_pthread_verify (pace_pthread_t pthread) -{ - int key; - pthread_q_entry * entry; - - PACE_TRACE("pacevx_pthread_verify"); - - key = intLock(); - - /* if queue is empty */ - if (first == NULL) - { - intUnlock(key); - return ERROR; - } - - entry = first; /* get the first one */ - - while (entry != NULL) - { - if (entry->pthread == pthread) - { - intUnlock(key); - return TRUE; - } - entry = entry->next; - } - - intUnlock(key); - - return FALSE; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * The cleanup routine that will be called if the task get deleted. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void -pacevx_pthread_run_cleanup (WIND_TCB *pTcb) -/* pointer to deleted task's WIND_TCB */ -{ - pace_pthread_t pthread; - - PACE_TRACE("pacevx_pthread_run_cleanup"); - - /* free thread tcb only*/ - if (pTcb->_USER_SPARE4 != 0) - { - pthread = (pace_pthread_t) pTcb->_USER_SPARE4; - - pacevx_pthread_proc_exit(pthread, NULL); - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * Add to the pthread queue. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pacevx_pthread_queue_add (pace_pthread_t pthread) -{ - int key; - pthread_q_entry * entry; - - PACE_TRACE("pacevx_pthread_queue_add"); - - key = intLock(); - - if ((entry = pacevx_pthread_queue_get_entry()) != NULL) - { - entry->status = TRUE; - entry->pthread = pthread; - - if (first == NULL) - { - first = entry; - current = entry; - } - else - { - current->next = entry; - current = entry; - } - pthread_count ++; - intUnlock(key); - return OK; - } - - intUnlock(key); - return ERROR; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * Remove an entry to the pthread queue. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pacevx_pthread_queue_remove (pace_pthread_t pthread) -{ - int key; - pthread_q_entry * entry1; - pthread_q_entry * entry2; - - PACE_TRACE("pacevx_pthread_queue_remove"); - - key = intLock(); - - if (first == NULL) - { - intUnlock(key); - return ERROR; - } - - /* if it is the first one, simple */ - if (first->pthread == pthread) - { - first->status = FALSE; - first->pthread = NULL; - - entry1 = first->next; - - first->next = NULL; - - /* if it is the only one */ - if (current == first) - current = entry1; - - first = entry1; - - /* Check for the last thread and unregister cleanup function */ - if (first == NULL) - taskDeleteHookDelete((FUNCPTR)pacevx_pthread_run_cleanup); - - intUnlock(key); - return OK; - } - - /* else */ - - entry1 = first; - entry2 = entry1->next; - - while (entry2 != NULL) - { - if (entry2->pthread == pthread) - { - if (current == entry2) - current = entry1; - - entry1->next = entry2->next; /* remove the node */ - - /* set invalid and put back to the list */ - entry2->status = FALSE; - entry2->pthread = NULL; - entry2->next = NULL; - intUnlock(key); - return OK; - } - entry1 = entry2; - entry2 = entry2->next; - } - - intUnlock(key); - return ERROR; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * Run the rest of cleanup routines left in the stack. - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void -pacevx_pthread_cleanup_popall (pace_pthread_t thread) -{ - int count; - int i; - - PACE_TRACE("pacevx_pthread_cleanup_popall"); - - count = thread->rtnCount - 1; - - /* - * We don't currently support any way - * to add cleanup routines since pace_pthread_cleanup_push and - * pace_pthread_cleanup_pop are undefined macros for VxWorks. - */ - for (i = count; i > 0 ; i--) - { - thread->rtnCount --; - (*(thread->cleanupRtn[i].routine))(thread->cleanupRtn[i].args); - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -/* - * Validate the key to see if the key is already created (valid) - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pacevx_pthread_key_validate (pace_pthread_key_t key) -{ - int intkey; - - PACE_TRACE("pacevx_pthread_key_validate"); - - intkey = intLock(); - - if (keyList[key].valid) - { - intUnlock(intkey); - return TRUE; - } - else - { - intUnlock(intkey); - return FALSE; - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - - -/* - * PACE - POSIX Functions - */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_cond_timedwait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex, - const pace_timespec * abstime) -{ - /* - int msec_timeout; - if (abstime->sec () == 0 && abstime->usec () == 0) - msec_timeout = 0; * Do a "poll." * - else - { - // Assumes that struct timespec is same size as struct timeval, - // which assumes that time_t is a long: it currently is. - struct pace_timespec ts; - - pace_clock_gettime (CLOCK_REALTIME, &ts); - - // Note that we must convert between absolute time (which is - // passed as a parameter) and relative time. - pace_timespec relative_time = (*abstime) - ts; - - // Watchout for situations where a context switch has caused the - // current time to be > the timeout. - if (relative_time < 0) - msec_timeout = 0; - else - msec_timeout = relative_time.msec (); - } - // Inline the call to ACE_OS::sema_wait () because it takes an - // ACE_Time_Value argument. Avoid the cost of that conversion . . . - int ticks_per_sec = ::sysClkRateGet (); - int ticks = msec_timeout * ticks_per_sec / ACE_ONE_SECOND_IN_MSECS; - result = ::semTake (cv->sema_.sema_, ticks); - */ - - - - - - int timeval = 0; - int errornumber; - int returnval = 0; - STATUS status; - - PACE_TRACE("pthread_cond_timedwait"); - - if (pace_pthread_mutex_unlock(mutex) != OK) return ERROR; - - /* convert the abstime to timeval */ - status = semTake(*cond, timeval); - - if (status != OK) - { - errornumber = errnoGet(); - if (errornumber == S_objLib_OBJ_ID_ERROR) - returnval = EINVAL; - else if (errornumber == S_objLib_OBJ_TIMEOUT) - returnval = ETIMEDOUT; - else - returnval = ERROR; - } - - pace_pthread_mutex_lock(mutex); - - return returnval; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_cond_wait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex) -{ - STATUS status; - int errornumber; - int returnval = 0; - - PACE_TRACE("pthread_cond_wait"); - - if (pace_pthread_mutex_unlock(mutex) != OK) - return ERROR; - - status = semTake(*cond, WAIT_FOREVER); - - if(status != OK) - { - errornumber = errnoGet(); - if (errornumber == S_objLib_OBJ_ID_ERROR) - returnval = EINVAL; - else - returnval = ERROR; - } - - pace_pthread_mutex_lock(mutex); - - return returnval; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, -# if defined (PACE_HAS_CPLUSPLUS) - pace_create_pf start_routine, -# else - void * (*start_routine) (void*), -# endif - void * arg) -{ - pace_pthread_attr_t pattr; - char * pname; - int taskid; - pace_pthread_t pthread; - WIND_TCB * pTcb; - - PACE_TRACE("pthread_create"); - - if (attr == 0) - pattr = pthread_attr_default; - else - if (*attr == 0) - pattr = pthread_attr_default; - else - pattr = *attr; - - if (pattr->name[0] != '\0') /* name is provided */ - pname = pattr->name; - else - pname = (char *)0; - - taskid = taskSpawn(pname, - (SCHED_FIFO_HIGH_PRI - pattr->schedule.sched_priority), - VX_FP_TASK, pattr->stacksize, (FUNCPTR)start_routine, - (int)arg, 0,0,0,0,0,0,0,0,0); - - if (taskid == ERROR) - return ERROR; - - if ((pTcb = taskTcb(taskid)) == NULL) - { - taskDelete(taskid); - return ERROR; - } - - pthread = (pace_pthread_t) malloc(sizeof(struct _PTHREAD_T)); - - if (pthread == NULL) - { - taskDelete(taskid); - return ERROR; - } - - /* construct pace_pthread_t structure */ - - bzero((char *)pthread, sizeof(struct _PTHREAD_T)); - pthread->tid = taskid; - pthread->stateflag = PTHREAD_CANCEL_ENABLE; - pthread->canceltype = PTHREAD_CANCEL_ASYNCHRONOUS; - pthread->detachflag = pattr->dstate; - - /* initialize the join semaphore also */ - if ((pthread->joinSem = semBCreate(SEM_Q_PRIORITY, SEM_EMPTY)) == NULL) - { - free((void *)pthread); - taskDelete(taskid); - return ERROR; - } - - /* pass it to the caller */ - *thread = pthread; - - /* save to the WIND_TCB for reference afterward */ - pTcb->_USER_SPARE4 = (int) pthread; - - if (registered_cleanup_init == 0) - { - taskDeleteHookAdd((FUNCPTR)pacevx_pthread_run_cleanup); - registered_cleanup_init = 1; - } - - pacevx_pthread_queue_add(pthread); - - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_detach (pace_pthread_t thread) -{ - int key; - int needfree; - needfree = 0; - - PACE_TRACE("pthread_detach"); - - if (!pacevx_pthread_verify(thread)) - return EINVAL; - - key = intLock(); - - switch (thread->joinstate) - { - /* task is joined, or detached, but still running, do nothing */ - case JOIN_PENDING: - case JOIN_DETATCHED: - intUnlock(key); - return OK; - break; - case JOIN_NORMAL: /* task is running */ - thread->joinstate = JOIN_DETATCHED; - break; - case JOIN_TERMINATED: - needfree = 1; - break; - default: - break; - } - - intUnlock(key); - - if (needfree) - { - pacevx_pthread_queue_remove(thread); - free(thread); - } - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_join (pace_pthread_t thread, void ** value_ptr) -{ - /* - * The pthread_join() function suspends execution of the calling - * thread until the target thread terminates, unless the target - * thread has already terminated. - * The terminating thread can pass value to the caller by - * pthread_exit() and the calling thread gets it from "value_ptr" - * The application must verify the "value_ptr" value before using it. - */ - pace_pthread_t pthread; - int needfree; - int key; - - PACE_TRACE("pthread_join"); - - if (!pacevx_pthread_verify(thread)) - return ERROR; - - if (thread->detachflag != PTHREAD_CREATE_JOINABLE) - return ERROR; - - if ((pthread = pace_pthread_self()) == NULL) - return ERROR; - - needfree = 0; - - key = intLock(); - switch (thread->joinstate) - { - case JOIN_NORMAL: - thread->jointhread = pthread; - thread->joinstate = JOIN_PENDING; - break; - case JOIN_TERMINATED: - needfree = 1; - break; - case JOIN_PENDING: - default: - intUnlock(key); - return ERROR; - } - intUnlock(key); - - if (needfree) - { - *value_ptr = thread->joinvalue; - pacevx_pthread_queue_remove(thread); - free(thread); - return OK; - } - - /* if we are here, thread is not terminated yet */ - semTake(pthread->joinSem, WAIT_FOREVER); - - /* cleanup */ - *value_ptr = thread->joinvalue; - pacevx_pthread_queue_remove(thread); - free(thread); - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_key_create (pace_pthread_key_t * key, -# if defined (PACE_HAS_CPLUSPLUS) - pace_keycreate_pf destructor) -# else - void (*destructor)(void*)) -# endif -{ - /* - * Create a thread-specific data key. Also initialize the - * data structure if it is called first time. - */ - int i; - int intkey; - - PACE_TRACE("pthread_key_create"); - - /* do the initialization if it is the first time */ - if (initialized == 0) - { - initialized = 1; - - /* initialize the data structure */ - for (i = 0; i < PTHREAD_KEYS_MAX; i++) - { - keyList[i].index = i; - keyList[i].valid = FALSE; - keyList[i].destructor = NULL; - } - } - - /* find first available position */ - intkey = intLock(); - for (i = 0; i < PTHREAD_KEYS_MAX; i++) - { - if (keyList[i].valid == FALSE) - { - *key = (pace_pthread_key_t)keyList[i].index; - keyList[i].valid = TRUE; - keyList[i].destructor = destructor; - intUnlock(intkey); - - return OK; - } - } - - intUnlock(intkey); - return ERROR; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_key_delete (pace_pthread_key_t key) -{ - int intkey; - - PACE_TRACE("pthread_key_delete"); - - if ((key < 0) || (key >= PTHREAD_KEYS_MAX)) - return ERROR; - - intkey = intLock(); - - keyList[key].valid = FALSE; - keyList[key].destructor = NULL; - - intUnlock(intkey); - - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_once (pace_pthread_once_t * once_control, -# if defined (PACE_HAS_CPLUSPLUS) - pace_once_pf init_routine) -# else - void (*init_routine) (void)) -# endif -{ - /* - * Once function allows the function to be executed exact only once - * Subsequent calls of pthread_once() with the same once_control will - * not call the void_routine(). - */ - int i; - int key; - pace_pthread_t pthread; - - PACE_TRACE("pthread_once"); - - if ((pthread = pace_pthread_self()) == NULL) - return ERROR; - - /* make it atomic */ - key = intLock(); - - for (i = 0; i < pthread->onceCount; i++) - { - if (*once_control == pthread->onceList[i].once_ctl) - { - /* do nothing, already called */ - intUnlock(key); - return OK; - } - } - - /* if we are here, no match is found */ - pthread->onceList[pthread->onceCount].once_ctl = *once_control; - pthread->onceCount++; - intUnlock(key); - - /* run the init routine */ - (*init_routine)(); - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_init (pace_pthread_attr_t * attr) -{ - PACE_TRACE("pthread_attr_init"); - - /* - * Attempt to allocate memory for the attributes object. - */ - - if ((*attr = (pace_pthread_attr_t) malloc(sizeof(struct _PTHREAD_ATTR))) - == NULL) - { - return ERROR; - } - - /* - * Set the default attributes. - */ - - memcpy ((void *)(*attr), (void *)pthread_attr_default, - sizeof(struct _PTHREAD_ATTR)); - - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate) -{ - PACE_TRACE("pthread_attr_setdetachstate"); - - if ((detachstate != PTHREAD_CREATE_DETACHED) || - (detachstate != PTHREAD_CREATE_JOINABLE)) - { - (*attr)->dstate = PTHREAD_CREATE_DETACHED; - return ERROR; - } - - (*attr)->dstate = detachstate; - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param) -{ - PACE_TRACE("pthread_attr_setschedparam"); - - /* range check */ - if (param->sched_priority > SCHED_RR_HIGH_PRI || - param->sched_priority < SCHED_RR_LOW_PRI ) - { - return ERROR; - } - - (*attr)->schedule.sched_priority = param->sched_priority; - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_cancel (pace_pthread_t thread) -{ - PACE_TRACE("pthread_cancel"); - - /* - * In VxWorks, to cancel a thread is to delete a task. - */ - if (!pacevx_pthread_verify(thread)) - return ESRCH; - - if (taskIdVerify(thread->tid) == ERROR) /* already exit, never happen */ - return ERROR; - - if (thread->stateflag == PTHREAD_CANCEL_DISABLE) - return ERROR; - else - return (taskDelete(thread->tid)); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param) -{ - PACE_TRACE("pthread_getschedparam"); - - if (thread == 0) - return ERROR; - - *policy = sched_getscheduler(thread->tid); - - if (sched_getparam(thread->tid, param) == OK) - { - /* convert VxWorks priority to POSIX priority */ - param->sched_priority = SCHED_FIFO_HIGH_PRI - param->sched_priority; - return OK; - } - - return ERROR; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void * -pthread_getspecific (pace_pthread_key_t key) -{ - pace_pthread_t pthread; - - PACE_TRACE("pthread_getspecific"); - - if (!pacevx_pthread_key_validate(key)) - return NULL; - - if ((pthread = pace_pthread_self()) != NULL) - { - return pthread->keyvaluelist[key]; - } - - return NULL; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr) -{ - /* - * Initialises the mutex referenced by mutex with attributes - * specified by attr. If attr is NULL, the default mutex - * attributes are used. - */ - - /* Make SEM_Q_FIFO the default since this is what ACE does (and - * ACE works) plus this is supposedly the default for VxWorks. - */ - int options = SEM_Q_FIFO; - - PACE_TRACE("pthread_mutex_init"); - - if (attr != NULL) - { - switch ((*attr)->protocol) - { - case PTHREAD_PRIO_INHERIT: - /* POSIX's PTHREAD_PRIO_INHERIT maps to VxWorks' SEM_INVERSION_SAFE. - * However, this doesn't seem to be supported (at least on 5.3.1). - * Return an error. - */ - return ERROR; - break; - - case PTHREAD_PRIO_PROTECT: - /* VxWorks does not support this functionality. - * Return an error. - */ - return ERROR; - break; - - case PTHREAD_PRIO_NONE: - options = SEM_Q_FIFO; - break; - - default: - perror("Invalid POSIX protocol specified"); - return ERROR; - break; - } - } - - *mutex = semMCreate(options); - if (*mutex == NULL) { - return ERROR; - } - - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutex_lock (pace_pthread_mutex_t * mutex) -{ - STATUS status; - int errornumber; - - PACE_TRACE("pthread_mutex_lock"); - - status = semTake(*mutex, WAIT_FOREVER); - if (status == OK) - { - return OK; - } - else - { - errornumber = errnoGet(); - if (errornumber == S_objLib_OBJ_ID_ERROR) - return EINVAL; - - return ERROR; - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutex_trylock (pace_pthread_mutex_t * mutex) -{ - STATUS status; - int errornumber; - - PACE_TRACE("pthread_mutex_trylock"); - - status = semTake(*mutex, NO_WAIT); - if (status == OK) - return OK; - else - { - errornumber = errnoGet(); - if (errornumber == S_objLib_OBJ_ID_ERROR) - return EINVAL; - if (errornumber == S_objLib_OBJ_UNAVAILABLE) - return EBUSY; - - return ERROR; - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutex_unlock (pace_pthread_mutex_t * mutex) -{ - STATUS status; - int errornumber; - - PACE_TRACE("pthread_mutex_unlock"); - - status = semGive(*mutex); - if (status == OK) - return OK; - else - { - errornumber = errnoGet(); - if (errornumber == S_semLib_INVALID_OPERATION) - return EPERM; - - return ERROR; - } -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol) -{ - PACE_TRACE("pthread_mutexattr_setprotocol"); - -/* - * Does not support PTHREAD_PRIO_PROTECT for VxWorks - */ - if ((protocol == PTHREAD_PRIO_NONE) || - (protocol == PTHREAD_PRIO_INHERIT )) - { - (*attr)->protocol = protocol; - return OK; - } - - return ERROR; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutexattr_init (pace_pthread_mutexattr_t * attr) -{ - /* - * Initializes a mutex attributes object attr with the - * default value for all of the attributes - */ - pace_pthread_mutexattr_t pattr; - - PACE_TRACE("pthread_mutexattr_init"); - - pattr = (pace_pthread_mutexattr_t) malloc(sizeof(struct _PTHREAD_MUX_ATTR)); - if (pattr == NULL) - return ERROR; - - /* POSIX's PTHREAD_PRIO_INHERIT maps to VxWorks' SEM_INVERSION_SAFE. - * However, this doesn't seem to be supported (at least on 5.3.1). - * Set PTHREAD_PRIO_NONE as the default since the only other choice - * is PTHREAD_PRIO_PROTECT which VxWorks doesn't support. - pattr->protocol = PTHREAD_PRIO_INHERIT; - */ - pattr->protocol = PTHREAD_PRIO_NONE; - pattr->shared = PTHREAD_PROCESS_SHARED; - pattr->type = PTHREAD_MUTEX_DEFAULT; - - *attr = pattr; - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared) -{ - PACE_TRACE("pthread_mutexattr_setpshared"); - - /* - * Only supports PTHREAD_PROCESS_SHARED - */ - if (attr == 0) return EINVAL; - - if (pshared != PTHREAD_PROCESS_SHARED) - return ERROR; - else - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_setcancelstate (int state, int * oldstate) -{ - int key; - pace_pthread_t pthread; - - PACE_TRACE("pthread_setcancelstate"); - - if ((state != PTHREAD_CANCEL_ENABLE) && - (state != PTHREAD_CANCEL_DISABLE)) - { - return ERROR; - } - - if ((pthread = pace_pthread_self()) == NULL) - return ERROR; - - key = intLock(); - *oldstate = pthread->stateflag; - pthread->stateflag = state; - intUnlock(key); - - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_setcanceltype (int type, int * oldtype) -{ - /* - * Only asychronouse type is supported - */ - pace_pthread_t pthread; - - PACE_TRACE("pthread_setcanceltype"); - - if (type != PTHREAD_CANCEL_ASYNCHRONOUS) - return ERROR; - - if ((pthread = pace_pthread_self()) == NULL) - return ERROR; - - *oldtype = pthread->canceltype; - - return OK; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param) -{ - /* - * Only priority can be changed. - */ - struct sched_param sparam; - - PACE_TRACE("pthread_setschedparam"); - - if (thread == 0) - return ERROR; - - if (policy != sched_getscheduler(thread->tid)) - return ERROR; - - /* convert POSIX priority to VxWorks priority */ - sparam.sched_priority = SCHED_FIFO_HIGH_PRI - param->sched_priority; - - return (sched_setparam(thread->tid, &sparam)); -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_setspecific (pace_pthread_key_t key, const void * value) -{ - pace_pthread_t pthread; - - PACE_TRACE("pthread_setspecific"); - - if (!pacevx_pthread_key_validate(key)) - return ERROR; - - if ((pthread = pace_pthread_self()) != NULL) - { - pthread->keyvaluelist[key] = PACE_NONCONST_ARG_CAST(void *) value; - return OK; - } - - return ERROR; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_sigmask (int how, - const sigset_t * set, - sigset_t * oset) -{ - PACE_TRACE("pthread_sigmask"); - - switch (how) - { - case SIG_BLOCK: - case SIG_UNBLOCK: - { - /* get the old mask */ - *oset = sigsetmask (*set); - /* create a new mask: the following assumes that sigset_t is 4 bytes, - * which it is on VxWorks 5.2, so bit operations are done simply . . . - */ - sigsetmask (how == SIG_BLOCK ? (*oset |= *set) : (*oset &= ~*set)); - break; - } - case SIG_SETMASK: - *oset = sigsetmask (*set); - break; - default: - return -1; - } - - return 0; -} -#endif /* PACE_HAS_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pace_pthread_t -pthread_self () -{ - WIND_TCB *pTcb; - - PACE_TRACE("pthread_self"); - - if ((pTcb = taskTcb(taskIdSelf())) == NULL) - return (pace_pthread_t)NULL; - - return (pace_pthread_t)(pTcb->_USER_SPARE4); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/pthread.h b/PACE/pace/vxworks/pthread.h deleted file mode 100644 index 260fe7a553d..00000000000 --- a/PACE/pace/vxworks/pthread.h +++ /dev/null @@ -1,163 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/pthread.h - * - * = AUTHOR - * Joe Hoffert. The *VAST* majority of the pthread code for VxWorks - * has been supplied by Hughes Network Systems via Braeton Taylor. - * - * ============================================================================ */ - -#ifndef PACE_PTHREAD_H_VXWORKS -#define PACE_PTHREAD_H_VXWORKS - -#include -#include -#include -#include -#include "pace/sys/types.h" -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_PTHREAD_CANCELED PTHREAD_CANCELED -#define PACE_PTHREAD_CANCEL_AYNCHRONOUS PTHREAD_CANCEL_ASYNCHRONOUS -#define PACE_PTHREAD_CANCEL_DEFERRED PTHREAD_CANCEL_DEFERRED -#define PACE_PTHREAD_CACEL_DISABLE PTHREAD_CANCEL_DISABLE -#define PACE_PTHREAD_CANCEL_ENABLE PTHREAD_CANCEL_ENABLE -#define PACE_PTHREAD_COND_INITIALIZER PTHREAD_COND_INITIALIZER -#define PACE_PTHREAD_CREATE_DETACHED PTHREAD_CREATE_DETACHED -#define PACE_PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_JOINABLE -#define PACE_PTHREAD_EXPLICIT_SCHED PTHREAD_EXPLICIT_SCHED -#define PACE_PTHREAD_INHERIT_SCHED PTHREAD_INHERIT_SCHED -#define PACE_PTHREAD_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER -#define PACE_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT -#define PACE_PTHREAD_PRIO_INHERIT PTHREAD_PRIO_INHERIT -#define PACE_PTHREAD_PRIO_NONE PTHREAD_PRIO_NONE -#define PACE_PTHREAD_PRIO_PROTECT PTHREAD_PRIO_PROTECT -#define PACE_PTHREAD_PROCESS_PRIVATE PTHREAD_PROCESS_PRIVATE -#define PACE_PTHREAD_PROCESS_SHARED PTHREAD_PROCESS_SHARED -#define PACE_PTHREAD_SCOPE_PROCESS PTHREAD_SCOPE_PROCESS -#define PACE_PTHREAD_SCOPE_SYSTEM PTHREAD_SCOPE_SYSTEM - -#define PTHREAD_MUTEX_INITIALIZER 0 -#define PTHREAD_COND_INITIALIZER 0 - -#ifndef PACE_SCHED_PARAM -#define PACE_SCHED_PARAM - typedef struct sched_param pace_sched_param; -#endif /* PACE_SCHED_PARAM */ - -#if defined (PACE_HAS_CPLUSPLUS) -# ifndef PACE_ATFORK_PF -# define PACE_ATFORK_PF - typedef void (*pace_atfork_pf) (void); -# endif /* PACE_ATFORK_PF */ - -# ifndef PACE_KEYCREATE_PF -# define PACE_KEYCREATE_PF - typedef void (*pace_keycreate_pf) (void*); -# endif /* PACE_KEYCREATE_PF */ - -# ifndef PACE_ONCE_PF -# define PACE_ONCE_PF - typedef void (*pace_once_pf) (void); -# endif /* PACE_ONCE_PF */ - -# ifndef PACE_CREATE_PF -# define PACE_CREATE_PF - typedef void* (*pace_create_pf) (void*); -# endif /* PACE_CREATE_PF */ - -#endif /* PACE_HAS_CPLUPLUS */ - - /* - * VxWorks helper functions - */ -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - extern pace_pthread_attr_t pthread_attr_default; - - STATUS pacevx_vxworks_init(); - void pacevx_pthread_proc_exit(pace_pthread_t pthread, void *value_ptr); - int pacevx_pthread_verify(pace_pthread_t pthread); - void pacevx_pthread_run_cleanup (WIND_TCB *pTcb); - int pacevx_pthread_queue_add(pace_pthread_t pthread); - int pacevx_pthread_queue_remove(pace_pthread_t pthread); - void pacevx_pthread_cleanup_popall(pace_pthread_t thread); - void pacevx_pthread_destructor_thread(pace_pthread_t pthread); - int pacevx_pthread_key_validate(pace_pthread_key_t key); - void pacevx_pthread_destructor_key(pace_pthread_key_t key, void * arg); - - int pthread_cond_timedwait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex, - const pace_timespec * abstime); - int pthread_cond_wait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex); -# if defined (PACE_HAS_CPLUSPLUS) - int pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - pace_create_pf start_routine, - void * arg); - int pthread_key_create (pace_pthread_key_t * key, - pace_keycreate_pf destructor); - int pthread_once (pace_pthread_once_t * once_control, - pace_once_pf init_routine); -# else /* ! PACE_HAS_CPLUSPLUS */ - int pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg); - int pthread_key_create (pace_pthread_key_t * key, - void (*destructor)(void*)); - int pthread_once (pace_pthread_once_t * once_control, - void (*init_routine) (void)); -# endif /*! PACE_HAS_CPLUSPLUS */ - int pthread_detach (pace_pthread_t thread); - int pthread_join (pace_pthread_t thread, void ** value_ptr); - int pthread_key_delete (pace_pthread_key_t key); - int pthread_attr_init (pace_pthread_attr_t * attr); - int pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate); - int pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param); - int pthread_cancel (pace_pthread_t thread); - int pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param); - void * pthread_getspecific (pace_pthread_key_t key); - int pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr); - int pthread_mutex_lock (pace_pthread_mutex_t * mutex); - int pthread_mutex_trylock (pace_pthread_mutex_t * mutex); - int pthread_mutex_unlock (pace_pthread_mutex_t * mutex); - int pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol); - int pthread_mutexattr_init (pace_pthread_mutexattr_t * attr); - int pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared); - int pthread_setcancelstate (int state, int * oldstate); - int pthread_setcanceltype (int type, int * oldtype); - int pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param); - int pthread_setspecific (pace_pthread_key_t key, - const void * value); - int pthread_sigmask (int how, - const sigset_t * set, - sigset_t * oset); - pace_pthread_t pthread_self (); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PTHREAD_H_VXWORKS */ diff --git a/PACE/pace/vxworks/pthread.inl b/PACE/pace/vxworks/pthread.inl deleted file mode 100644 index 02f694072bd..00000000000 --- a/PACE/pace/vxworks/pthread.inl +++ /dev/null @@ -1,935 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/pthread.inl - * - * = AUTHOR - * Joe Hoffert. The *VAST* majority of the pthread code for VxWorks - * has been supplied by Hughes Network Systems via Braeton Taylor. - * - * - * ============================================================================= */ - -#include "pace/unistd.h" - -#include "pace/stdio.h" - -/* - * PACE - POSIX Functions - */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_atfork ( -# if defined (PACE_HAS_CPLUSPLUS) - pace_atfork_pf prepare, - pace_atfork_pf parent, - pace_atfork_pf child -# else /* ! PACE_HAS_CPLUSPLUS */ - void (*prepare) (), - void (*parent) (), - void (*child) () -# endif /* PACE_HAS_CPLUSPLUS */ - ) -{ - PACE_TRACE("pace_pthread_atfork"); - /* - * In VxWorks, there is only one process. - */ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_destroy (pace_pthread_attr_t * attr) -{ - PACE_TRACE("pace_pthread_attr_destroy"); - /* - * Free memory allocated to the attributes object. - */ - if ((*attr) == 0) - return ERROR; - - free ((char *) *attr); - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getdetachstate (const pace_pthread_attr_t * attr, - int * detachstate) -{ - PACE_TRACE("pace_pthread_attr_getdetachstate"); - - *detachstate = (*attr)->dstate; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getinheritsched (const pace_pthread_attr_t * attr, - int * inheritsched) -{ - PACE_TRACE("pace_pthread_attr_getinheritsched"); - - /* - * Get the priority inheritence of the thread attribute structure. - * Only PTHREAD_EXPLICIT_SCHED is returned. - */ - *inheritsched = PTHREAD_EXPLICIT_SCHED; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getschedparam (const pace_pthread_attr_t * attr, - pace_sched_param * param) -{ - PACE_TRACE("pace_pthread_attr_getschedparam"); - - param->sched_priority = (*attr)->schedule.sched_priority; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getschedpolicy (const pace_pthread_attr_t * attr, - int * policy) -{ - PACE_TRACE("pace_pthread_attr_getschedpolicy"); - - /* - * VxWorks only supports SCHED_FIFO. - */ - - *policy = SCHED_FIFO; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getscope (const pace_pthread_attr_t * attr, - int * contentionscope) -{ - PACE_TRACE("pace_pthread_attr_getscope"); - - /* - * Since all VxWorks tasks are system wide scope, - * no support for the scope except for PTHREAD_SCOPE_SYSTEM - */ - - *contentionscope = PTHREAD_SCOPE_SYSTEM; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getstackaddr (const pace_pthread_attr_t * attr, - void ** stackaddr) -{ - PACE_TRACE("pace_pthread_attr_getstackaddr"); - - /* - * VxWorks has no support for stack address getting - */ - - return ERROR; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getstacksize (const pace_pthread_attr_t * attr, - size_t * stacksize) -{ - PACE_TRACE("pace_pthread_attr_getstacksize"); - - if (*attr == 0) - return ERROR; - - *stacksize = (*attr)->stacksize; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_init (pace_pthread_attr_t * attr) -{ - PACE_TRACE("pace_pthread_attr_init"); - - return pthread_attr_init(attr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate) -{ - PACE_TRACE("pace_pthread_attr_setdetachstate"); - - return pthread_attr_setdetachstate (attr, detachstate); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setinheritsched (pace_pthread_attr_t * attr, - int inheritsched) -{ - PACE_TRACE("pace_pthread_attr_setinheritsched"); - - /* - * For VxWorks, no inheritance of priority between the spawning task - * and the spawned task. Only PTHREAD_EXPLICIT_SCHED is supported. - */ - if (inheritsched == PTHREAD_EXPLICIT_SCHED) - { - return OK; - } - - return ERROR; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param) -{ - PACE_TRACE("pace_pthread_attr_setschedparam"); - - return pthread_attr_setschedparam (attr, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setschedpolicy (pace_pthread_attr_t * attr, - int policy) -{ - PACE_TRACE("pace_pthread_attr_setschedpolicy"); - - /* - * In VxWorks, the schedule policy is set in system scope, - * the whole system is running with one single scheduler, and - * is always pre-emptive priority based. The system wide - * scheduler can only be changed by kernelTimeSlice() - * - * To maintain the RTOS characteristics, only SCHED_FIFO is - * supported. - */ - if (policy != SCHED_FIFO) - return ERROR; - else - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setscope (pace_pthread_attr_t * attr, - int contentionscope) -{ - PACE_TRACE("pace_pthread_attr_setscope"); - - /* - * Since all VxWorks tasks are system wide scope, - * no support for the scope except for PTHREAD_SCOPE_SYSTEM - */ - if (contentionscope != PTHREAD_SCOPE_SYSTEM) - return ERROR; - else - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setstackaddr (pace_pthread_attr_t * attr, - void * stackaddr) -{ - PACE_TRACE("pace_pthread_attr_setstackaddr"); - - /* - * VxWorks does not support stack address setting. - */ - return ERROR; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setstacksize (pace_pthread_attr_t * attr, - size_t stacksize) -{ - PACE_TRACE("pace_pthread_attr_setstacksize"); - - /* - * Default size will be assigned if the stacksize is 0 - */ - if (*attr == 0) return ERROR; - - if (stacksize != 0) - (*attr)->stacksize = stacksize; - else - (*attr)->stacksize = PTHREAD_DEFAULT_STACK_SIZE; - - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cancel (pace_pthread_t thread) -{ - PACE_TRACE("pace_pthread_cancel"); - - return pthread_cancel (thread); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_broadcast (pace_pthread_cond_t * cond) -{ - PACE_TRACE("pace_pthread_cond_broadcast"); - - /* - * This call unblocks all the threads that are blocked - * on the specified condition variable cond. - */ - return semFlush(*cond); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_destroy (pace_pthread_cond_t * cond) -{ - PACE_TRACE("pace_pthread_cond_destroy"); - - if (*cond != NULL) - return semDelete(*cond); - - return EINVAL; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_init (pace_pthread_cond_t * cond, - const pace_pthread_condattr_t * attr) -{ - PACE_TRACE("pace_pthread_cond_init"); - - *cond = semBCreate(SEM_Q_PRIORITY, SEM_FULL); - if (*cond == NULL) - return ERROR; - - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_signal (pace_pthread_cond_t * cond) -{ - PACE_TRACE("pace_pthread_cond_signal"); - - return semGive(*cond); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_timedwait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex, - const pace_timespec * abstime) -{ - PACE_TRACE("pace_pthread_cond_timedwait"); - - return pthread_cond_timedwait(cond, - mutex, - abstime); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_wait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex) -{ - PACE_TRACE("pace_pthread_cond_wait"); - - return pthread_cond_wait(cond, - mutex); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_destroy (pace_pthread_condattr_t * attr) -{ - PACE_TRACE("pace_pthread_condattr_destroy"); - - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_getpshared (const pace_pthread_condattr_t * attr, - int * pshared) -{ - PACE_TRACE("pace_pthread_condattr_getpshared"); - - /* - * All the resources in present VxWorks are shared system wide. - */ - *pshared = PTHREAD_PROCESS_SHARED; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_init (pace_pthread_condattr_t * attr) -{ - PACE_TRACE("pace_pthread_condattr_init"); - - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_setpshared (pace_pthread_condattr_t * attr, - int pshared) -{ - PACE_TRACE("pace_pthread_condattr_setpshared"); - - /* - * All the resources in present VxWorks are shared system wide. - */ - if (pshared != PTHREAD_PROCESS_SHARED) - return ERROR; - - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg) -{ - PACE_TRACE("pace_pthread_create"); - - return pthread_create (thread, - attr, - start_routine, - arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_detach (pace_pthread_t thread) -{ - PACE_TRACE("pace_pthread_detach"); - - return pthread_detach (thread); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_equal (pace_pthread_t t1, pace_pthread_t t2) -{ - PACE_TRACE("pace_pthread_equal"); - - if (pacevx_pthread_verify(t1) && pacevx_pthread_verify(t2)) - { - if (t1->tid != t2->tid) - return 0; - } - - return 1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -pace_pthread_exit (void * value_ptr) -{ - /* - * Normal thread exit. All the cleanup routines will be popped, if any. - * If the thread is detached, free the storage; otherwise wait for join. - */ - pace_pthread_t pthread; - - PACE_TRACE("pace_pthread_exit"); - - if ((pthread = pace_pthread_self()) != NULL) - { - pacevx_pthread_proc_exit(pthread, value_ptr); - - exit(0); - } - - exit(-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param) -{ - PACE_TRACE("pace_pthread_getschedparam"); - - return pthread_getschedparam (thread, - policy, - param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_pthread_getspecific (pace_pthread_key_t key) -{ - PACE_TRACE("pace_pthread_getspecific"); - - return pthread_getspecific (key); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_join (pace_pthread_t thread, void ** value_ptr) -{ - PACE_TRACE("pace_pthread_join"); - - return pthread_join (thread, - value_ptr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_key_create (pace_pthread_key_t * key, - void (*destructor)(void*)) -{ - PACE_TRACE("pace_pthread_key_create"); - - return pthread_key_create (key, - destructor); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_key_delete (pace_pthread_key_t key) -{ - PACE_TRACE("pace_pthread_key_delete"); - - return pthread_key_delete (key); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_kill (pace_pthread_t thread, int sig) -{ - PACE_TRACE("pace_pthread_kill"); - - if (pacevx_pthread_verify(thread)) - return kill(thread->tid, sig); - else - return EINVAL; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_destroy (pace_pthread_mutex_t * mutex) -{ - PACE_TRACE("pace_pthread_mutex_destroy"); - - if (*mutex != NULL) - return semDelete(*mutex); - - return EINVAL; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_getprioceiling (pace_pthread_mutex_t * mutex, - int * prioceiling) -{ - PACE_TRACE("pace_pthread_mutex_getprioceiling"); - - /* - * Mutex priority is not supported in VxWorks; - * it depends on the thread using it and has the same priority - * ceiling as this thread (SCHED_RR_HIGH_PRI). - */ - *prioceiling = SCHED_RR_HIGH_PRI; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr) -{ - PACE_TRACE("pace_pthread_mutex_init"); - - return pthread_mutex_init (mutex, - attr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_lock (pace_pthread_mutex_t * mutex) -{ - PACE_TRACE("pace_pthread_mutex_lock"); - - return pthread_mutex_lock (mutex); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_setprioceiling (pace_pthread_mutex_t * mutex, - int prioceiling, - int * old_ceiling) -{ - PACE_TRACE("pace_pthread_mutex_setprioceiling"); - - /* - * Mutex priority is not supported in VxWorks; - * it depends on the thread using it and has the same priority - * ceiling as this thread (SCHED_RR_HIGH_PRI). - */ - *old_ceiling = SCHED_RR_HIGH_PRI; - - if (prioceiling != SCHED_RR_HIGH_PRI) - return ERROR; - - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_trylock (pace_pthread_mutex_t * mutex) -{ - PACE_TRACE("pace_pthread_mutex_trylock"); - - return pthread_mutex_trylock (mutex); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_unlock (pace_pthread_mutex_t * mutex) -{ - PACE_TRACE("pace_pthread_mutex_unlock"); - - return pthread_mutex_unlock (mutex); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_destroy (pace_pthread_mutexattr_t * attr) -{ - PACE_TRACE("pace_pthread_mutexattr_destroy"); - - free(*attr); - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getprioceiling (pace_pthread_mutexattr_t * attr, - int * prioceiling) -{ - PACE_TRACE("pace_pthread_mutexattr_getprioceiling"); - - /* - * Mutex priority is not supported in VxWorks, - * it depends the thread using it and has the same priority - * ceiling as this thread (SCHED_RR_HIGH_PRI). - */ - *prioceiling = SCHED_RR_HIGH_PRI; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getprotocol (const pace_pthread_mutexattr_t * attr, - int * protocol) -{ - PACE_TRACE("pace_pthread_mutexattr_getprotocol"); - -/* - * Does not support PTHREAD_PRIO_PROTECT for VxWorks - */ - if (attr == 0) - return EINVAL; - - *protocol = (*attr)->protocol; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setprioceiling (pace_pthread_mutexattr_t * attr, - int prioceiling) -{ - PACE_TRACE("pace_pthread_mutexattr_setprioceiling"); - - /* - * Mutex priority is not supported in VxWorks; - * it depends on the thread using it and has the same priority - * ceiling as this thread (SCHED_RR_HIGH_PRI). - */ - if (prioceiling == SCHED_RR_HIGH_PRI) - return OK; - else - return ERROR; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol) -{ - PACE_TRACE("pace_pthread_mutexattr_setprotocol"); - - return pthread_mutexattr_setprotocol (attr, - protocol); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getpshared (const pace_pthread_mutexattr_t * attr, - int * pshared) -{ - PACE_TRACE("pace_pthread_mutexattr_getpshared"); - - /* - * Only supports PTHREAD_PROCESS_SHARED - */ - *pshared = PTHREAD_PROCESS_SHARED; - return OK; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_init (pace_pthread_mutexattr_t * attr) -{ - PACE_TRACE("pace_pthread_mutexattr_init"); - - return pthread_mutexattr_init (attr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared) -{ - PACE_TRACE("pace_pthread_mutexattr_setpshared"); - - return pthread_mutexattr_setpshared (attr, - pshared); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_once (pace_pthread_once_t * once_control, - void (*void_routine) (void)) -{ - PACE_TRACE("pace_pthread_once"); - - return pthread_once (once_control, - void_routine); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_pthread_t -pace_pthread_self () -{ - PACE_TRACE("pace_pthread_self"); - - return pthread_self(); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setcancelstate (int state, - int * oldstate) -{ - PACE_TRACE("pace_pthread_setcancelstate"); - - return pthread_setcancelstate (state, - oldstate); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setcanceltype (int type, - int * oldtype) -{ - PACE_TRACE("pace_pthread_setcanceltype"); - - return pthread_setcanceltype (type, - oldtype); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param) -{ - PACE_TRACE("pace_pthread_setschedparam"); - - return pthread_setschedparam (thread, - policy, - param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setspecific (pace_pthread_key_t key, - const void * value) -{ - PACE_TRACE("pace_pthread_setspecific"); - - return pthread_setspecific (key, - value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_sigmask (int how, - const pace_sigset_t * set, - pace_sigset_t * oset) -{ - PACE_TRACE("pace_pthread_sigmask"); - - return pthread_sigmask (how, - set, - oset); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -pace_pthread_testcancel () -{ - PACE_TRACE("pace_pthread_testcancel"); - - /* Do nothing per ACE (i.e., ACE_OS::thr_testcancel). */ - return; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/pwd.c b/PACE/pace/vxworks/pwd.c deleted file mode 100644 index 08f623cb684..00000000000 --- a/PACE/pace/vxworks/pwd.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/pwd.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/pwd.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/pwd.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/pwd.h b/PACE/pace/vxworks/pwd.h deleted file mode 100644 index 4a2463658e5..00000000000 --- a/PACE/pace/vxworks/pwd.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/pwd.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_PWD_H_VXWORKS -#define PACE_PWD_H_VXWORKS - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_PASSWD -#define PACE_PASSWD - typedef struct passwd pace_passwd; -#endif /* PACE_PASSWD */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PWD_H_VXWORKS */ diff --git a/PACE/pace/vxworks/pwd.inl b/PACE/pace/vxworks/pwd.inl deleted file mode 100644 index 1e4aab00715..00000000000 --- a/PACE/pace/vxworks/pwd.inl +++ /dev/null @@ -1,82 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/pwd.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_passwd * -pace_getpwuid (pace_uid_t uid) -{ - PACE_TRACE("pace_getpwuid"); - - /* getpwuid() is not supported: just one user anyways */ - PACE_UNUSED_ARG (uid); - return 0; -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getpwuid_r (pace_uid_t uid, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result) -{ - PACE_TRACE("pace_getpwuid_r"); - - /* getpwuid_r() is not supported: just one user anyways */ - PACE_UNUSED_ARG (uid); - PACE_UNUSED_ARG (pwd); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - return 0; -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_passwd * -pace_getpwnam (const char * name) -{ - PACE_TRACE("pace_getpwnam"); - - /* getpwuid() is not supported: just one user anyways */ - PACE_UNUSED_ARG (name); - return 0; -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getpwnam_r (const char * name, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result) -{ - PACE_TRACE("pace_getpwnam_r"); - - /* getpwuid_r() is not supported: just one user anyways */ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (pwd); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - return 0; -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ diff --git a/PACE/pace/vxworks/sched.c b/PACE/pace/vxworks/sched.c deleted file mode 100644 index 14a8857f86e..00000000000 --- a/PACE/pace/vxworks/sched.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/sched.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sched.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/sched.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/sched.h b/PACE/pace/vxworks/sched.h deleted file mode 100644 index 722b5953c95..00000000000 --- a/PACE/pace/vxworks/sched.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/sched.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SCHED_H_VXWORKS -#define PACE_SCHED_H_VXWORKS - -#include -#include "pace/time.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_SCHED_FIFO SCHED_FIFO -#define PACE_SCHED_OTHER SCHED_RR - -#ifndef PACE_SCHED_PARAM -#define PACE_SCHED_PARAM - typedef struct sched_param pace_sched_param; -#endif /* PACE_SCHED_PARAM */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SCHED_H_VXWORKS */ diff --git a/PACE/pace/vxworks/sched.inl b/PACE/pace/vxworks/sched.inl deleted file mode 100644 index 1d6a11bcdf3..00000000000 --- a/PACE/pace/vxworks/sched.inl +++ /dev/null @@ -1,107 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/sched.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_get_priority_max (int policy) -{ - PACE_TRACE("pace_sched_get_priority_max"); - - return sched_get_priority_max (policy); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_get_priority_min (int policy) -{ - PACE_TRACE("pace_sched_get_priority_min"); - - return sched_get_priority_min (policy); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_getparam (pace_pid_t pid, - pace_sched_param * param) -{ - PACE_TRACE("pace_sched_getparam"); - - return sched_getparam (pid, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_rr_get_interval (pace_pid_t pid, - pace_timespec * interval) -{ - PACE_TRACE("pace_sched_rr_get_interval"); - - return sched_rr_get_interval (pid, interval); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_setparam (pace_pid_t pid, - const pace_sched_param * param) -{ - PACE_TRACE("pace_sched_setparam"); - - return sched_setparam (pid, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_getscheduler (pace_pid_t pid) -{ - PACE_TRACE("pace_sched_getscheduler"); - - return sched_getscheduler (pid); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_setscheduler (pace_pid_t pid, - int policy, - const pace_sched_param * param) -{ - PACE_TRACE("pace_sched_setscheduler"); - - return sched_setscheduler (pid, policy, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_yield () -{ - PACE_TRACE("pace_sched_yield"); - - return sched_yield (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/semaphore.c b/PACE/pace/vxworks/semaphore.c deleted file mode 100644 index f4d56e89543..00000000000 --- a/PACE/pace/vxworks/semaphore.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/semaphore.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/semaphore.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/semaphore.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/semaphore.h b/PACE/pace/vxworks/semaphore.h deleted file mode 100644 index f5a0a97d05a..00000000000 --- a/PACE/pace/vxworks/semaphore.h +++ /dev/null @@ -1,31 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/semaphore.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SEMAPHORE_H_VXWORKS -#define PACE_SEMAPHORE_H_VXWORKS - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -typedef sem_t pace_sem_t; - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SEMAPHORE_H_VXWORKS */ diff --git a/PACE/pace/vxworks/semaphore.inl b/PACE/pace/vxworks/semaphore.inl deleted file mode 100644 index edf2e95eea4..00000000000 --- a/PACE/pace/vxworks/semaphore.inl +++ /dev/null @@ -1,102 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/semaphore.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_close (pace_sem_t * sem) -{ - PACE_TRACE("pace_sem_close"); - - return sem_close (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_destroy (pace_sem_t * sem) -{ - PACE_TRACE("pace_sem_destroy"); - - return sem_destroy (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_getvalue (pace_sem_t * sem, int * sval) -{ - PACE_TRACE("pace_sem_getvalue"); - - return sem_getvalue (sem, sval); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_init (pace_sem_t * sem, int pshared, unsigned int value) -{ - PACE_TRACE("pace_sem_init"); - - return sem_init (sem, pshared, value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_post (pace_sem_t * sem) -{ - PACE_TRACE("pace_sem_post"); - - return sem_post (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_trywait (pace_sem_t * sem) -{ - PACE_TRACE("pace_sem_trywait"); - - return sem_trywait (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_unlink (const char * name) -{ - PACE_TRACE("pace_sem_unlink"); - - return sem_unlink (name); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_wait (pace_sem_t * sem) -{ - PACE_TRACE("pace_sem_wait"); - - return sem_wait (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/setjmp.c b/PACE/pace/vxworks/setjmp.c deleted file mode 100644 index e2248f0389b..00000000000 --- a/PACE/pace/vxworks/setjmp.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/setjmp.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/setjmp.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/setjmp.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/setjmp.h b/PACE/pace/vxworks/setjmp.h deleted file mode 100644 index 5c0f8b57751..00000000000 --- a/PACE/pace/vxworks/setjmp.h +++ /dev/null @@ -1,33 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/setjmp.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SETJMP_H_VXWORKS -#define PACE_SETJMP_H_VXWORKS - -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - typedef jmp_buf pace_jmp_buf; - typedef sigjmp_buf pace_sigjmp_buf; - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SETJMP_H_VXWORKS */ diff --git a/PACE/pace/vxworks/setjmp.inl b/PACE/pace/vxworks/setjmp.inl deleted file mode 100644 index b302dc91f55..00000000000 --- a/PACE/pace/vxworks/setjmp.inl +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/setjmp.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_longjmp (pace_jmp_buf env, int val) -{ - PACE_TRACE("pace_longjmp"); - - longjmp (env, val); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -void -pace_siglongjmp (pace_sigjmp_buf env, int val) -{ - PACE_TRACE("pace_siglongjmp"); - - siglongjmp (env, val); - return; -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ diff --git a/PACE/pace/vxworks/signal.c b/PACE/pace/vxworks/signal.c deleted file mode 100644 index b7b840f3539..00000000000 --- a/PACE/pace/vxworks/signal.c +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/signal.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/signal.h" - -#if (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/signal.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_CPLUSPLUS) -} -#endif diff --git a/PACE/pace/vxworks/signal.h b/PACE/pace/vxworks/signal.h deleted file mode 100644 index 9b4343559a8..00000000000 --- a/PACE/pace/vxworks/signal.h +++ /dev/null @@ -1,71 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/signal.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#ifndef PACE_SIGNAL_H_VXWORKS -#define PACE_SIGNAL_H_VXWORKS - -#include -#include "pace/sys/types.h" -#include "pace/time.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_SIG_PF -# define PACE_SIG_PF - typedef void (*pace_sig_pf)(int); -#endif /* PACE_SIG_PF */ - -#ifndef PACE_SIG_ATOMIC_T -#define PACE_SIG_ATOMIC_T - typedef sig_atomic_t pace_sig_atomic_t; -#endif /* PACE_SIG_ATOMIC_T */ - -#ifndef PACE_SIGSET_T -#define PACE_SIGSET_T - typedef sigset_t pace_sigset_t; -#endif /* PACE_SIGSET_T */ - -#ifndef PACE_SIGACTION_S -#define PACE_SIGACTION_S - typedef struct sigaction pace_sigaction_s; -#endif /* PACE_SIGACTION_S */ - -#ifndef PACE_SIGINFO_T -#define PACE_SIGINFO_T - typedef siginfo_t pace_siginfo_t; -#endif /* PACE_SIGINFO_T */ - -#ifndef PACE_SIGEVENT -#define PACE_SIGEVENT - typedef struct sigevent pace_sigevent; -#endif /* PACE_SIGEVENT */ - -#ifndef PACE_SIGVAL -#define PACE_SIGVAL - typedef union sigval pace_sigval; -#endif /* PACE_SIGVAL */ - -#ifndef PACE_TIMESPEC -#define PACE_TIMESPEC - typedef struct timespec pace_timespec; -#endif /* PACE_TIMESPEC */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SIGNAL_H_VXWORKS */ diff --git a/PACE/pace/vxworks/signal.inl b/PACE/pace/vxworks/signal.inl deleted file mode 100644 index b5c94f61d4b..00000000000 --- a/PACE/pace/vxworks/signal.inl +++ /dev/null @@ -1,207 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/signal.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_kill (pace_pid_t pid, int sig) -{ - PACE_TRACE("pace_kill"); - - return kill (pid, sig); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_raise (int sig) -{ - PACE_TRACE("pace_raise"); - - return raise (sig); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigaction (int sig, const pace_sigaction_s * act, - pace_sigaction_s * oact) -{ - PACE_TRACE("pace_sigaction"); - - return sigaction (sig, act, oact); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigaddset (pace_sigset_t * set, int signo) -{ - PACE_TRACE("pace_sigaddset"); - - return sigaddset (set, signo); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigemptyset (pace_sigset_t * set) -{ - PACE_TRACE("pace_sigemptyset"); - - return sigemptyset (set); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigdelset (pace_sigset_t * set, int signo) -{ - PACE_TRACE("pace_sigdelset"); - - return sigdelset (set, signo); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigfillset (pace_sigset_t * set) -{ - PACE_TRACE("pace_sigfillset"); - - return sigfillset (set); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigismember (const pace_sigset_t * set, int signo) -{ - PACE_TRACE("pace_sigismember"); - - return sigismember (set, signo); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_sig_pf -pace_signal (int sig, pace_sig_pf func) -{ - PACE_TRACE("pace_signal"); - - return signal (sig, func); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigpending (pace_sigset_t * set) -{ - PACE_TRACE("pace_sigpending"); - - return sigpending (set); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigprocmask (int how, const pace_sigset_t * set, - pace_sigset_t * oset) -{ - PACE_TRACE("pace_sigprocmask"); - - return sigprocmask (how, set, oset); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigqueue (pace_pid_t pid, int signo, - const pace_sigval value) -{ - PACE_TRACE("pace_sigqueue"); - - return sigqueue (pid, signo, value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigsuspend (const pace_sigset_t * sigmask) -{ - PACE_TRACE("pace_sigsuspend"); - - return sigsuspend (sigmask); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigtimedwait (const pace_sigset_t * set, pace_siginfo_t * info, - const pace_timespec * timeout) -{ - PACE_TRACE("pace_sigtimedwait"); - - return sigtimedwait (set, info, timeout); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigwait (const pace_sigset_t * set, int * sig) -{ - PACE_TRACE("pace_sigwait"); - - /* It appears that sigwait is not supported for 5.3.1 or 5.4. - * ACE uses sigtimedwait instead. (The code below is directly - * from ACE_OS. - * This is the call that should be made if VxWorks supported - * sigwait: - PACE_UNUSED_ARG (sig); - return sigwait (set); - - * Second arg is a struct siginfo *, which we don't need (the - * selected signal number is returned). Third arg is timeout: 0 - * means forever. - */ - *sig = sigtimedwait (set, 0, 0); - return *sig; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigwaitinfo (const pace_sigset_t *set, pace_siginfo_t *info) -{ - PACE_TRACE("pace_sigwaitinfo"); - - return sigwaitinfo (set, info); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/socket.c b/PACE/pace/vxworks/socket.c deleted file mode 100644 index 84b52baa24c..00000000000 --- a/PACE/pace/vxworks/socket.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/socket.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sys/socket.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/socket.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/socket.h b/PACE/pace/vxworks/socket.h deleted file mode 100644 index 4d23fe807d1..00000000000 --- a/PACE/pace/vxworks/socket.h +++ /dev/null @@ -1,218 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/socket.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SOCKET_H_VXWORKS -#define PACE_SOCKET_H_VXWORKS - -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_SOMAXCONN -#define PACE_SOMAXCONN SOMAXCONN -#endif /* PACE_SOMAXCONN */ - -#ifndef PACE_SOCKLEN_T -#define PACE_SOCKLEN_T - typedef int pace_socklen_t; -#endif /* PACE_SOCKLEN_T */ - -#ifndef PACE_SA_FAMILY_T -#define PACE_SA_FAMILY_T -#endif /* PACE_SA_FAMILY_T */ - -#ifndef PACE_MSGHDR -#define PACE_MSGHDR - typedef struct msghdr pace_msghdr; -#endif /* PACE_MSGHDR */ - -#ifndef PACE_CMSGRHDR -#define PACE_CMSGRHDR - typedef struct cmsghdr pace_cmsghdr; -#endif /* PACE_CMSGRHDR */ - -#ifndef PACE_LINGER -#define PACE_LINGER - typedef struct linger pace_linger; -#endif /* PACE_LINGER */ - -#ifndef PACE_SOCK_STREAM -#define PACE_SOCK_STREAM SOCK_STREAM -#endif /* PACE_SOCK_STREAM */ - -#ifndef PACE_SOCK_DGRAM -#define PACE_SOCK_DGRAM SOCK_DGRAM -#endif /* PACE_SOCK_DGRAM */ - -#ifndef PACE_SOCK_RAW -#define PACE_SOCK_RAW SOCK_RAW -#endif /* PACE_MSGHDR */ - -#ifndef PACE_SOCK_SEQPACKET -#define PACE_SOCK_SEQPACKET SOCK_SEQPACKET -#endif /* PACE_SOCK_SEQPACKET */ - -#ifndef PACE_PF_UNSPEC -#define PACE_PF_UNSPEC PF_UNSPEC -#endif /* PACE_PF_UNSPEC */ - -#ifndef PACE_PF_LOCAL -#define PACE_PF_LOCAL PF_LOCAL -#endif /* PACE_PF_LOCAL */ - -#ifndef PACE_PF_INET -#define PACE_PF_INET PF_INET -#endif /* PACE_PF_INET */ - -#ifndef PACE_PF_ISO -#define PACE_PF_ISO PF_ISO -#endif /* PACE_PF_ISO */ - -#ifndef PACE_PF_OSI -#define PACE_PF_OSI PF_OSI -#endif /* PACE_PF_OSI */ - -#ifndef PACE_AF_UNSPEC -#define PACE_AF_UNSPEC AF_UNSPEC -#endif /* PACE_AF_UNSPEC */ - -#ifndef PACE_AF_LOCAL -#define PACE_AF_LOCAL AF_LOCAL -#endif /* PACE_AF_LOCAL */ - -#ifndef PACE_AF_INET -#define PACE_AF_INET AF_INET -#endif /* PACE_AF_INET */ - -#ifndef PACE_AF_ISO -#define PACE_AF_ISO AF_ISO -#endif /* PACE_AF_ISO */ - -#ifndef PACE_AF_OSI -#define PACE_AF_OSI AF_OSI -#endif /* PACE_AF_OSI */ - -#ifndef PACE_MSG_OOB -#define PACE_MSG_OOB MSG_OOB -#endif /* PACE_MSG_OOB */ - -#ifndef PACE_MSG_PEEK -#define PACE_MSG_PEEK MSG_PEEK -#endif /* PACE_MSG_PEEK */ - -#ifndef PACE_MSG_DONTROUTE -#define PACE_MSG_DONTROUTE MSG_DONTROUTE -#endif /* PACE_MSG_DONTROUTE */ - -#ifndef PACE_MSG_EOR -#define PACE_MSG_EOR MSG_EOR -#endif /* PACE_MSG_EOR */ - -#ifndef PACE_MSG_TRUNC -#define PACE_MSG_TRUNC MSG_TRUNC -#endif /* PACE_MSG_TRUNC */ - -#ifndef PACE_MSG_CTRUNC -#define PACE_MSG_CTRUNC MSG_CTRUNC -#endif /* PACE_MSG_CTRUNC */ - -#ifndef PACE_MSG_WAITALL -#define PACE_MSG_WAITALL MSG_WAITALL -#endif /* PACE_MSG_WAITALL */ - -#ifndef PACE_SOL_SOCKET -#define PACE_SOL_SOCKET SOL_SOCKET -#endif /* PACE_SOL_SOCKET */ - -#ifndef PACE_SO_BROADCAST -#define PACE_SO_BROADCAST SO_BROADCAST -#endif /* PACE_SO_BROADCAST */ - -#ifndef PACE_SO_DEBUG -#define PACE_SO_DEBUG SO_DEBUG -#endif /* PACE_SO_DEBUG */ - -#ifndef PACE_SO_DONTROUTE -#define PACE_SO_DONTROUTE SO_DONTROUTE -#endif /* PACE_SO_DONTROUTE */ - -#ifndef PACE_SO_ERROR -#define PACE_SO_ERROR SO_ERROR -#endif /* PACE_SO_ERROR */ - -#ifndef PACE_SO_KEEPALIVE -#define PACE_SO_KEEPALIVE SO_KEEPALIVE -#endif /* PACE_SO_KEEPALIVE */ - -#ifndef PACE_SO_LINGER -#define PACE_SO_LINGER SO_LINGER -#endif /* PACE_SO_LINGER */ - -#ifndef PACE_SO_OOBINLINE -#define PACE_SO_OOBINLINE SO_OOBINLINE -#endif /* PACE_SO_OOBINLINE */ - -#ifndef PACE_SO_RCVBUF -#define PACE_SO_RCVBUF SO_RCVBUF -#endif /* PACE_SO_RCVBUF */ - -#ifndef PACE_SO_RCVLOWAT -#define PACE_SO_RCVLOWAT SO_RCVLOWAT -#endif /* PACE_SO_RCVLOWAT */ - -#ifndef PACE_SO_RCVTIMEO -#define PACE_SO_RCVTIMEO SO_RCVTIMEO -#endif /* PACE_SO_RCVTIMEO */ - -#ifndef PACE_SO_REUSEADDR -#define PACE_SO_REUSEADDR SO_REUSEADDR -#endif /* PACE_SO_REUSEADDR */ - -#ifndef PACE_SO_SNDBUF -#define PACE_SO_SNDBUF SO_SNDBUF -#endif /* PACE_SO_SNDBUF */ - -#ifndef PACE_SO_SNDLOWAT -#define PACE_SO_SNDLOWAT SO_SNDLOWAT -#endif /* PACE_SO_SNDLOWAT */ - -#ifndef PACE_SO_SNDTIMEO -#define PACE_SO_SNDTIMEO SO_SNDTIMEO -#endif /* PACE_SO_SNDTIMEO */ - -#ifndef PACE_SO_TYPE -#define PACE_SO_TYPE SO_TYPE -#endif /* PACE_SO_TYPE */ - -#ifndef PACE_CMSG_DATA -#define PACE_CMSG_DATA(cmsg) CMSG_DATA(cmsg) -#endif /* PACE_CMSG_DATA */ - -#ifndef PACE_CMSG_NXTHDR -#define PACE_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) -#endif /* PACE_CMSG_DATA */ - -#ifndef PACE_CMSG_FIRSTHDR -#define PACE_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) -#endif /* PACE_CMSG_DATA */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SOCKET_H_VXWORKS */ diff --git a/PACE/pace/vxworks/socket.inl b/PACE/pace/vxworks/socket.inl deleted file mode 100644 index 440254fd0da..00000000000 --- a/PACE/pace/vxworks/socket.inl +++ /dev/null @@ -1,280 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/socket.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include -#include - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_accept (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen) -{ - PACE_TRACE("pace_accept"); - - accept (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_bind (int s, - const pace_sockaddr * socketaddress, - pace_socklen_t addresslen) -{ - PACE_TRACE("pace_bind"); - - bind (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_connect (int s, - const pace_sockaddr * socketaddress, - pace_socklen_t addresslen) -{ - PACE_TRACE("pace_connect"); - - connect (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_getpeername (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen) -{ - PACE_TRACE("pace_getpeername"); - - getpeername (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_getsockname (int s, - pace_sockaddr * socketaddress, - pace_socklen_t * addresslen) -{ - PACE_TRACE("pace_getsockname"); - - getsockname (s, socketaddress, addresslen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_getsockopt (int s, - int level, - int optname, - void * optval, - pace_socklen_t optlen) -{ - PACE_TRACE("pace_getsockopt"); - - getsockopt (s, level, optname, optval, optlen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_setsockopt (int s, - int level, - int optname, - const * optval) -{ - PACE_TRACE("pace_setsockopt"); - - setsockopt (s, level, optname, optval); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_setsockopt (int s, - int level, - int optname, - const * optval) -{ - PACE_TRACE("pace_setsockopt"); - - setsockopt (s, level, optname, optval); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_isfdtype (int fildes, int fdtype) -{ - PACE_TRACE("pace_isfdtype"); - - isfdtype (fildes, fdtype); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_listen (int s, int backlog) -{ - PACE_TRACE("pace_listen"); - - listen (s, backlog); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_recv (int s, - void * buf, - pace_size_t len, - int flags) -{ - PACE_TRACE("pace_recv"); - - recv (s, buf, len, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_recvfrom (int s, - void * buf, - pace_size_t len, - int flags, - pace_sockaddr * from, - pace_socklen_t * fromlen) -{ - PACE_TRACE("pace_recvfrom"); - - recvfrom (s, buf, len, flags, from, fromlen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_rcvmsg (int s, - pace_msghdr * msg, - int flags) -{ - PACE_TRACE("pace_rcvmsg"); - - rcvmsg (s, msg, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_send (int s, - const void * buf, - pace_size_t len, - int flags) -{ - PACE_TRACE("pace_send"); - - send (s, buf, len, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_sendto (int s, - const void * buf, - pace_size_t len, - int flags, - const pace_sockaddr * to, - pace_socklen_t * tolen) -{ - PACE_TRACE("pace_sendto"); - - sendto (s, buf, len, flags, to, tolen); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -pace_ssize_t -pace_sendmsg (int s, - const pace_msghdr * msg, - int flags) -{ - PACE_TRACE("pace_sendmsg"); - - sendmsg (s, msg, flags); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_shutdown (int s, int how) -{ - PACE_TRACE("pace_shutdown"); - - shutdown (s, how); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_socket (int protofamily, int type, int protocol) -{ - PACE_TRACE("pace_socket"); - - socket (protofamily, type, protocol); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - -#if (PACE_HAS_POSIX_SOCK_UOF) -PACE_INLINE -int -pace_socketpair (int protofamily, - int type, - int protocol, - int sv[2]) -{ - PACE_TRACE("pace_socketpair"); - - socketpair (protofamily, type, protocol, sy); -} -#endif /* PACE_HAS_POSIX_SOCK_UOF */ - - - - - - - - - - - diff --git a/PACE/pace/vxworks/stat.c b/PACE/pace/vxworks/stat.c deleted file mode 100644 index 4a1e3ba06bb..00000000000 --- a/PACE/pace/vxworks/stat.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stat.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sys/stat.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/stat.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/stat.h b/PACE/pace/vxworks/stat.h deleted file mode 100644 index ce6669cb971..00000000000 --- a/PACE/pace/vxworks/stat.h +++ /dev/null @@ -1,59 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stat.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SYS_STAT_H_VXWORKS -#define PACE_SYS_STAT_H_VXWORKS - -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_S_IRGRP S_IRGRP -#define PACE_S_IROTH S_IROTH -#define PACE_S_IRUSR S_IRUSR -#define PACE_S_IRWXG S_IRWXG -#define PACE_S_IRWXO S_IRWXO -#define PACE_S_IRWXU S_IRWXU -#define PACE_S_ISBLK S_ISBLK -#define PACE_S_ISCHR S_ISCHR -#define PACE_S_ISDIR S_ISDIR -#define PACE_S_ISFIFO S_ISFIFO -#define PACE_S_ISGID S_SIGID -#define PACE_S_ISREG S_ISREG -#define PACE_S_ISUID S_ISUID -#define PACE_S_IWGRP S_IWGRP -#define PACE_S_IWOTH S_IWOTH -#define PACE_S_IWUSR S_IWUSR -#define PACE_S_IXGRP S_IXGRP -#define PACE_S_IXOTH S_IXOTH -#define PACE_S_IXUSR S_IXUSR -#define PACE_S_TYPEISMQ S_TYPEISMQ -#define PACE_S_TYPEISSEM S_TYPEISSEM -#define PACE_S_TYPEISSHM S_TYPEISSHM - -#ifndef PACE_STAT -#define PACE_STAT - /* Kludge since there is a func and a type of the same name */ - typedef struct stat pace_stat_s; -#endif /* PACE_STAT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_STAT_H_VXWORKS */ diff --git a/PACE/pace/vxworks/stat.inl b/PACE/pace/vxworks/stat.inl deleted file mode 100644 index 56359e690a0..00000000000 --- a/PACE/pace/vxworks/stat.inl +++ /dev/null @@ -1,99 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stat.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -int -pace_chmod (const char * path, pace_mode_t mode) -{ - PACE_TRACE("pace_chmod"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fchmod (PACE_HANDLE fildes, pace_mode_t mode) -{ - PACE_TRACE("pace_fchmod"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf) -{ - PACE_TRACE("pace_fstat"); - - return fstat (fildes, buf); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_mkdir (const char * path, pace_mode_t mode) -{ - PACE_TRACE("pace_mkdir"); - - PACE_UNUSED_ARG (mode); - return mkdir (PACE_NONCONST_ARG_CAST (char *) path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_F_UOF) -PACE_INLINE -int -pace_mkfifo (const char * path, pace_mode_t mode) -{ - PACE_TRACE("pace_mkfifo"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_F_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_stat (const char * path, pace_stat_s * buf) -{ - PACE_TRACE("pace_stat"); - - return stat (PACE_NONCONST_ARG_CAST (char *) path, buf); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -pace_mode_t -pace_umask (pace_mode_t cmask) -{ - PACE_TRACE("pace_umask"); - - PACE_UNUSED_ARG(cmask); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ diff --git a/PACE/pace/vxworks/stdio.c b/PACE/pace/vxworks/stdio.c deleted file mode 100644 index ec5b053e2ff..00000000000 --- a/PACE/pace/vxworks/stdio.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stdio.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/stdio.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/stdio.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/stdio.h b/PACE/pace/vxworks/stdio.h deleted file mode 100644 index 2e819b7a431..00000000000 --- a/PACE/pace/vxworks/stdio.h +++ /dev/null @@ -1,58 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stdio.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_STDIO_H_VXWORKS -#define PACE_STDIO_H_VXWORKS - -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_BUFSIZ BUFSIZ -#define PACE_EOF EOF -#define PACE_FILENAME_MAX FILENAME_MAX -#define PACE_L_ctermid L_ctermid -#define PACE_L_cuserid L_cuserid -#ifndef PACE_NULL -#define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_SEEK_CUR SEEK_CUR -#define PACE_SEEK_END SEEK_END -#define PACE_SEEK_SET SEEK_SET -#define PACE_TMP_MAX TMP_MAX -#define pace_stderr stderr -#define pace_stdout stdout -#define pace_stdin stdin - -#ifndef PACE_FPOS_T -#define PACE_FPOS_T -typedef fpos_t pace_fpos_t; -#endif /* PACE_FPOS_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -typedef FILE PACE_FILE; - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDIO_H_VXWORKS */ diff --git a/PACE/pace/vxworks/stdio.inl b/PACE/pace/vxworks/stdio.inl deleted file mode 100644 index 27ffc39bcc5..00000000000 --- a/PACE/pace/vxworks/stdio.inl +++ /dev/null @@ -1,565 +0,0 @@ -/* $Id$ -*- C -*- - - * =========================================================================== - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stdio.inl - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#include - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_clearerr (FILE * stream) -{ - PACE_TRACE("pace_clearerr"); - - clearerr (stream); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -char * -pace_ctermid (char * s) -{ - PACE_TRACE("pace_ctermid"); - - PACE_UNUSED_ARG(s); - PACE_ERRNO_NO_SUPPORT_RETURN ((char *) 0); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fclose (FILE * stream) -{ - PACE_TRACE("pace_fclose"); - - return fclose (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_fdopen (int fildes, - const char * type) -{ - PACE_TRACE("pace_fdopen"); - - return fdopen (fildes, - type); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_ferror (FILE * stream) -{ - PACE_TRACE("pace_ferror"); - - return ferror (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_feof (FILE * stream) -{ - PACE_TRACE("pace_feof"); - - return feof (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fflush (FILE * stream) -{ - PACE_TRACE("pace_fflush"); - - return fflush (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fileno (FILE * stream) -{ - PACE_TRACE("pace_fileno"); - - return fileno (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fgetc (FILE * stream) -{ - PACE_TRACE("pace_fgetc"); - - return fgetc (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fgetpos (PACE_FILE * stream, - pace_fpos_t * pos) -{ - PACE_TRACE("pace_fgetpos"); - - return fgetpos (stream, pos); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -char * -pace_fgets (char * s, - int n, - FILE * stream) -{ - PACE_TRACE("pace_fgets"); - - return fgets (s, - n, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -void -pace_flockfile (FILE * file) -{ - PACE_TRACE("pace_flockfile"); - - PACE_UNUSED_ARG (file); - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_fopen (const char * filename, - const char * mode) -{ - PACE_TRACE("pace_fopen"); - - return fopen (filename, - mode); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fputc (int c, - FILE * stream) -{ - PACE_TRACE("pace_fputc"); - - return fputc (c, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fputs (const char * s, - FILE * stream) -{ - PACE_TRACE("pace_fputs"); - - return fputs (s, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -size_t -pace_fread (void * ptr, - size_t size, - size_t number_of_items, - FILE * stream) -{ - PACE_TRACE("pace_fread"); - - return fread (ptr, - size, - number_of_items, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_freopen (const char * filename, - const char * mode, - FILE * stream) -{ - PACE_TRACE("pace_freopen"); - - return freopen (filename, - mode, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -int -pace_fseek (FILE * stream, - long offset, - int whence) -{ - PACE_TRACE("pace_fseek"); - - return fseek (stream, - offset, - whence); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fsetpos (PACE_FILE *stream, const pace_fpos_t *pos) -{ - PACE_TRACE("pace_fsetpos"); - - return fsetpos (stream, pos); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -long -pace_ftell (FILE * stream) -{ - PACE_TRACE("pace_ftell"); - - return ftell (stream); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_ftrylockfile (FILE * file) -{ - PACE_TRACE("pace_ftrylockfile"); - - PACE_UNUSED_ARG(file); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -void -pace_funlockfile (FILE * file) -{ - PACE_TRACE("pace_funlockfile"); - - PACE_UNUSED_ARG(file); - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -pace_size_t -pace_fwrite (const void * ptr, - pace_size_t size, pace_size_t nmemb, - PACE_FILE * stream) -{ - PACE_TRACE("pace_fwrite"); - - return fwrite (ptr, size, nmemb, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_getc (FILE * stream) -{ - PACE_TRACE("pace_getc"); - - return getc (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_getc_unlocked (FILE * stream) -{ - PACE_TRACE("pace_getc_unlocked"); - - PACE_UNUSED_ARG(stream); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_getchar () -{ - PACE_TRACE("pace_getchar"); - - return getchar (); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_getchar_unlocked () -{ - PACE_TRACE("pace_getchar_unlocked"); - - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -char * -pace_gets (char * s) -{ - PACE_TRACE("pace_gets"); - - return gets (s); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_perror (const char * s) -{ - PACE_TRACE("pace_perror"); - - perror (s); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_putc (int c, - FILE * stream) -{ - PACE_TRACE("pace_putc"); - - return putc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_putc_unlocked (int c, - FILE * stream) -{ - PACE_TRACE("pace_putc_unlocked"); - - PACE_UNUSED_ARG(c); - PACE_UNUSED_ARG(stream); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_putchar (int c) -{ - PACE_TRACE("pace_putchar"); - - return putchar (c); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_putchar_unlocked (int c) -{ - PACE_TRACE("pace_putchar_unlocked"); - - PACE_UNUSED_ARG(c); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_puts (const char * s) -{ - PACE_TRACE("pace_puts"); - - return puts (s); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_remove (const char * path) -{ - PACE_TRACE("pace_remove"); - - return remove (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_rename (const char * old_name, - const char * new_name) -{ - PACE_TRACE("pace_rename"); - - return rename (old_name, - new_name); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -void -pace_rewind (FILE * stream) -{ - PACE_TRACE("pace_rewind"); - - rewind (stream); - return; -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_setbuf (FILE * stream, char * buf) -{ - PACE_TRACE("pace_setbuf"); - - setbuf (stream, buf); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_setvbuf (PACE_FILE * stream, - char * buf, - int mode, pace_size_t size) -{ - PACE_TRACE("pace_setvbuf"); - - return setvbuf (stream, buf, mode, size); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -FILE * -pace_tmpfile () -{ - PACE_TRACE("pace_tmpfile"); - - return tmpfile (); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -char * -pace_tmpnam (char * s) -{ - PACE_TRACE("pace_tmpnam"); - - return tmpnam (s); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_ungetc (int c, FILE * stream) -{ - PACE_TRACE("pace_ungetc"); - - return ungetc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vfprintf (PACE_FILE * stream, - const char * format, - va_list arg) -{ - PACE_TRACE("pace_vfprintf"); - - return vfprintf (stream, format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vprintf (const char * format, - va_list arg) -{ - PACE_TRACE("pace_vprintf"); - - return vprintf (format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vsprintf (char * s, - const char * format, - va_list arg) -{ - PACE_TRACE("pace_vsprintf"); - - return vsprintf (s, format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/vxworks/stdlib.c b/PACE/pace/vxworks/stdlib.c deleted file mode 100644 index bea76354026..00000000000 --- a/PACE/pace/vxworks/stdlib.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stdlib.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/stdlib.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/stdlib.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/stdlib.h b/PACE/pace/vxworks/stdlib.h deleted file mode 100644 index 75a5196af60..00000000000 --- a/PACE/pace/vxworks/stdlib.h +++ /dev/null @@ -1,64 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stdlib.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDLIB_H_VXWORKS -#define PACE_STDLIB_H_VXWORKS - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_EXIT_FAILURE EXIT_FAILURE -#define PACE_EXIT_SUCCESS EXIT_SUCCESS -#define PACE_MB_CUR_MAX MB_CUR_MAX -#ifndef PACE_NULL -# define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_RAND_MAX RAND_MAX - -#ifndef PACE_DIV_T -#define PACE_DIV_T - typedef div_t pace_div_t; -#endif /* PACE_DIV_T */ - -#ifndef PACE_LDIV_T -#define PACE_LDIV_T - typedef ldiv_t pace_ldiv_t; -#endif /* PACE_LDIV_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_WCHAR_T -#define PACE_WCHAR_T - typedef wchar_t pace_wchar_t; -#endif /* PACE_WCHAR_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -# ifndef PACE_BSEARCH_PF -# define PACE_BSEARCH_PF - typedef int (*pace_bsearch_pf) (const void*, const void*); -# endif /* PACE_BSEARCH_PF */ -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDLIB_H_VXWORKS */ diff --git a/PACE/pace/vxworks/stdlib.inl b/PACE/pace/vxworks/stdlib.inl deleted file mode 100644 index 56569bb52bd..00000000000 --- a/PACE/pace/vxworks/stdlib.inl +++ /dev/null @@ -1,381 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/stdlib.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -void -pace_abort (void) -{ - PACE_TRACE("pace_abort"); - - abort (); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_abs (int val) -{ - PACE_TRACE("pace_abs"); - - return abs (val); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_atexit (void (*func)(void)) -{ - PACE_TRACE("pace_atexit"); - - return atexit (func); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atof (const char * str) -{ - PACE_TRACE("pace_atof"); - - return atof (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_atoi (const char * str) -{ - PACE_TRACE("pace_atoi"); - - return atoi (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -long -pace_atol (const char * str) -{ - PACE_TRACE("pace_atol"); - - return atol (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -# if defined (PACE_HAS_CPLUSPLUS) -PACE_INLINE -void * -pace_bsearch (const void *key, const void *base, - size_t nel, size_t size, - pace_bsearch_pf compar) -{ - PACE_TRACE("pace_bsearch"); - - return bsearch (key, base, nel, size, compar); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -void * -pace_bsearch (const void *key, const void *base, - size_t nel, size_t size, - int (*compar)(const void *,const void *)) -{ - PACE_TRACE("pace_bsearch"); - - return bsearch (key, base, nel, size, compar); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_div_t -pace_div (int numer, int denom) -{ - PACE_TRACE("pace_div"); - - return div (numer, denom); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -void -pace_exit (int status) -{ - PACE_TRACE("pace_exit"); - - exit (status); - return; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -char * -pace_getenv (const char * name) -{ - PACE_TRACE("pace_getenv"); - - return getenv (name); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -long int -pace_labs (long int j) -{ - PACE_TRACE("pace_labs"); - - return labs (j); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_ldiv_t -pace_ldiv (long int numer, long int denom) -{ - PACE_TRACE("pace_ldiv"); - - return ldiv (numer, denom); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mblen (const char* s, pace_size_t n) -{ - PACE_TRACE("pace_mblen"); - - return mblen (s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_size_t -pace_mbstowcs (pace_wchar_t* pwcs, - const char* s, - pace_size_t n) -{ - PACE_TRACE("pace_mbstowcs"); - - return mbstowcs (pwcs, s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mbtowc (pace_wchar_t* pwc, - const char* s, - pace_size_t n) -{ - PACE_TRACE("pace_mbtowc"); - - return mbtowc (pwc, s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -# if (PACE_HAS_CPLUSPLUS) -PACE_INLINE -void -pace_qsort (void * base, size_t nel, size_t width, - pace_bsearch_pf compar) -{ - PACE_TRACE("pace_qsort"); - - qsort (base, nel, width, compar); -} -# else /* ! PACE_HAS_CPLUSPLUS */ -PACE_INLINE -void -pace_qsort (void * base, size_t nel, size_t width, - int (*compar)(const void *,const void *)) -{ - PACE_TRACE("pace_qsort"); - - qsort (base, nel, width, compar); -} -# endif /* PACE_HAS_CPLUSPLUS */ -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_rand () -{ - PACE_TRACE("pace_rand"); - - return rand (); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_srand (unsigned int seed) -{ - PACE_TRACE("pace_srand"); - - srand (seed); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -int -pace_rand_r (unsigned int *seed) -{ - PACE_TRACE("pace_rand_r"); - - PACE_UNUSED_ARG (seed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -double -pace_strtod (const char* nptr, - char** endptr) -{ - PACE_TRACE("pace_strtod"); - - return strtod (nptr, endptr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_strtol (const char* nptr, - char** endptr, - int base) -{ - PACE_TRACE("pace_strtol"); - - return strtol (nptr, endptr, base); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -unsigned long int -pace_strtoul (const char* nptr, - char** endptr, - int base) -{ - PACE_TRACE("pace_strtoul"); - - return strtoul (nptr, endptr, base); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_system (const char* string) -{ - PACE_TRACE("pace_system"); - - return system (string); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_size_t -pace_wcstombs (char* s, - const pace_wchar_t* pwcs, - pace_size_t n) -{ - PACE_TRACE("pace_wcstombs"); - - return wcstombs (s, pwcs, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_wctomb (char* s, pace_wchar_t wchar) -{ - PACE_TRACE("pace_wctomb"); - - return wctomb (s, wchar); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -/* Memory Management. */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_malloc (size_t size) -{ - PACE_TRACE("pace_malloc"); - - return malloc (size); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_calloc (size_t nelem, size_t elsize) -{ - PACE_TRACE("pace_calloc"); - - return calloc (nelem, elsize); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_free (void * ptr) -{ - PACE_TRACE("pace_free"); - - free (ptr); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_realloc (void * ptr, size_t size) -{ - PACE_TRACE("pace_realloc"); - - return realloc (ptr, size); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/vxworks/string.c b/PACE/pace/vxworks/string.c deleted file mode 100644 index a6404ccfd0b..00000000000 --- a/PACE/pace/vxworks/string.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/string.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/string.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/string.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/string.h b/PACE/pace/vxworks/string.h deleted file mode 100644 index f2fcee61fe5..00000000000 --- a/PACE/pace/vxworks/string.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/string.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STRING_H_VXWORKS -#define PACE_STRING_H_VXWORKS - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if !defined (PACE_NULL) -# define PACE_NULL NULL -#endif /* NULL */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STRING_H_VXWORKS */ diff --git a/PACE/pace/vxworks/string.inl b/PACE/pace/vxworks/string.inl deleted file mode 100644 index 65c2701b606..00000000000 --- a/PACE/pace/vxworks/string.inl +++ /dev/null @@ -1,238 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/string.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include -#include "pace/string.h" - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memchr (const void *s, int c, pace_size_t n) -{ - PACE_TRACE("pace_memchr"); - - return (void*) memchr (s, c, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_memcmp (const void *s1, const void *s2, pace_size_t n) -{ - PACE_TRACE("pace_memcmp"); - - return memcmp (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memcpy (void * s1, const void * s2, pace_size_t n) -{ - PACE_TRACE("pace_memcpy"); - - return memcpy (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memmove (void *s1, const void *s2, pace_size_t n) -{ - PACE_TRACE("pace_memmove"); - - return memmove (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_BROKEN_INLINE -void * -pace_memset (void *s, int c, pace_size_t n) -{ - PACE_TRACE("pace_memset"); - - return memset (s, c, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strcat (char * s1, const char * s2) -{ - PACE_TRACE("pace_strcat"); - - return strcat (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strncat (char * s1, const char * s2, size_t n) -{ - PACE_TRACE("pace_strncat"); - - return strncat (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strchr (const char * s, int c) -{ - PACE_TRACE("pace_strchr"); - - return (char*) strchr (s, c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strrchr (const char * s, int c) -{ - PACE_TRACE("pace_strrchr"); - - return (char*) strrchr (s, c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -int -pace_strcmp (const char * s1, const char * s2) -{ - PACE_TRACE("pace_strcmp"); - - return strcmp (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -int -pace_strncmp (const char * s1, const char * s2, size_t n) -{ - PACE_TRACE("pace_strncmp"); - - return strncmp (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -char * -pace_strcpy (char * s1, const char * s2) -{ - PACE_TRACE("pace_strcpy"); - - return strcpy (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strncpy (char * s1, const char * s2, size_t n) -{ - PACE_TRACE("pace_strncpy"); - - return strncpy (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -size_t -pace_strcspn (const char * s1, const char * s2) -{ - PACE_TRACE("pace_strcspn"); - - return strcspn (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strspn (const char * s1, const char * s2) -{ - PACE_TRACE("pace_strspn"); - - return strspn (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strlen (const char * s) -{ - PACE_TRACE("pace_strlen"); - - return strlen (s); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_BROKEN_INLINE -char * -pace_strpbrk (const char * s1, const char * s2) -{ - PACE_TRACE("pace_strpbrk"); - - return (char*) strpbrk (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strstr (const char * s1, const char * s2) -{ - PACE_TRACE("pace_strstr"); - - return (char*) strstr (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strtok (char * s1, const char * s2) -{ - PACE_TRACE("pace_strtok"); - - return strtok (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_strtok_r (char * s, const char * sep, char ** lasts) -{ - PACE_TRACE("pace_strtok_r"); - - return strtok_r (s, sep, lasts); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ diff --git a/PACE/pace/vxworks/termios.c b/PACE/pace/vxworks/termios.c deleted file mode 100644 index 4cc7e1d7388..00000000000 --- a/PACE/pace/vxworks/termios.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/termios.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/termios.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/termios.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/termios.h b/PACE/pace/vxworks/termios.h deleted file mode 100644 index a21eef15fb6..00000000000 --- a/PACE/pace/vxworks/termios.h +++ /dev/null @@ -1,49 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/termios.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SYS_TERMIOS_H_VXWORKS -#define PACE_SYS_TERMIOS_H_VXWORKS - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS) */ - -#ifndef PACE_CC_T -#define PACE_CC_T -typedef int pace_cc_t; -#endif /* PACE_CC_T */ - -#ifndef PACE_SPEED_T -#define PACE_SPEED_T -typedef int pace_speed_t; -#endif /* PACE_SPEED_T */ - -#ifndef PACE_TCFLAG_T -#define PACE_TCFLAG_T -typedef int pace_tcflag_t; -#endif /* PACE_TCFLAG_T */ - -#ifndef PACE_TERMIOS -#define PACE_TERMIOS -typedef int pace_termios; -#endif /* PACE_TERMIOS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TERMIOS_H_VXWORKS */ diff --git a/PACE/pace/vxworks/termios.inl b/PACE/pace/vxworks/termios.inl deleted file mode 100644 index 30c778371f3..00000000000 --- a/PACE/pace/vxworks/termios.inl +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/termios.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -pace_speed_t -pace_cfgetospeed (const pace_termios *termiosp) -{ - PACE_TRACE("pace_cfgetospeed"); - - PACE_UNUSED_ARG(termiosp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_cfsetospeed (pace_termios *termios_p, pace_speed_t speed) -{ - PACE_TRACE("pace_cfsetospeed"); - - PACE_UNUSED_ARG(termios_p); - PACE_UNUSED_ARG(speed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -pace_speed_t -pace_cfgetispeed (const pace_termios *termios_p) -{ - PACE_TRACE("pace_cfgetispeed"); - - PACE_UNUSED_ARG(termios_p); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_cfsetispeed (pace_termios *termios_p, pace_speed_t speed) -{ - PACE_TRACE("pace_cfsetispeed"); - - PACE_UNUSED_ARG(termios_p); - PACE_UNUSED_ARG(speed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcdrain (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_tcdrain"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcgetattr (PACE_HANDLE fildes, pace_termios *termios_p) -{ - PACE_TRACE("pace_tcgetattr"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(termios_p); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcflow (PACE_HANDLE fildes, int action) -{ - PACE_TRACE("pace_tcflow"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(action); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcflush (PACE_HANDLE fildes, int queue_selector) -{ - PACE_TRACE("pace_tcflush"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(queue_selector); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcsendbreak (PACE_HANDLE fildes, int duration) -{ - PACE_TRACE("pace_tcsendbreak"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(duration); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcsetattr (PACE_HANDLE fildes, - int optional_actions, - const pace_termios *termios_p) -{ - PACE_TRACE("pace_tcsetattr"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(optional_actions); - PACE_UNUSED_ARG(termios_p); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ diff --git a/PACE/pace/vxworks/time.c b/PACE/pace/vxworks/time.c deleted file mode 100644 index 2074220b3ab..00000000000 --- a/PACE/pace/vxworks/time.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/time.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/time.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/time.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/time.h b/PACE/pace/vxworks/time.h deleted file mode 100644 index d5f51c59d38..00000000000 --- a/PACE/pace/vxworks/time.h +++ /dev/null @@ -1,87 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/time.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_TIME_H_VXWORKS -#define PACE_TIME_H_VXWORKS - -#include -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_CLK_TCK CLK_TCK -#define PACE_CLOCKS_PER_SEC CLOCKS_PER_SEC -#define PACE_CLOCK_REALTIME CLOCK_REALTIME -#ifndef PACE_NULL -#define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_TIMER_ABSTIME TIMER_ABSTIME - -#ifndef PACE_CLOCKID_T -#define PACE_CLOCKID_T -# if defined PACE_EMU_CLOCKID_T - typedef pace_emu_clockid_t pace_clockid_t; -# else - typedef clockid_t pace_clockid_t; -# endif /* PACE_LINUX */ -#endif /* PACE_CLOCKID_T */ - -#ifndef PACE_CLOCK_T -#define PACE_CLOCK_T - typedef clock_t pace_clock_t; -#endif /* PACE_CLOCK_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_TIMER_T -#define PACE_TIMER_T - typedef timer_t pace_timer_t; -#endif /* PACE_TIMER_T */ - -#ifndef PACE_TIME_T -#define PACE_TIME_T - typedef time_t pace_time_t; -#endif /* PACE_TIME_T */ - -#ifndef PACE_TM -#define PACE_TM - typedef struct tm pace_tm; -#endif /* PACE_TM */ - -#ifndef PACE_TIMESPEC -#define PACE_TIMESPEC - typedef struct timespec pace_timespec; -#endif /* PACE_TIMESPEC */ - -#ifndef PACE_ITIMERSPEC -#define PACE_ITIMERSPEC - typedef struct itimerspec pace_itimerspec; -#endif /* PACE_ITIMERSPEC */ - -#ifndef PACE_SIGEVENT -#define PACE_SIGEVENT - typedef struct sigevent pace_sigevent; -#endif /* PACE_SIGEVENT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_TIME_H_VXWORKS */ diff --git a/PACE/pace/vxworks/time.inl b/PACE/pace/vxworks/time.inl deleted file mode 100644 index a2ed9715823..00000000000 --- a/PACE/pace/vxworks/time.inl +++ /dev/null @@ -1,296 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/time.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/errno.h" -#include "pace/signal.h" - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_asctime (const pace_tm * time) -{ - PACE_TRACE("pace_asctime"); - - return asctime (time); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_asctime_r (const pace_tm * time, char * buf) -{ - /*VxWorks 5.3 seems to have POSIX.4 Draft 9 versions of this as well */ - size_t buflen = 26; - - PACE_TRACE("pace_asctime_r"); - - if (asctime_r (time, buf, & buflen) != 0) - return (char*) 0; - return buf; -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_clock_t -pace_clock (void) -{ - PACE_TRACE("pace_clock"); - - return clock (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -double -pace_difftime (pace_time_t time1, pace_time_t time2) -{ - PACE_TRACE("pace_difftime"); - - return difftime (time1, time2); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_getres (pace_clockid_t clock_id, - pace_timespec * res) -{ - PACE_TRACE("pace_clock_getres"); - - return clock_getres (clock_id, res); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_gettime (pace_clockid_t clock_id, - pace_timespec * tp) -{ - PACE_TRACE("pace_clock_gettime"); - - return clock_gettime (clock_id, tp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_settime (pace_clockid_t clock_id, - const pace_timespec * tp) -{ - PACE_TRACE("pace_clock_settime"); - - return clock_settime (clock_id, PACE_NONCONST_ARG_CAST (struct timespec *) tp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_ctime (const pace_time_t * clock) -{ - PACE_TRACE("pace_ctime"); - - return ctime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_ctime_r (const pace_time_t * clock, char * buf) -{ - size_t buflen = 26; - - PACE_TRACE("pace_ctime_r"); - - return ctime_r (clock, buf, & buflen); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -pace_tm * -pace_gmtime (const pace_time_t * clock) -{ - PACE_TRACE("pace_gmtime"); - - return gmtime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -pace_tm * -pace_gmtime_r (const pace_time_t * clock, pace_tm * result) -{ - PACE_TRACE("pace_gmtime_r"); - - /* VxWorks 5.3 apparently has POSIX.4 Draft 9 versions of these */ - if (gmtime_r (clock, result) != 0) - return (pace_tm*)0; - return result; -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -pace_tm * -pace_localtime (const pace_time_t * clock) -{ - PACE_TRACE("pace_localtime"); - - return localtime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -pace_tm * -pace_localtime_r (const pace_time_t * clock, pace_tm * result) -{ - PACE_TRACE("pace_localtime_r"); - - /* VxWorks 5.3 apparently has POSIX.4 Draft 9 versions of these */ - if (localtime_r (clock, result) != 0) - return (pace_tm*)0; - return result; -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -time_t -pace_mktime (pace_tm * timeptr) -{ - PACE_TRACE("pace_mktime"); - - return mktime (timeptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_nanosleep (const pace_timespec * rqtp, - pace_timespec * rmtp) -{ - PACE_TRACE("pace_nanosleep"); - - return nanosleep (PACE_NONCONST_ARG_CAST (struct timespec *) rqtp, rmtp); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strftime (char *s, pace_size_t maxsize, - const char *format, - const pace_tm *timeptr) -{ - PACE_TRACE("pace_strftime"); - - return strftime (s, maxsize, format, timeptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -time_t -pace_time (pace_time_t * tloc) -{ - PACE_TRACE("pace_time"); - - return time (tloc); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_create (pace_clockid_t clock_id, - pace_sigevent * evp, - pace_timer_t *timerid) -{ - PACE_TRACE("pace_timer_create"); - - return timer_create (clock_id, evp, timerid); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_delete (pace_timer_t timerid) -{ - PACE_TRACE("pace_timer_delete"); - - return timer_delete (timerid); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_getoverrun (pace_timer_t timerid) -{ - PACE_TRACE("pace_timer_getoverrun"); - - return timer_getoverrun (timerid); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_gettime (pace_timer_t timerid, - pace_itimerspec * value) -{ - PACE_TRACE("pace_timer_gettime"); - - return timer_gettime (timerid, value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_settime (pace_timer_t timerid, - int flags, - const pace_itimerspec * value, - pace_itimerspec * ovalue) -{ - PACE_TRACE("pace_timer_settime"); - - return timer_settime (timerid, flags, PACE_NONCONST_ARG_CAST (struct itimerspec *) value, ovalue); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_tzset () -{ - PACE_TRACE("pace_tzset"); - - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/vxworks/times.c b/PACE/pace/vxworks/times.c deleted file mode 100644 index 51b4dc90dc7..00000000000 --- a/PACE/pace/vxworks/times.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/times.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sys/times.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/times.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/times.h b/PACE/pace/vxworks/times.h deleted file mode 100644 index d2ae481355e..00000000000 --- a/PACE/pace/vxworks/times.h +++ /dev/null @@ -1,39 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/times.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SYS_TIMES_H_VXWORKS -#define PACE_SYS_TIMES_H_VXWORKS - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_CLOCK_T -#define PACE_CLOCK_T -typedef int pace_clock_t; -#endif /* PACE_CLOCK_T */ - -#ifndef PACE_TMS -#define PACE_TMS -typedef struct tms pace_tms; -#endif /* PACE_TMS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TIMES_H_VXWORKS */ diff --git a/PACE/pace/vxworks/times.inl b/PACE/pace/vxworks/times.inl deleted file mode 100644 index c571dd8a2de..00000000000 --- a/PACE/pace/vxworks/times.inl +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/times.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_clock_t -pace_times (pace_tms * buffer) -{ - PACE_TRACE("pace_times"); - - PACE_UNUSED_ARG(buffer); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/vxworks/types.h b/PACE/pace/vxworks/types.h deleted file mode 100644 index dbcdcf7ce63..00000000000 --- a/PACE/pace/vxworks/types.h +++ /dev/null @@ -1,261 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/types.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#include -#include -#include - -#ifndef PACE_SYS_TYPES_H_VXWORKS -#define PACE_SYS_TYPES_H_VXWORKS - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PTHREAD_MAX_PRIORITY 255 -#define PTHREAD_MIN_PRIORITY 0 - -#define MAX_CLEAN_RTN 20 -#define MAX_ONCE_ENTRY 100 - -#define JOIN_NORMAL 0 -#define JOIN_PENDING 1 -#define JOIN_TERMINATED 2 -#define JOIN_DETATCHED 3 - -/* This needs to be pretty big for VxWorks according to ACE */ -#define PTHREAD_DEFAULT_STACK_SIZE 64000 - -/* detach */ -#define PTHREAD_CREATE_DETACHED 0x40 /* = THR_DETACHED */ -#define PTHREAD_CREATE_JOINABLE 0 -/* scope */ -#define PTHREAD_SCOPE_SYSTEM 0x01 /* = THR_BOUND */ -#define PTHREAD_SCOPE_PROCESS 0 - -/* inherit */ -#define PTHREAD_INHERIT_SCHED 1 -#define PTHREAD_EXPLICIT_SCHED 0 - -/* - * Value of process-shared attribute - */ -#define PTHREAD_PROCESS_SHARED 1 /* = USYNC_PROCESS */ -#define PTHREAD_PROCESS_PRIVATE 0 /* = USYNC_THREAD */ -#define DEFAULT_TYPE PTHREAD_PROCESS_PRIVATE - -#define PTHREAD_MUTEX_DEFAULT 0x1 -#define PTHREAD_MUTEX_ERRORCHECK 0x2 -#define PTHREAD_MUTEX_NORMAL 0x3 -#define PTHREAD_MUTEX_RECURSIVE 0x4 - -#define PTHREAD_PRIO_INHERIT 0x10 -#define PTHREAD_PRIO_NONE 0x20 -#define PTHREAD_PRIO_PROTECT 0x30 - -/* - * macros - default initializers defined as in synch.h - * Any change here should be reflected in synch.h. - */ - - -/* cancellation type and state */ -#define PTHREAD_CANCEL_ENABLE 0x00 -#define PTHREAD_CANCEL_DISABLE 0x01 -#define PTHREAD_CANCEL_DEFERRED 0x00 -#define PTHREAD_CANCEL_ASYNCHRONOUS 0x02 -#define PTHREAD_CANCELED -19 - -#define PTHREAD_MAXNAME 100 - - - /* For future upgradeability to wchar */ -#ifndef PACE_TCHAR -#define PACE_TCHAR - typedef char pace_tchar; -#endif /* PACE_TCHAR */ - -#ifndef PACE_HANDLE - typedef int PACE_HANDLE; -#endif /* PACE_HANDLE */ - -#ifndef PACE_INVALID_HANDLE -#define PACE_INVALID_HANDLE -1 -#endif /* PACE_INVALID_HANDLE */ - -#ifndef PACE_DEV_T -#define PACE_DEV_T - typedef dev_t pace_dev_t; -#endif /* PACE_DEV_T */ - -#ifndef PACE_GID_T -#define PACE_GID_T - typedef gid_t pace_gid_t; -#endif /* PACE_GID_T */ - -#ifndef PACE_INO_T -#define PACE_INO_T - typedef ino_t pace_ino_t; -#endif /* PACE_INO_T */ - -#ifndef PACE_MODE_T -#define PACE_MODE_T - typedef mode_t pace_mode_t; -#endif /* PACE_MODE_T */ - -#ifndef PACE_NLINK_T -#define PACE_NLINK_T - typedef nlink_t pace_nlink_t; -#endif /* PACE_NLINK_T */ - -#ifndef PACE_OFF_T -#define PACE_OFF_T - typedef off_t pace_off_t; -#endif /* PACE_OFF_T */ - -#ifndef PACE_PID_T -#define PACE_PID_T - typedef pid_t pace_pid_t; -#endif /* PACE_PID_T */ - -#ifndef PACE_PTHREAD_ATTR_T -#define PACE_PTHREAD_ATTR_T - - typedef struct _PTHREAD_ATTR - { - int stacksize; - char name[PTHREAD_MAXNAME]; /*the name */ - struct sched_param schedule; /* priority */ - int scope; /* options */ - int policy; /* schedule policy */ - int dstate; /* detached state */ - } * pace_pthread_attr_t; -#endif /* PACE_PTHREAD_ATTR_T */ - -#ifndef PACE_PTHREAD_CONDATTR_T -#define PACE_PTHREAD_CONDATTR_T - typedef int pace_pthread_condattr_t; -#endif /* PACE_PTHREAD_CONDATTR_T */ - -#ifndef PACE_PTHREAD_COND_T -#define PACE_PTHREAD_COND_T - typedef SEM_ID pace_pthread_cond_t; -#endif /* PACE_PTHREAD_COND_T */ - -#ifndef PACE_PTHREAD_KEY_T -#define PACE_PTHREAD_KEY_T - typedef int pace_pthread_key_t; -#endif /* PACE_PTHREAD_KEY_T */ - -#ifndef PACE_PTHREAD_MUTEXATTR_T -#define PACE_PTHREAD_MUTEXATTR_T - - typedef struct _PTHREAD_MUX_ATTR - { - int protocol; /* priority inheritance */ - int shared; /* system or process */ - int type; /* mutex type */ - } * pace_pthread_mutexattr_t; -#endif /* PACE_PTHREAD_MUTEXATTR_T */ - -#ifndef PACE_PTHREAD_MUTEX_T -#define PACE_PTHREAD_MUTEX_T - typedef SEM_ID pace_pthread_mutex_t; -#endif /* PACE_PTHREAD_MUTEX_T */ - -#ifndef PACE_PTHREAD_ONCE_T -#define PACE_PTHREAD_ONCE_T - typedef int pace_pthread_once_t; -# define PTHREAD_ONCE_INIT 0 -#endif /* PACE_PTHREAD_ONCE_T */ - -#ifndef PACE_PTHREAD_T -#define PACE_PTHREAD_T -# define PTHREAD_KEYS_MAX 100 -# define _USER_SPARE4 spare4 - typedef struct _FUNC_HANDLE - { - void (*routine)(void *); - void * args; - } funcHandle; - - typedef struct _ONCE_FUNC - { - int once_ctl; - void (*init_routine)(void); - } pthread_once_e; - - typedef struct _PTHREAD_T - { - unsigned int tid; - funcHandle cleanupRtn[MAX_CLEAN_RTN]; - int rtnCount; - pthread_once_e onceList[MAX_ONCE_ENTRY]; - int onceCount; /* once variable count */ - int stateflag; /* cancel state */ - int canceltype; /* cancel type */ - int detachflag; /* detached state */ - int joinstate; /* join state */ - SEM_ID joinSem; /* join semaphore */ - void * joinvalue; /* pass value */ - struct _PTHREAD_T * jointhread; /* the calling thread */ - void * keyvaluelist[PTHREAD_KEYS_MAX]; - } * pace_pthread_t; -#endif /* PACE_PTHREAD_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_SSIZE_T -#define PACE_SSIZE_T - typedef ssize_t pace_ssize_t; -#endif /* PACE_SSIZE_T */ - -#ifndef PACE_UID_T -#define PACE_UID_T - typedef uid_t pace_uid_t; -#endif /* PACE_UID_T */ - -#ifndef PACE_PTHREAD_QUEUE_T -#define PACE_PTHREAD_QUEUE_T - struct _PTHREAD_QUEUE_ENTRY - { - int status; - pace_pthread_t pthread; - struct _PTHREAD_QUEUE_ENTRY * next; - }; - - typedef struct _PTHREAD_QUEUE_ENTRY pthread_q_entry; - -# define PTHEAD_QUEUE_MAX_LEN 100 - - struct _PTHREAD_KEY_ENTRY - { - int index; - int valid; - void (*destructor)(void*); - }; - - typedef struct _PTHREAD_KEY_ENTRY pthread_key_entry; -#endif /* PACE_PTHREAD_QUEUE_T */ - - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TYPES_H_VXWORKS */ diff --git a/PACE/pace/vxworks/unistd.c b/PACE/pace/vxworks/unistd.c deleted file mode 100644 index 16234ef66fb..00000000000 --- a/PACE/pace/vxworks/unistd.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/unistd.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/unistd.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/unistd.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/unistd.h b/PACE/pace/vxworks/unistd.h deleted file mode 100644 index 19ca710618f..00000000000 --- a/PACE/pace/vxworks/unistd.h +++ /dev/null @@ -1,56 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/unistd.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_UNISTD_H_VXWORKS -#define PACE_UNISTD_H_VXWORKS - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_F_OK F_OK -#ifndef PACE_NULL -# define PACE_NULL NULL -#endif /* PACE_NULL */ -#define PACE_R_OK R_OK -#define PACE_SEEK_CUR SEEK_CUR -#define PACE_SEEK_END SEEK_END -#define PACE_SEEK_SET SEEK_SET -#define PACE_STDERR_FILENO STDERR_FILENO -#define PACE_STDIN_FILENO STDIN_FILENO -#define PACE_STDOUT_FILENO STDOUT_FILENO -#define PACE_W_OK W_OK -#define PACE_X_OK X_OK - -/* _POSIX _PC _SC Macros need to go here */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T -typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_SSIZE_T -#define PACE_SSIZE_T -typedef ssize_t pace_ssize_t; -#endif /* PACE_SSIZE_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UNISTD_H_VXWORKS */ diff --git a/PACE/pace/vxworks/unistd.inl b/PACE/pace/vxworks/unistd.inl deleted file mode 100644 index eb4c1ac675f..00000000000 --- a/PACE/pace/vxworks/unistd.inl +++ /dev/null @@ -1,601 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/unistd.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include -#include -#include -#include -#include - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -void -pace__exit (int status) -{ - PACE_TRACE("pace__exit"); - - exit (status); - return; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_access (const char * path, int amode) -{ - PACE_TRACE("pace_access"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(amode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -unsigned int -pace_alarm (unsigned int seconds) -{ - PACE_TRACE("pace_alarm"); - - PACE_UNUSED_ARG(seconds); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_chdir (const char * path) -{ - PACE_TRACE("pace_chdir"); - - return chdir (PACE_NONCONST_ARG_CAST (char *) path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -int -pace_chown (const char * path, uid_t owner, pace_gid_t group) -{ - PACE_TRACE("pace_chown"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(owner); - PACE_UNUSED_ARG(group); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_close (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_close"); - - return close (fildes); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -PACE_HANDLE -pace_dup (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_dup"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -PACE_HANDLE -pace_dup2 (PACE_HANDLE fildes, PACE_HANDLE fildes2) -{ - PACE_TRACE("pace_dup2"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(fildes2); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execv (const char * path, - char * const argv[]) -{ - PACE_TRACE("pace_execv"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(argv); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execve (const char * path, - char * const argv[], - char * const envp[]) -{ - PACE_TRACE("pace_execve"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(argv); - PACE_UNUSED_ARG(envp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execvp (const char * file, - char * const argv[]) -{ - PACE_TRACE("pace_execvp"); - - PACE_UNUSED_ARG(file); - PACE_UNUSED_ARG(argv); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fdatasync (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_fdatasync"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_fork () -{ - PACE_TRACE("pace_fork"); - - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -long -pace_fpathconf (PACE_HANDLE fildes, int name) -{ - PACE_TRACE("pace_fpathconf"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fsync (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_fsync"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_ftruncate (PACE_HANDLE fildes, pace_off_t length) -{ - PACE_TRACE("pace_ftruncate"); - - return ftruncate (fildes, length); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -char * -pace_getcwd (char * buf, size_t size) -{ - PACE_TRACE("pace_getcwd"); - - return getcwd (buf, size); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_getegid () -{ - PACE_TRACE("pace_getegid"); - - /* getegid() is not supported: just one user anyway */ - return 0; -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_geteuid () -{ - PACE_TRACE("pace_geteuid"); - - /* geteuid() is not supported: just one user anyway */ - return 0; -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_getgroups (int gidsetsize, pace_gid_t grouplist[]) -{ - PACE_TRACE("pace_getgroups"); - - /* getgroups() is not supported: just one user anyway */ - PACE_UNUSED_ARG(gidsetsize); - PACE_UNUSED_ARG(grouplist); - return 0; -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_getgid () -{ - PACE_TRACE("pace_getgid"); - - /* getgid() is not supported: just one user anyway */ - return 0; -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -char* -pace_getlogin () -{ - PACE_TRACE("pace_getlogin"); - - PACE_ERRNO_NO_SUPPORT_RETURN ((char *) 0); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UGR_UOF) -PACE_INLINE -int -pace_getlogin_r (char * name, size_t namesize) -{ - PACE_TRACE("pace_getlogin_r"); - - PACE_UNUSED_ARG(name); - PACE_UNUSED_ARG(namesize); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pid_t -pace_getpgrp () -{ - PACE_TRACE("pace_getpgrp"); - - /* getpgrp() is not supported: just one user anyway */ - return 0; -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_getpid () -{ - PACE_TRACE("pace_getpid"); - - /* getpid() is not supported: just one user anyway */ - return 0; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_getppid () -{ - PACE_TRACE("pace_getppid"); - - /* getppid() is not supported: just one user anyway */ - return 0; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -uid_t -pace_getuid () -{ - PACE_TRACE("pace_getuid"); - - /* getuid() is not supported: just one user anyways */ - return 0; -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_isatty (int fildes) -{ - PACE_TRACE("pace_isatty"); - - return isatty (fildes); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_link (const char * existing, const char * new_link) -{ - PACE_TRACE("pace_link"); - - PACE_UNUSED_ARG(existing); - PACE_UNUSED_ARG(new_link); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -pace_off_t -pace_lseek (PACE_HANDLE fildes, pace_off_t offset, int whence) -{ - PACE_TRACE("pace_lseek"); - - return lseek (fildes, offset, whence); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -long -pace_pathconf (const char * path, int name) -{ - PACE_TRACE("pace_pathconf"); - - PACE_UNUSED_ARG(path); - PACE_UNUSED_ARG(name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_pause () -{ - PACE_TRACE("pace_pause"); - - return pause (); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_P_UOF) -PACE_INLINE -int -pace_pipe (PACE_HANDLE fildes[2]) -{ - PACE_TRACE("pace_pipe"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_P_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -ssize_t -pace_read (PACE_HANDLE fildes, void * buf, size_t nbyte) -{ - PACE_TRACE("pace_read"); - - return read (fildes, PACE_NONCONST_ARG_CAST (char *) buf, nbyte); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_rmdir (const char * path) -{ - PACE_TRACE("pace_rmdir"); - - return rmdir (PACE_NONCONST_ARG_CAST (char *) path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_setgid (pace_gid_t gid) -{ - PACE_TRACE("pace_setgid"); - - /* setuid() is not supported: just one user anyways */ - return 0; -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -int -pace_setpgid (pid_t pid, pid_t pgid) -{ - PACE_TRACE("pace_setpgid"); - - /* setpgid() is not supported: just one user anyways */ - return 0; -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pid_t -pace_setsid () -{ - PACE_TRACE("pace_setsid"); - - /* setsid() is not supported: just one user anyways */ - return 0; -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_setuid (uid_t uid) -{ - PACE_TRACE("pace_setuid"); - - /* setuid() is not supported: just one user anyways */ - return 0; -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -unsigned int -pace_sleep (unsigned int seconds) -{ - struct timespec rqtp; - /* Initializer doesn't work with Green Hills 1.8.7 */ - - PACE_TRACE("pace_sleep"); - - rqtp.tv_sec = seconds; - rqtp.tv_nsec = 0L; - return nanosleep (&rqtp, 0); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -long -pace_sysconf (int name) -{ - PACE_TRACE("pace_sysconf"); - - PACE_UNUSED_ARG(name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -pid_t -pace_tcgetpgrp (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_tcgetpgrp"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -int -pace_tcsetpgrp (PACE_HANDLE fildes, pid_t pgrp_id) -{ - PACE_TRACE("pace_tcsetpgrp"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(pgrp_id); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -char * -pace_ttyname (PACE_HANDLE fildes) -{ - PACE_TRACE("pace_ttyname"); - - PACE_UNUSED_ARG(fildes); - PACE_ERRNO_NO_SUPPORT_RETURN ((char *) 0); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_ttyname_r (PACE_HANDLE fildes, - char * name, - size_t namesize) -{ - PACE_TRACE("pace_ttyname_r"); - - PACE_UNUSED_ARG(fildes); - PACE_UNUSED_ARG(name); - PACE_UNUSED_ARG(namesize); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_unlink (const char * path) -{ - PACE_TRACE("pace_unlink"); - - return unlink (PACE_NONCONST_ARG_CAST (char *) path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -ssize_t -pace_write (PACE_HANDLE fildes, const void * buf, size_t nbyte) -{ - PACE_TRACE("pace_write"); - - return write (fildes, PACE_NONCONST_ARG_CAST (char *) buf, nbyte); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ diff --git a/PACE/pace/vxworks/utime.c b/PACE/pace/vxworks/utime.c deleted file mode 100644 index fc770964337..00000000000 --- a/PACE/pace/vxworks/utime.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utime.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/utime.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/utime.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/utime.h b/PACE/pace/vxworks/utime.h deleted file mode 100644 index 144ca29d567..00000000000 --- a/PACE/pace/vxworks/utime.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utime.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_UTIME_H_VXWORKS -#define PACE_UTIME_H_VXWORKS - -#include "pace/sys/types.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_UTIMBUF -#define PACE_UTIMBUF -typedef struct utimbuf pace_utimbuf; -#endif /* PACE_UTIMBUF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UTIME_H_VXWORKS */ diff --git a/PACE/pace/vxworks/utime.inl b/PACE/pace/vxworks/utime.inl deleted file mode 100644 index 28c38097d68..00000000000 --- a/PACE/pace/vxworks/utime.inl +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utime.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_utime (const char * path, - const pace_utimbuf * times) -{ - PACE_TRACE("pace_utime"); - - return utime (PACE_NONCONST_ARG_CAST (char *) path, - PACE_NONCONST_ARG_CAST (pace_utimbuf *) times); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/vxworks/utsname.c b/PACE/pace/vxworks/utsname.c deleted file mode 100644 index be5b4a33584..00000000000 --- a/PACE/pace/vxworks/utsname.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utsname.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sys/utsname.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/utsname.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/utsname.h b/PACE/pace/vxworks/utsname.h deleted file mode 100644 index 6773129303a..00000000000 --- a/PACE/pace/vxworks/utsname.h +++ /dev/null @@ -1,47 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utsname.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_SYS_UTSNAME_H_VXWORKS -#define PACE_SYS_UTSNAME_H_VXWORKS - -#include "pace/stddef.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_UTSNAME -#define PACE_UTSNAME -# if !defined (SYS_NMLN) -# define SYS_NMLN 257 -# endif /* SYS_NMLN */ -# if !defined (_SYS_NMLN) -# define _SYS_NMLN SYS_NMLN -# endif /* _SYS_NMLN */ -typedef struct -{ - pace_tchar sysname[_SYS_NMLN]; - pace_tchar nodename[_SYS_NMLN]; - pace_tchar release[_SYS_NMLN]; - pace_tchar version[_SYS_NMLN]; - pace_tchar machine[_SYS_NMLN]; -} pace_utsname; -#endif /* PACE_UTSNAME */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_UTSNAME_H_VXWORKS */ diff --git a/PACE/pace/vxworks/utsname.inl b/PACE/pace/vxworks/utsname.inl deleted file mode 100644 index 0925ebfef1f..00000000000 --- a/PACE/pace/vxworks/utsname.inl +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utsname.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/string.h" -#include -#include - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -int -pace_uname (pace_utsname * name) -{ - size_t maxnamelen = sizeof name->nodename; - - PACE_TRACE("pace_uname"); - - pace_strcpy (name->sysname, "VxWorks"); -#if (PACE_VXWORKS == 531) - pace_strcpy (name->release, "5.3.1"); -#elif (PACE_VXWORKS == 540) - pace_strcpy (name->release, "5.4.0"); -#endif /* PACE_VXWORKS != 531 */ - pace_strcpy (name->version, sysBspRev ()); - pace_strcpy (name->machine, sysModel ()); - - return gethostname (name->nodename, maxnamelen); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ diff --git a/PACE/pace/vxworks/wait.c b/PACE/pace/vxworks/wait.c deleted file mode 100644 index 2be98112c5f..00000000000 --- a/PACE/pace/vxworks/wait.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/wait.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/sys/wait.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/vxworks/wait.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/vxworks/wait.h b/PACE/pace/vxworks/wait.h deleted file mode 100644 index 1e588452e1f..00000000000 --- a/PACE/pace/vxworks/wait.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/wait.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_WAIT_H_VXWORKS -#define PACE_WAIT_H_VXWORKS - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_WEXITSTATUS WEXITSTATUS -#define PACE_WIFEXITED WIFEXITED -#define PACE_WIFSIGNALED WISIGNALED -#define PACE_WIFSTOPPED WIFSTOPPED -#define PACE_WNOHANG WNOHANG -#define PACE_WSTOPSIG WSTOPSIG -#define PACE_WTERMSIG WTERMSIG -#define PACE_WUNTRACED WUNTRACED - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_WAIT_H_VXWORKS */ diff --git a/PACE/pace/vxworks/wait.inl b/PACE/pace/vxworks/wait.inl deleted file mode 100644 index 1aee5137b7f..00000000000 --- a/PACE/pace/vxworks/wait.inl +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/wait.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_wait (int * statloc) -{ - PACE_TRACE("pace_wait"); - - PACE_UNUSED_ARG (statloc); - PACE_ERRNO_NO_SUPPORT_RETURN (0); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pid_t -pace_waitpid (pid_t pid, int * statloc, int options) -{ - PACE_TRACE("pace_waitpid"); - - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (statloc); - PACE_UNUSED_ARG (options); - PACE_ERRNO_NO_SUPPORT_RETURN (0); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/win32/README b/PACE/pace/win32/README deleted file mode 100644 index d46fa4c9dc3..00000000000 --- a/PACE/pace/win32/README +++ /dev/null @@ -1 +0,0 @@ -WIN32 dir diff --git a/PACE/pace/win32/TODO b/PACE/pace/win32/TODO deleted file mode 100644 index 659d8656d19..00000000000 --- a/PACE/pace/win32/TODO +++ /dev/null @@ -1,29 +0,0 @@ ----------------------------------------------------------------------- - - * Emulation: - - pthreads - - dirent - - * ACE_wrappers/PACE/docs/PACE_POSIX_support.txt: - - Update this file as emulation occurs. - - * Build ACE with ACE_HAS_PACE - ----------------------------------------------------------------------- - - * pthreads: Do we need to define this for win32? - - OS.cpp:2769 => PACE_PTHREAD_STACK_MIN - OS.cpp:2798 => PACE_PTHREAD_CREATE_JOINABLE - OS.cpp:2801 => PACE_PTHREAD_CREATE_DETACHED - ----------------------------------------------------------------------- - - * get rid of the temp macros / junk in config/constants.h - ----------------------------------------------------------------------- - - * add MFC support to pthread.c - ----------------------------------------------------------------------- diff --git a/PACE/pace/win32/aio.c b/PACE/pace/win32/aio.c deleted file mode 100644 index 25c7427877e..00000000000 --- a/PACE/pace/win32/aio.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/aio.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/aio.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/aio.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/aio.h b/PACE/pace/win32/aio.h deleted file mode 100644 index 764372de642..00000000000 --- a/PACE/pace/win32/aio.h +++ /dev/null @@ -1,44 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/aio.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_AIO_H_WIN32 -#define PACE_AIO_H_WIN32 - -#include "pace/time.h" -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_AIO_ALLDONE AIO_ALLDONE -#define PACE_AIO_CANCELED AIO_CANCELED -#define PACE_AIO_NOCANCELED AIO_NOTCANCELED -#define PACE_LIO_NOP LIO_NOP -#define PACE_LIO_NOWAIT LIO_NOWAIT -#define PACE_LIO_READ LIO_READ -#define PACE_LIO_WAIT LIO_WAIT -#define PACE_LIO_WRITE LIO_WRITE - -#ifndef PACE_AIOCB -#define PACE_AIOCB -typedef struct aiocb pace_aiocb; -#endif /* PACE_AIOCB */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_AIO_H_WIN32 */ diff --git a/PACE/pace/win32/aio.inl b/PACE/pace/win32/aio.inl deleted file mode 100644 index 1c1335857f0..00000000000 --- a/PACE/pace/win32/aio.inl +++ /dev/null @@ -1,106 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/aio.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_cancel (PACE_HANDLE fildes, pace_aiocb * aiocbp) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_error (const pace_aiocb * aiocbp) -{ - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_fsync (int op, pace_aiocb * aiocbp) -{ - PACE_UNUSED_ARG (op); - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_read (pace_aiocb * aiocbp) -{ - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_return (pace_aiocb * aiocbp) -{ - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_suspend (const pace_aiocb * const list[], - int nent, - const pace_timespec * timeout) -{ - PACE_UNUSED_ARG (list); - PACE_UNUSED_ARG (nent); - PACE_UNUSED_ARG (timeout); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_aio_write (pace_aiocb * aiocbp) -{ - PACE_UNUSED_ARG (aiocbp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_lio_listio (int mode, - pace_aiocb * const list[], - int nent, - pace_sigevent * sig) -{ - PACE_UNUSED_ARG (mode); - PACE_UNUSED_ARG (list); - PACE_UNUSED_ARG (nent); - PACE_UNUSED_ARG (sig); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/assert.c b/PACE/pace/win32/assert.c deleted file mode 100644 index 7620a619828..00000000000 --- a/PACE/pace/win32/assert.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/assert.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/assert.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/assert.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/assert.h b/PACE/pace/win32/assert.h deleted file mode 100644 index af0c8dac758..00000000000 --- a/PACE/pace/win32/assert.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/assert.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_ASSERT_H_WIN32 -#define PACE_ASSERT_H_WIN32 - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ASSERT_H_WIN32 */ diff --git a/PACE/pace/win32/assert.inl b/PACE/pace/win32/assert.inl deleted file mode 100644 index 00796cb2f26..00000000000 --- a/PACE/pace/win32/assert.inl +++ /dev/null @@ -1,14 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/assert.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ diff --git a/PACE/pace/win32/ctype.c b/PACE/pace/win32/ctype.c deleted file mode 100644 index dd3be4098b0..00000000000 --- a/PACE/pace/win32/ctype.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/ctype.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/ctype.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/ctype.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/ctype.h b/PACE/pace/win32/ctype.h deleted file mode 100644 index 9025f3de909..00000000000 --- a/PACE/pace/win32/ctype.h +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/ctype.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_CTYPE_H_WIN32 -#define PACE_CTYPE_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_CTYPE_H_WIN32 */ diff --git a/PACE/pace/win32/ctype.inl b/PACE/pace/win32/ctype.inl deleted file mode 100644 index 60f692f2c12..00000000000 --- a/PACE/pace/win32/ctype.inl +++ /dev/null @@ -1,133 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/ctype.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isalnum (int c) -{ - return isalnum (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isalpha (int c) -{ - return isalpha (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_iscntrl (int c) -{ - return iscntrl (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isdigit (int c) -{ - return isdigit (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isgraph (int c) -{ - return isgraph (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_islower (int c) -{ - return islower (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isprint (int c) -{ - return isprint (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_ispunct (int c) -{ - return ispunct (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isspace (int c) -{ - return isspace (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isupper (int c) -{ - return isupper (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_isxdigit (int c) -{ - return isxdigit (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_tolower (int c) -{ - return tolower (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_toupper (int c) -{ - return toupper (c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/win32/dirent.c b/PACE/pace/win32/dirent.c deleted file mode 100644 index b67213012f0..00000000000 --- a/PACE/pace/win32/dirent.c +++ /dev/null @@ -1,100 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/dirent.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/dirent.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/dirent.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_FS_UOF) -int -closedir (PACE_DIR * dirp) -{ - if (dirp->current_handle_ != (void*)0) - { - FindClose (dirp->current_handle_); - } - dirp->current_handle_ = (void*)0; - dirp->started_reading_ = 0; - return 1; -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_DIR * -opendir (const char * dirname) -{ - PACE_DIR * dirp = (PACE_DIR*) pace_malloc (sizeof (PACE_DIR)); - const pace_size_t dir_size = pace_strlen (dirname) + 1; - dirp->directory_name_ = (char*) pace_malloc (dir_size); - pace_strcpy (dirp->directory_name_, dirname); - dirp->current_handle_ = PACE_INVALID_HANDLE; - dirp->started_reading_ = 0; - return dirp; -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -pace_dirent * -readdir (PACE_DIR * dirp) -{ - if (dirp->started_reading_) - { - dirp->current_handle_ = FindFirstFile (dirp->directory_name_, - &(dirp->fdata_)); - if (dirp->current_handle_ != PACE_INVALID_HANDLE) - { - FindClose (dirp->current_handle_); - dirp->current_handle_ = PACE_INVALID_HANDLE; - } - else /* Skip "." and ".." */ - { - int retval = 1; - while (*(dirp->fdata_.cFileName) == '.' - && retval - && dirp->fdata_.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORY) - { - retval = FindNextFile (dirp->current_handle_, - &(dirp->fdata_)); - } - if (retval == 0) - { - dirp->current_handle_ = PACE_INVALID_HANDLE; - } - } - dirp->started_reading_ = 1; - } - else - { - int retval = FindNextFile (dirp->current_handle_, - &(dirp->fdata_)); - if (retval == 0) - { - dirp->current_handle_ = PACE_INVALID_HANDLE; - } - } - - if (dirp->current_handle_ != PACE_INVALID_HANDLE) - { - dirp->dirent_.d_name = dirp->fdata_.cFileName; - return &(dirp->dirent_); - } - else - { - return (pace_dirent*)0; - } -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/win32/dirent.h b/PACE/pace/win32/dirent.h deleted file mode 100644 index 9a379a35a12..00000000000 --- a/PACE/pace/win32/dirent.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/dirent.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_DIRENT_H_WIN32 -#define PACE_DIRENT_H_WIN32 - -#include "pace/sys/types.h" -#include "windows.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_DIRENT_T -#define PACE_DIRENT_T - - typedef struct /* dirent */ { - unsigned short d_ino; - unsigned short d_off; - unsigned short d_reclen; - char * d_name; - } pace_dirent; - -#endif /* PACE_DIRENT_T */ - -#ifndef PACE_DIR_T -#define PACE_DIR_T - - typedef WIN32_FIND_DATA PACE_TEXT_WIN32_FIND_DATA; - - typedef struct /* DIR */ { - char * directory_name_; - // The name of the directory we are looking into - HANDLE current_handle_; - // Remember the handle between calls. - pace_dirent dirent_; - // The struct for the results - PACE_TEXT_WIN32_FIND_DATA fdata_; - // The struct for intermediate results. - int started_reading_; - // A flag to remember if we started reading already. - } PACE_DIR; - -#endif /* PACE_DIR_T */ - -#if (PACE_HAS_POSIX_FS_UOF) - int closedir (PACE_DIR * dirp); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) - PACE_DIR * opendir (const char * dirname); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) - pace_dirent * readdir (PACE_DIR * dirp); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_DIRENT_H_WIN32 */ diff --git a/PACE/pace/win32/dirent.inl b/PACE/pace/win32/dirent.inl deleted file mode 100644 index edf5071c55d..00000000000 --- a/PACE/pace/win32/dirent.inl +++ /dev/null @@ -1,68 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/dirent.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/string.h" -#include "pace/stdlib.h" - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_closedir (PACE_DIR * dirp) -{ - return closedir (dirp); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -PACE_DIR * -pace_opendir (const char * dirname) -{ - return opendir (dirname); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -pace_dirent * -pace_readdir (PACE_DIR * dirp) -{ - return readdir (dirp); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -int -pace_readdir_r (PACE_DIR * dirp, - pace_dirent * entry, - pace_dirent ** result) -{ - PACE_UNUSED_ARG (dirp); - PACE_UNUSED_ARG (entry); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -void -pace_rewinddir (PACE_DIR * dirp) -{ - PACE_UNUSED_ARG (dirp); - PACE_ERRNO_NO_SUPPORT (); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/win32/errno.h b/PACE/pace/win32/errno.h deleted file mode 100644 index 7e35b76b566..00000000000 --- a/PACE/pace/win32/errno.h +++ /dev/null @@ -1,84 +0,0 @@ -/* $Id$ - -* ============================================================================ -* -* = LIBRARY -* pace -* -* = FILENAME -* pace/win32/errno.h -* -* = AUTHOR -* John Heitmann -* -* =========================================================================== */ - - -#ifndef PACE_ERRNO_H_WIN32 -#define PACE_ERRNO_H_WIN32 - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if !defined (ENOSYS) -# define ENOSYS EFAULT /* Operation not supported or unknown error. */ -#endif /* !ENOSYS */ - -#if !defined (ENOTSUP) -# define ENOTSUP ENOSYS /* Operation not supported. */ -#endif /* !ENOTSUP */ - -#define PACE_E2BIG E2BIG -#define PACE_EACCES EACCES -#define PACE_EAGAIN EAGAIN -#define PACE_EBADF EBADF -#define PACE_EBADMSG -#define PACE_EBUSY EBUSY -#define PACE_ECANCELED ECANCELED -#define PACE_ECHILD ECHILD -#define PACE_EDEADLK EDEADLK -#define PACE_EDOM EDOM -#define PACE_EEXIST EEXIST -#define PACE_EFAULT EFAULT -#define PACE_EFBIG EFBIG -#define PACE_EINPROGRESS EINPROGRESS -#define PACE_EINTR EINTR -#define PACE_EINVAL EINVAL -#define PACE_EIO EIO -#define PACE_EISDIR EISDIR -#define PACE_EMFILE EMFILE -#define PACE_EMLINK EMLINK -#define PACE_EMSGSIZE EMSGSIZE -#define PACE_EENAMETOOLONG ENAMETOOLONG -#define PACE_ENFILE ENFILE -#define PACE_ENODEV ENODEV -#define PACE_ENOENT ENOENT -#define PACE_ENOEXEC ENOEXEC -#define PACE_ENOLCK ENOLCK -#define PACE_ENOMEM ENOMEM -#define PACE_ENOSPC ENOSPC -#define PACE_ENOSYS ENOSYS -#define PACE_ENOTDIR ENOTDIR -#define PACE_ENOTEMPTY ENOTEMPTY -#define PACE_ENOTSUP ENOTSUP -#define PACE_ENOTTY ENOTTY -#define PACE_ENXIO ENXIO -#define PACE_EPERM EPERM -#define PACE_EPIPE EPIPE -#define PACE_ERANGE ERANGE -#define PACE_EROFS EROFS -#define PACE_ESPIPE ESPIPE -#define PACE_ESRCH ESRCH -#define PACE_ETIMEDOUT ETIMEDOUT -#define PACE_EXDEV EXDEV - -#define pace_errno errno - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_ERRNO_H_WIN32 */ diff --git a/PACE/pace/win32/fcntl.c b/PACE/pace/win32/fcntl.c deleted file mode 100644 index 5fe6e12bfb0..00000000000 --- a/PACE/pace/win32/fcntl.c +++ /dev/null @@ -1,164 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/fcntl.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/fcntl.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/fcntl.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_FS_UOF) -#include -#include -int -pace_win32_creat (const char * path, pace_mode_t mode) -{ - /* Emulation is still buggy! DO NOT YET USE! */ - - DWORD access = GENERIC_READ, - creation = OPEN_EXISTING, - flags = 0, - shared_mode = FILE_SHARE_READ | FILE_SHARE_WRITE; - - HANDLE h = (void*)0; - - if (PACE_BIT_ENABLED (mode, O_WRONLY)) - { - access = GENERIC_WRITE; - } - else if (PACE_BIT_ENABLED (mode, O_RDWR)) - { - access = GENERIC_READ | GENERIC_WRITE; - } - - if ((mode & (_O_CREAT | _O_EXCL)) == (_O_CREAT | _O_EXCL)) - { - creation = CREATE_NEW; - } - else if ((mode & (_O_CREAT | _O_TRUNC)) == (_O_CREAT | _O_TRUNC)) - { - creation = CREATE_ALWAYS; - } - else if (PACE_BIT_ENABLED (mode, _O_CREAT)) - { - creation = OPEN_ALWAYS; - } - else if (PACE_BIT_ENABLED (mode, _O_TRUNC)) - { - creation = TRUNCATE_EXISTING; - } - - if (PACE_BIT_ENABLED (mode, _O_TEMPORARY)) - { - flags |= FILE_FLAG_DELETE_ON_CLOSE | FILE_ATTRIBUTE_TEMPORARY; - } - - if (PACE_BIT_ENABLED (mode, FILE_FLAG_WRITE_THROUGH)) - { - flags |= FILE_FLAG_WRITE_THROUGH; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_OVERLAPPED)) - { - flags |= FILE_FLAG_OVERLAPPED; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_NO_BUFFERING)) - { - flags |= FILE_FLAG_NO_BUFFERING; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_RANDOM_ACCESS)) - { - flags |= FILE_FLAG_RANDOM_ACCESS; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_SEQUENTIAL_SCAN)) - { - flags |= FILE_FLAG_SEQUENTIAL_SCAN; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_DELETE_ON_CLOSE)) - { - flags |= FILE_FLAG_DELETE_ON_CLOSE; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_BACKUP_SEMANTICS)) - { - flags |= FILE_FLAG_BACKUP_SEMANTICS; - } - if (PACE_BIT_ENABLED (mode, FILE_FLAG_POSIX_SEMANTICS)) - { - flags |= FILE_FLAG_POSIX_SEMANTICS; - } - -#if 0 ////////////////////////////////////////////////////////////////////// - - /* Threads and version info that isn't implemented yet in PACE. - ACE_MT (ACE_thread_mutex_t *ace_os_monitor_lock = 0;) - */ - if (PACE_BIT_ENABLED (mode, _O_APPEND)) - { - ACE_MT - ( - ace_os_monitor_lock = (ACE_thread_mutex_t *) - ACE_OS_Object_Manager::preallocated_object[ - ACE_OS_Object_Manager::ACE_OS_MONITOR_LOCK]; - ACE_OS::thread_mutex_lock (ace_os_monitor_lock); - ) - } - -#if !defined (ACE_HAS_WINCE) /* CE doesn't have FILE_SHARE_DELETE */ - if (ACE_OS::get_win32_versioninfo().dwPlatformId == - VER_PLATFORM_WIN32_NT) - shared_mode |= FILE_SHARE_DELETE; -#endif /* ACE_HAS_WINCE */ - -//////////////////////////////////////////////////////////// -#endif /* 0 */ - - h = CreateFile (path, - access, - shared_mode, - 0, - creation, - flags, - 0); - - if (PACE_BIT_ENABLED (mode, _O_APPEND)) - { - if (h != PACE_INVALID_HANDLE) - { - SetFilePointer (h, 0, 0, FILE_END); - } - /* Threads and version info that isn't implemented yet in PACE. - ACE_MT (ACE_thread_mutex_t *ace_os_monitor_lock = 0;) - ACE_MT (ACE_OS::thread_mutex_unlock (ace_os_monitor_lock);) - */ - } - - if (h == PACE_INVALID_HANDLE) - { - /* Where is this in ACE? - ACE_FAIL_RETURN (h); - */ - return -1; - } - else - { - /* return h; - - POSIX returns lowest unused file descriptor but windows - doesn't handle files in the same manner. - We return -1 for failure and 1 for success. - */ - return 1; - } -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/win32/fcntl.h b/PACE/pace/win32/fcntl.h deleted file mode 100644 index 7cb57a52cb0..00000000000 --- a/PACE/pace/win32/fcntl.h +++ /dev/null @@ -1,71 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/fnctl.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_FCNTL_H_WIN32 -#define PACE_FCNTL_H_WIN32 - -#include "pace/sys/types.h" -#include "pace/unistd.h" -#include "pace/sys/stat.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (__BORLANDC__) -#define _O_TEMPORARY 0x08 -#endif /* __BORLANDC__ */ - -#define PACE_FD_CLOEXEC FD_CLOEXEC -#define PACE_F_DUPFD D_DUPFD -#define PACE_F_GETFD F_GETFD -#define PACE_F_GETFL F_GETFL -#define PACE_F_GETLK F_GETLK -#define PACE_F_RDLCK F_RDLCK -#define PACE_F_SETFD F_SETFD -#define PACE_F_SETFL F_SETFL -#define PACE_F_SETLK F_SETLK -#define PACE_F_SETLKW F_SETLKW -#define PACE_F_UNLCK F_UNLCK -#define PACE_F_WRLCK F_WRLCK -#define PACE_O_ACCMODE O_ACCMODE -#define PACE_O_APPEND O_APPEND -#define PACE_O_CREAT O_CREAT -#define PACE_O_DSYNC O_DSYNC -#define PACE_O_EXCL O_EXCL -#define PACE_O_NOCTTY O_NOCTTY -#define PACE_O_NONBLOCK O_NONBLOCK -#define PACE_O_RDONLY O_RDONLY -#define PACE_O_RDWR O_RDWR -#define PACE_O_RSYNC O_RSYNC -#define PACE_O_SYNC O_SYNC -#define PACE_O_TRUNC O_TRUNC -#define PACE_O_WRONLY O_WRONLY - -#ifndef PACE_FLOCK -#define PACE_FLOCK -typedef struct flock pace_flock; -#endif /* PACE_FLOCK */ - -#if (PACE_HAS_POSIX_FS_UOF) - int pace_win32_creat (const char * path, pace_mode_t mode); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_FCNTL_H_WIN32 */ diff --git a/PACE/pace/win32/fcntl.inl b/PACE/pace/win32/fcntl.inl deleted file mode 100644 index b821d7bbfc9..00000000000 --- a/PACE/pace/win32/fcntl.inl +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/fcntl.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_creat (const char * path, pace_mode_t mode) -{ - /* Emulation is still buggy! creat (path, mode); */ - PACE_UNUSED_ARG (path); - PACE_UNUSED_ARG (mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_fcntl (PACE_HANDLE fildes, int cmd, /* arg */ ... ) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (cmd); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - diff --git a/PACE/pace/win32/grp.c b/PACE/pace/win32/grp.c deleted file mode 100644 index 0bcfffa87d4..00000000000 --- a/PACE/pace/win32/grp.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/grp.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/grp.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/grp.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/grp.h b/PACE/pace/win32/grp.h deleted file mode 100644 index c800c8bc21e..00000000000 --- a/PACE/pace/win32/grp.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace () - * - * = FILENAME - * pace/win32/grp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_GRP_H_WIN32 -#define PACE_GRP_H_WIN32 - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_GROUP -#define PACE_GROUP - typedef struct group { - int val_; - } pace_group; -#endif /* PACE_GROUP */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_GRP_H_WIN32 */ diff --git a/PACE/pace/win32/grp.inl b/PACE/pace/win32/grp.inl deleted file mode 100644 index 905e9eadea3..00000000000 --- a/PACE/pace/win32/grp.inl +++ /dev/null @@ -1,72 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/grp.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_group * -pace_getgrgid (pace_gid_t gid) -{ - pace_group * retval = (pace_group*)0; - PACE_UNUSED_ARG (gid); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getgrgid_r (pace_gid_t gid, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result) -{ - PACE_UNUSED_ARG (gid); - PACE_UNUSED_ARG (grp); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_group * -pace_getgrnam (const char * name) -{ - pace_group * retval = (pace_group*)0; - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getgrnam_r (const char * name, - pace_group * grp, - char * buffer, - size_t bufsize, - pace_group ** result) -{ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (grp); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ diff --git a/PACE/pace/win32/limits.h b/PACE/pace/win32/limits.h deleted file mode 100644 index 0624528da7a..00000000000 --- a/PACE/pace/win32/limits.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/limits.h - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================ */ - -#ifndef PACE_LIMITS_H_WIN32 -#define PACE_LIMITS_H_WIN32 - -#include - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* (PACE_HAS_CPLUSPLUS) */ - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LIMITS_H_WIN32 */ diff --git a/PACE/pace/win32/locale.c b/PACE/pace/win32/locale.c deleted file mode 100644 index 1d10f0e3b32..00000000000 --- a/PACE/pace/win32/locale.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/locale.c - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/locale.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/locale.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/locale.h b/PACE/pace/win32/locale.h deleted file mode 100644 index c56a9d9fec3..00000000000 --- a/PACE/pace/win32/locale.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/locale.h - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#ifndef PACE_LOCALE_H_WIN32 -#define PACE_LOCALE_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_LC_ALL LC_ALL -#define PACE_LC_COLLATE LC_COLLATE -#define PACE_LC_CTYPE LC_CTYPE -#define PACE_LC_MONETARY LC_MONETARY -#define PACE_LC_NUMERIC LC_NUMERIC -#define PACE_LC_TIME LC_TIME -#define PACE_NULL NULL - -#ifndef PACE_LCONV -#define PACE_LCONV -typedef struct lconv pace_lconv; -#endif /* PACE_LCONV */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_LOCALE_H */ diff --git a/PACE/pace/win32/locale.inl b/PACE/pace/win32/locale.inl deleted file mode 100644 index bdcf0ba226a..00000000000 --- a/PACE/pace/win32/locale.inl +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/locale.inl - * - * = AUTHOR - * Joe Hoffert - * - * =========================================================================== */ - -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_lconv * -pace_localeconv (void) -{ - return localeconv (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -char * -pace_setlocale (int category, const char * locale) -{ - return setlocale (category, locale); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/win32/math.c b/PACE/pace/win32/math.c deleted file mode 100644 index 01302f35ac5..00000000000 --- a/PACE/pace/win32/math.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/math.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/math.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/math.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/math.h b/PACE/pace/win32/math.h deleted file mode 100644 index e1658a72c12..00000000000 --- a/PACE/pace/win32/math.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/math.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MATH_H_WIN32 -#define PACE_MATH_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_HUGE_VAL HUGE_VAL - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MATH_H_WIN32 */ diff --git a/PACE/pace/win32/math.inl b/PACE/pace/win32/math.inl deleted file mode 100644 index 47112cebda3..00000000000 --- a/PACE/pace/win32/math.inl +++ /dev/null @@ -1,215 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/math.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -/* FUZZ: disable check_for_math_include */ -#include - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_acos (double x) -{ - return acos (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_asin (double x) -{ - return asin (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atan (double x) -{ - return atan (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atan2 (double x, double y) -{ - return atan2 (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_cos (double x) -{ - return cos (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sin (double x) -{ - return sin (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_tan (double x) -{ - return tan (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_cosh (double x) -{ - return cosh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sinh (double x) -{ - return sinh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_tanh (double x) -{ - return tanh (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_exp (double x) -{ - return exp (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_frexp (double x, int * exp) -{ - return frexp (x, exp); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_ldexp (double x, int exp) -{ - return ldexp (x, exp); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_log (double x) -{ - return log (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_log10 (double x) -{ - return log10 (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_modf (double x, double * iptr) -{ - return modf (x, iptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_pow (double x, double y) -{ - return pow (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_sqrt (double x) -{ - return sqrt (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_ceil (double x) -{ - return ceil (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_fabs (double x) -{ - return fabs (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_floor (double x) -{ - return floor (x); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_fmod (double x, double y) -{ - return fmod (x, y); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/win32/mman.c b/PACE/pace/win32/mman.c deleted file mode 100644 index 7c08f8f6e0f..00000000000 --- a/PACE/pace/win32/mman.c +++ /dev/null @@ -1,123 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/mman.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/mman.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/mman.inl" -#endif /* ! PACE_HAS_INLINE */ - -#include -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -void * -mmap (void * addr, size_t len, int prot, int flags, - PACE_HANDLE fildes, pace_off_t off) -{ - void *addr_mapping = 0; - int nt_flags = 0; - PACE_HANDLE file_mapping = PACE_INVALID_HANDLE; - - if (PACE_BIT_ENABLED (flags, MAP_PRIVATE)) - { - prot = PAGE_WRITECOPY; - nt_flags = FILE_MAP_COPY; - } - else if (PACE_BIT_ENABLED (flags, MAP_SHARED)) - { - if (PACE_BIT_ENABLED (prot, PAGE_READONLY)) - nt_flags = FILE_MAP_READ; - if (PACE_BIT_ENABLED (prot, PAGE_READWRITE)) - nt_flags = FILE_MAP_WRITE; - } - - file_mapping = CreateFileMapping (fildes, - 0, - prot, - 0, - 0, - 0); - if (file_mapping == 0) - PACE_FAIL_RETURN (MAP_FAILED); - -# if defined (PACE_OS_EXTRA_MMAP_FLAGS) - nt_flags |= PACE_OS_EXTRA_MMAP_FLAGS; -# endif /* PACE_OS_EXTRA_MMAP_FLAGS */ - -# if !defined (PACE_HAS_WINCE) - addr_mapping = MapViewOfFileEx (file_mapping, - nt_flags, - 0, - off, - len, - addr); -# else - ACE_UNUSED_ARG (addr); /* WinCE does not allow specifying .*/ - addr_mapping = MapViewOfFile (file_mapping, - nt_flags, - 0, - off, - len); -# endif /* ! PACE_HAS_WINCE */ - - /* Only close this down if we used the temporary. */ - if (file_mapping == PACE_INVALID_HANDLE) - CloseHandle (file_mapping); - - if (addr_mapping == 0) - PACE_FAIL_RETURN (MAP_FAILED); - - else if (PACE_BIT_ENABLED (flags, MAP_FIXED) - && addr_mapping != addr) - { - errno = EINVAL; - return MAP_FAILED; - } - else - return addr_mapping; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -mprotect (void * addr, size_t len, int prot) -{ - DWORD dummy; /* Sigh! */ - return VirtualProtect(addr, len, prot, &dummy) ? 0 : -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -msync (void * addr, size_t len, int flags) -{ - PACE_UNUSED_ARG (flags); - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (FlushViewOfFile (addr, len), pace_result_), int, -1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -munmap (void * addr, size_t len) -{ - PACE_UNUSED_ARG (len); - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (UnmapViewOfFile (addr), pace_result_), int, -1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/mman.h b/PACE/pace/win32/mman.h deleted file mode 100644 index 2a5621823d7..00000000000 --- a/PACE/pace/win32/mman.h +++ /dev/null @@ -1,65 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/mman.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_MMAN_H_WIN32 -#define PACE_SYS_MMAN_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# define MAP_PRIVATE 1 -# define MAP_SHARED 2 -# define MAP_FIXED 4 -# if !defined (MAP_FAILED) -# undef MAP_FAILED -# define MAP_FAILED ((void *) -1) -# endif - -# define PACE_MAP_FAILED MAP_FAILED -# define PACE_MAP_FIXED MAP_FIXED -# define PACE_MAP_PRIVATE MAP_PRIVATE -# define PACE_MAP_SHARED MAP_SHARED -# define PACE_MCL_CURRENT MCL_CURRENT -# define PACE_MS_ASYNC MS_ASYNC -# define PACE_MS_INVALIDATE -# define PACE_MS_SYNC MS_SYNC -# define PACE_PROT_EXEC PROT_EXEC -# define PACE_PROT_NONE PROT_NONE -# define PACE_PROT_READ PROT_READ -# define PACE_PROT_WRITE PROT_WRITE - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - void * mmap (void * addr, size_t len, int prot, int flags, - PACE_HANDLE fildes, pace_off_t off); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int mprotect (void * addr, size_t len, int prot); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int msync (void * addr, size_t len, int flags); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int munmap (void * addr, size_t len); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_MMAN_H */ diff --git a/PACE/pace/win32/mman.inl b/PACE/pace/win32/mman.inl deleted file mode 100644 index c324089991b..00000000000 --- a/PACE/pace/win32/mman.inl +++ /dev/null @@ -1,129 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/mman.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mlock (const void * addr, pace_size_t len) -{ - PACE_UNUSED_ARG (addr); - PACE_UNUSED_ARG (len); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mlockall (int flags) -{ - PACE_UNUSED_ARG (flags); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_mmap (void * addr, - size_t len, - int prot, - int flags, - PACE_HANDLE fildes, - pace_off_t off) -{ - return mmap (addr, len, prot, flags, fildes, off); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munlock (const void * addr, size_t len) -{ - PACE_UNUSED_ARG (addr); - PACE_UNUSED_ARG (len); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mprotect (void * addr, size_t len, int prot) -{ - return mprotect (addr, len, prot); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_msync (void * addr, - size_t len, - int flags) -{ - return msync (addr, len, flags); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munlockall () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_munmap (void * addr, size_t len) -{ - return munmap (addr, len); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -PACE_HANDLE -pace_shm_open (const char * name, int oflag, pace_mode_t mode) -{ - /* Would be similar to ACE_OS::open - which (currently uses threads and Object Manager). - */ - PACE_HANDLE retval = PACE_INVALID_HANDLE; - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (oflag); - PACE_UNUSED_ARG (mode); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_shm_unlink (const char * name) -{ -#if defined (__BORLANDC__) - return unlink (name); -#else /* __BORLANDC__ */ - return _unlink (name); -#endif /* __BORLANDC__ */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/mqueue.c b/PACE/pace/win32/mqueue.c deleted file mode 100644 index 2f08c3e979e..00000000000 --- a/PACE/pace/win32/mqueue.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace () - * - * = FILENAME - * pace/win32/mqueue.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/mqueue.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/mqueue.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/mqueue.h b/PACE/pace/win32/mqueue.h deleted file mode 100644 index 17110c5a740..00000000000 --- a/PACE/pace/win32/mqueue.h +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/mqueue.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_MQUEUE_H_WIN32 -#define PACE_MQUEUE_H_WIN32 - -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_MQD_T -#define PACE_MQD_T - /* Temporary fix until we emulate these funcs. - typedef mqd_t pace_mqd_t; - */ - typedef int pace_mqd_t; -#endif /* PACE_MQD_T */ - -#ifndef PACE_MQ_ATTR -#define PACE_MQ_ATTR - /* Temporary fix until we emulate these funcs. - typedef struct mq_attr pace_mq_attr - */ - typedef struct mq_attr { int a_; } pace_mq_attr; -#endif /* PACE_MQ_ATTR */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_MQUEUE_H_WIN32 */ diff --git a/PACE/pace/win32/mqueue.inl b/PACE/pace/win32/mqueue.inl deleted file mode 100644 index 956ddaf7be2..00000000000 --- a/PACE/pace/win32/mqueue.inl +++ /dev/null @@ -1,104 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/mqueue.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_close (pace_mqd_t mqdes) -{ - PACE_UNUSED_ARG (mqdes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_getattr (pace_mqd_t mqdes, - pace_mq_attr * mqstat) -{ - PACE_UNUSED_ARG (mqdes); - PACE_UNUSED_ARG (mqstat); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_notify (pace_mqd_t mqdes, - const pace_sigevent * notification) -{ - PACE_UNUSED_ARG (mqdes); - PACE_UNUSED_ARG (notification); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_ssize_t -pace_mq_receive (pace_mqd_t mqdes, - char * msg_ptr, - size_t msg_len, - unsigned int * msg_prio) -{ - PACE_UNUSED_ARG (mqdes); - PACE_UNUSED_ARG (msg_ptr); - PACE_UNUSED_ARG (msg_len); - PACE_UNUSED_ARG (msg_prio); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_send (pace_mqd_t mqdes, - const char * msg_ptr, - size_t msg_len, - unsigned int msg_prio) -{ - PACE_UNUSED_ARG (mqdes); - PACE_UNUSED_ARG (msg_ptr); - PACE_UNUSED_ARG (msg_len); - PACE_UNUSED_ARG (msg_prio); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_setattr (pace_mqd_t mqdes, - const pace_mq_attr * mqstat, - pace_mq_attr * omqstat) -{ - PACE_UNUSED_ARG (mqdes); - PACE_UNUSED_ARG (mqstat); - PACE_UNUSED_ARG (omqstat); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mq_unlink (const char * name) -{ - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/pace.dsw b/PACE/pace/win32/pace.dsw deleted file mode 100644 index d1deae4e284..00000000000 --- a/PACE/pace/win32/pace.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "pace_dll"=.\pace_dll.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pace_lib"=.\pace_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/PACE/pace/win32/pace_dll.dsp b/PACE/pace/win32/pace_dll.dsp deleted file mode 100644 index 8fca3ae3eb9..00000000000 --- a/PACE/pace/win32/pace_dll.dsp +++ /dev/null @@ -1,623 +0,0 @@ -# Microsoft Developer Studio Project File - Name="PACE DLL" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=PACE DLL - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pace_dll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pace_dll.mak" CFG="PACE DLL - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "PACE DLL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "PACE DLL - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "PACE DLL - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "DLL\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PACE_DLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../" /D "NDEBUG" /D "_WINDOWS" /D "PACE_BUILD_DLL" /D "WIN32" /D "PACE_HAS_ALL_POSIX_FUNCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../../../bin/pace.dll" -# SUBTRACT LINK32 /profile - -!ELSEIF "$(CFG)" == "PACE DLL - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "pace_dll___Win32_Debug" -# PROP BASE Intermediate_Dir "pace_dll___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "DLL\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PACE_DLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../" /D "_DEBUG" /D "_WINDOWS" /D "PACE_BUILD_DLL" /D "WIN32" /D "PACE_HAS_ALL_POSIX_FUNCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../../../bin/paced.dll" /pdbtype:sept -# SUBTRACT LINK32 /nodefaultlib - -!ENDIF - -# Begin Target - -# Name "PACE DLL - Win32 Release" -# Name "PACE DLL - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\aio.c -# End Source File -# Begin Source File - -SOURCE=.\assert.c -# End Source File -# Begin Source File - -SOURCE=.\ctype.c -# End Source File -# Begin Source File - -SOURCE=.\dirent.c -# End Source File -# Begin Source File - -SOURCE=.\fcntl.c -# End Source File -# Begin Source File - -SOURCE=.\grp.c -# End Source File -# Begin Source File - -SOURCE=.\locale.c -# End Source File -# Begin Source File - -SOURCE=.\math.c -# End Source File -# Begin Source File - -SOURCE=.\mman.c -# End Source File -# Begin Source File - -SOURCE=.\mqueue.c -# End Source File -# Begin Source File - -SOURCE=.\pthread.c -# End Source File -# Begin Source File - -SOURCE=.\pwd.c -# End Source File -# Begin Source File - -SOURCE=.\sched.c -# End Source File -# Begin Source File - -SOURCE=.\semaphore.c -# End Source File -# Begin Source File - -SOURCE=.\setjmp.c -# End Source File -# Begin Source File - -SOURCE=.\signal.c -# End Source File -# Begin Source File - -SOURCE=.\stat.c -# End Source File -# Begin Source File - -SOURCE=.\stdio.c -# End Source File -# Begin Source File - -SOURCE=.\stdlib.c -# End Source File -# Begin Source File - -SOURCE=.\string.c -# End Source File -# Begin Source File - -SOURCE=.\termios.c -# End Source File -# Begin Source File - -SOURCE=.\time.c -# End Source File -# Begin Source File - -SOURCE=.\times.c -# End Source File -# Begin Source File - -SOURCE=.\unistd.c -# End Source File -# Begin Source File - -SOURCE=.\utime.c -# End Source File -# Begin Source File - -SOURCE=.\utsname.c -# End Source File -# Begin Source File - -SOURCE=.\wait.c -# End Source File -# End Group -# Begin Group "Header Files (Prototypes)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\aio.h -# End Source File -# Begin Source File - -SOURCE=..\assert.h -# End Source File -# Begin Source File - -SOURCE=..\ctype.h -# End Source File -# Begin Source File - -SOURCE=..\dirent.h -# End Source File -# Begin Source File - -SOURCE=..\errno.h -# End Source File -# Begin Source File - -SOURCE=..\fcntl.h -# End Source File -# Begin Source File - -SOURCE=..\grp.h -# End Source File -# Begin Source File - -SOURCE=..\limits.h -# End Source File -# Begin Source File - -SOURCE=..\locale.h -# End Source File -# Begin Source File - -SOURCE=..\math.h -# End Source File -# Begin Source File - -SOURCE=..\sys\mman.h -# End Source File -# Begin Source File - -SOURCE=..\mqueue.h -# End Source File -# Begin Source File - -SOURCE=..\pthread.h -# End Source File -# Begin Source File - -SOURCE=..\pwd.h -# End Source File -# Begin Source File - -SOURCE=..\sched.h -# End Source File -# Begin Source File - -SOURCE=..\semaphore.h -# End Source File -# Begin Source File - -SOURCE=..\setjmp.h -# End Source File -# Begin Source File - -SOURCE=..\signal.h -# End Source File -# Begin Source File - -SOURCE=..\sys\stat.h -# End Source File -# Begin Source File - -SOURCE=..\stddef.h -# End Source File -# Begin Source File - -SOURCE=..\stdio.h -# End Source File -# Begin Source File - -SOURCE=..\stdlib.h -# End Source File -# Begin Source File - -SOURCE=..\string.h -# End Source File -# Begin Source File - -SOURCE=..\termios.h -# End Source File -# Begin Source File - -SOURCE=..\time.h -# End Source File -# Begin Source File - -SOURCE=..\sys\times.h -# End Source File -# Begin Source File - -SOURCE=..\sys\types.h -# End Source File -# Begin Source File - -SOURCE=..\unistd.h -# End Source File -# Begin Source File - -SOURCE=..\utime.h -# End Source File -# Begin Source File - -SOURCE=..\sys\utsname.h -# End Source File -# Begin Source File - -SOURCE=..\sys\wait.h -# End Source File -# End Group -# Begin Group "Header Files (Win32 Specific)" - -# PROP Default_Filter "h" -# Begin Source File - -SOURCE=.\aio.h -# End Source File -# Begin Source File - -SOURCE=.\assert.h -# End Source File -# Begin Source File - -SOURCE=.\ctype.h -# End Source File -# Begin Source File - -SOURCE=.\dirent.h -# End Source File -# Begin Source File - -SOURCE=.\errno.h -# End Source File -# Begin Source File - -SOURCE=.\fcntl.h -# End Source File -# Begin Source File - -SOURCE=.\grp.h -# End Source File -# Begin Source File - -SOURCE=.\limits.h -# End Source File -# Begin Source File - -SOURCE=.\locale.h -# End Source File -# Begin Source File - -SOURCE=.\math.h -# End Source File -# Begin Source File - -SOURCE=.\mman.h -# End Source File -# Begin Source File - -SOURCE=.\mqueue.h -# End Source File -# Begin Source File - -SOURCE=.\pthread.h -# End Source File -# Begin Source File - -SOURCE=.\pthreadtypes.h -# End Source File -# Begin Source File - -SOURCE=.\pwd.h -# End Source File -# Begin Source File - -SOURCE=.\sched.h -# End Source File -# Begin Source File - -SOURCE=.\schedtypes.h -# End Source File -# Begin Source File - -SOURCE=.\semaphore.h -# End Source File -# Begin Source File - -SOURCE=.\setjmp.h -# End Source File -# Begin Source File - -SOURCE=.\signal.h -# End Source File -# Begin Source File - -SOURCE=.\stat.h -# End Source File -# Begin Source File - -SOURCE=.\stdio.h -# End Source File -# Begin Source File - -SOURCE=.\stdlib.h -# End Source File -# Begin Source File - -SOURCE=.\string.h -# End Source File -# Begin Source File - -SOURCE=.\termios.h -# End Source File -# Begin Source File - -SOURCE=.\time.h -# End Source File -# Begin Source File - -SOURCE=.\times.h -# End Source File -# Begin Source File - -SOURCE=.\types.h -# End Source File -# Begin Source File - -SOURCE=.\unistd.h -# End Source File -# Begin Source File - -SOURCE=.\utime.h -# End Source File -# Begin Source File - -SOURCE=.\utsname.h -# End Source File -# Begin Source File - -SOURCE=.\wait.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "inl" -# Begin Source File - -SOURCE=.\aio.inl -# End Source File -# Begin Source File - -SOURCE=.\assert.inl -# End Source File -# Begin Source File - -SOURCE=.\ctype.inl -# End Source File -# Begin Source File - -SOURCE=.\dirent.inl -# End Source File -# Begin Source File - -SOURCE=.\fcntl.inl -# End Source File -# Begin Source File - -SOURCE=.\grp.inl -# End Source File -# Begin Source File - -SOURCE=.\locale.inl -# End Source File -# Begin Source File - -SOURCE=.\math.inl -# End Source File -# Begin Source File - -SOURCE=.\mman.inl -# End Source File -# Begin Source File - -SOURCE=.\mqueue.inl -# End Source File -# Begin Source File - -SOURCE=.\pthread.inl -# End Source File -# Begin Source File - -SOURCE=.\pwd.inl -# End Source File -# Begin Source File - -SOURCE=.\sched.inl -# End Source File -# Begin Source File - -SOURCE=.\semaphore.inl -# End Source File -# Begin Source File - -SOURCE=.\setjmp.inl -# End Source File -# Begin Source File - -SOURCE=.\signal.inl -# End Source File -# Begin Source File - -SOURCE=.\stat.inl -# End Source File -# Begin Source File - -SOURCE=.\stdio.inl -# End Source File -# Begin Source File - -SOURCE=.\stdlib.inl -# End Source File -# Begin Source File - -SOURCE=.\string.inl -# End Source File -# Begin Source File - -SOURCE=.\termios.inl -# End Source File -# Begin Source File - -SOURCE=.\time.inl -# End Source File -# Begin Source File - -SOURCE=.\times.inl -# End Source File -# Begin Source File - -SOURCE=.\unistd.inl -# End Source File -# Begin Source File - -SOURCE=.\utime.inl -# End Source File -# Begin Source File - -SOURCE=.\utsname.inl -# End Source File -# Begin Source File - -SOURCE=.\wait.inl -# End Source File -# End Group -# Begin Group "Config Files" - -# PROP Default_Filter "c" -# Begin Source File - -SOURCE=..\config\compiler.h -# End Source File -# Begin Source File - -SOURCE=..\config\config.h -# End Source File -# Begin Source File - -SOURCE=..\config\constants.h -# End Source File -# Begin Source File - -SOURCE=..\config\defaults.h -# End Source File -# Begin Source File - -SOURCE=..\config\defines.h -# End Source File -# Begin Source File - -SOURCE=..\config\features.h -# End Source File -# Begin Source File - -SOURCE=..\config\platform.h -# End Source File -# Begin Source File - -SOURCE=..\config\temp.h -# End Source File -# Begin Source File - -SOURCE=..\config\utility.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/PACE/pace/win32/pace_lib.dsp b/PACE/pace/win32/pace_lib.dsp deleted file mode 100644 index 0a41c79bf03..00000000000 --- a/PACE/pace/win32/pace_lib.dsp +++ /dev/null @@ -1,609 +0,0 @@ -# Microsoft Developer Studio Project File - Name="PACE LIB" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=PACE LIB - Win32 Static Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pace_lib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pace_lib.mak" CFG="PACE LIB - Win32 Static Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "PACE LIB - Win32 Static Release" (based on "Win32 (x86) Static Library") -!MESSAGE "PACE LIB - Win32 Static Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "PACE LIB - Win32 Static Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "LIB\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../" /D "NDEBUG" /D "PACE_AS_STATIC_LIBS" /D "WIN32" /D "PACE_HAS_ALL_POSIX_FUNCS" /V"ERBOSE:LIB" /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:".\paces.lib" - -!ELSEIF "$(CFG)" == "PACE LIB - Win32 Static Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "pace_lib___Win32_Debug" -# PROP BASE Intermediate_Dir "pace_lib___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "LIB\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../" /D "_DEBUG" /D "WIN32" /D "PACE_HAS_ALL_POSIX_FUNCS" /D "PACE_AS_STATIC_LIBS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:".\pacesd.lib" - -!ENDIF - -# Begin Target - -# Name "PACE LIB - Win32 Static Release" -# Name "PACE LIB - Win32 Static Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\aio.c -# End Source File -# Begin Source File - -SOURCE=.\assert.c -# End Source File -# Begin Source File - -SOURCE=.\ctype.c -# End Source File -# Begin Source File - -SOURCE=.\dirent.c -# End Source File -# Begin Source File - -SOURCE=.\fcntl.c -# End Source File -# Begin Source File - -SOURCE=.\grp.c -# End Source File -# Begin Source File - -SOURCE=.\locale.c -# End Source File -# Begin Source File - -SOURCE=.\math.c -# End Source File -# Begin Source File - -SOURCE=.\mman.c -# End Source File -# Begin Source File - -SOURCE=.\mqueue.c -# End Source File -# Begin Source File - -SOURCE=.\pthread.c -# End Source File -# Begin Source File - -SOURCE=.\pwd.c -# End Source File -# Begin Source File - -SOURCE=.\sched.c -# End Source File -# Begin Source File - -SOURCE=.\semaphore.c -# End Source File -# Begin Source File - -SOURCE=.\setjmp.c -# End Source File -# Begin Source File - -SOURCE=.\signal.c -# End Source File -# Begin Source File - -SOURCE=.\stat.c -# End Source File -# Begin Source File - -SOURCE=.\stdio.c -# End Source File -# Begin Source File - -SOURCE=.\stdlib.c -# End Source File -# Begin Source File - -SOURCE=.\string.c -# End Source File -# Begin Source File - -SOURCE=.\termios.c -# End Source File -# Begin Source File - -SOURCE=.\time.c -# End Source File -# Begin Source File - -SOURCE=.\times.c -# End Source File -# Begin Source File - -SOURCE=.\unistd.c -# End Source File -# Begin Source File - -SOURCE=.\utime.c -# End Source File -# Begin Source File - -SOURCE=.\utsname.c -# End Source File -# Begin Source File - -SOURCE=.\wait.c -# End Source File -# End Group -# Begin Group "Header Files (Prototypes)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\aio.h -# End Source File -# Begin Source File - -SOURCE=..\assert.h -# End Source File -# Begin Source File - -SOURCE=..\ctype.h -# End Source File -# Begin Source File - -SOURCE=..\dirent.h -# End Source File -# Begin Source File - -SOURCE=..\errno.h -# End Source File -# Begin Source File - -SOURCE=..\fcntl.h -# End Source File -# Begin Source File - -SOURCE=..\grp.h -# End Source File -# Begin Source File - -SOURCE=..\limits.h -# End Source File -# Begin Source File - -SOURCE=..\locale.h -# End Source File -# Begin Source File - -SOURCE=..\math.h -# End Source File -# Begin Source File - -SOURCE=..\sys\mman.h -# End Source File -# Begin Source File - -SOURCE=..\mqueue.h -# End Source File -# Begin Source File - -SOURCE=..\pthread.h -# End Source File -# Begin Source File - -SOURCE=..\pwd.h -# End Source File -# Begin Source File - -SOURCE=..\sched.h -# End Source File -# Begin Source File - -SOURCE=..\semaphore.h -# End Source File -# Begin Source File - -SOURCE=..\setjmp.h -# End Source File -# Begin Source File - -SOURCE=..\signal.h -# End Source File -# Begin Source File - -SOURCE=..\sys\stat.h -# End Source File -# Begin Source File - -SOURCE=..\stddef.h -# End Source File -# Begin Source File - -SOURCE=..\stdio.h -# End Source File -# Begin Source File - -SOURCE=..\stdlib.h -# End Source File -# Begin Source File - -SOURCE=..\string.h -# End Source File -# Begin Source File - -SOURCE=..\termios.h -# End Source File -# Begin Source File - -SOURCE=..\time.h -# End Source File -# Begin Source File - -SOURCE=..\sys\times.h -# End Source File -# Begin Source File - -SOURCE=..\sys\types.h -# End Source File -# Begin Source File - -SOURCE=..\unistd.h -# End Source File -# Begin Source File - -SOURCE=..\utime.h -# End Source File -# Begin Source File - -SOURCE=..\sys\utsname.h -# End Source File -# Begin Source File - -SOURCE=..\sys\wait.h -# End Source File -# End Group -# Begin Group "Header Files (Win32 Specific)" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\aio.h -# End Source File -# Begin Source File - -SOURCE=.\assert.h -# End Source File -# Begin Source File - -SOURCE=.\ctype.h -# End Source File -# Begin Source File - -SOURCE=.\dirent.h -# End Source File -# Begin Source File - -SOURCE=.\errno.h -# End Source File -# Begin Source File - -SOURCE=.\fcntl.h -# End Source File -# Begin Source File - -SOURCE=.\grp.h -# End Source File -# Begin Source File - -SOURCE=.\limits.h -# End Source File -# Begin Source File - -SOURCE=.\locale.h -# End Source File -# Begin Source File - -SOURCE=.\math.h -# End Source File -# Begin Source File - -SOURCE=.\mman.h -# End Source File -# Begin Source File - -SOURCE=.\mqueue.h -# End Source File -# Begin Source File - -SOURCE=.\pthread.h -# End Source File -# Begin Source File - -SOURCE=.\pthreadtypes.h -# End Source File -# Begin Source File - -SOURCE=.\pwd.h -# End Source File -# Begin Source File - -SOURCE=.\sched.h -# End Source File -# Begin Source File - -SOURCE=.\schedtypes.h -# End Source File -# Begin Source File - -SOURCE=.\semaphore.h -# End Source File -# Begin Source File - -SOURCE=.\setjmp.h -# End Source File -# Begin Source File - -SOURCE=.\signal.h -# End Source File -# Begin Source File - -SOURCE=.\stat.h -# End Source File -# Begin Source File - -SOURCE=.\stdio.h -# End Source File -# Begin Source File - -SOURCE=.\stdlib.h -# End Source File -# Begin Source File - -SOURCE=.\string.h -# End Source File -# Begin Source File - -SOURCE=.\termios.h -# End Source File -# Begin Source File - -SOURCE=.\time.h -# End Source File -# Begin Source File - -SOURCE=.\times.h -# End Source File -# Begin Source File - -SOURCE=.\types.h -# End Source File -# Begin Source File - -SOURCE=.\unistd.h -# End Source File -# Begin Source File - -SOURCE=.\utime.h -# End Source File -# Begin Source File - -SOURCE=.\utsname.h -# End Source File -# Begin Source File - -SOURCE=.\wait.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "inl" -# Begin Source File - -SOURCE=.\aio.inl -# End Source File -# Begin Source File - -SOURCE=.\assert.inl -# End Source File -# Begin Source File - -SOURCE=.\ctype.inl -# End Source File -# Begin Source File - -SOURCE=.\dirent.inl -# End Source File -# Begin Source File - -SOURCE=.\fcntl.inl -# End Source File -# Begin Source File - -SOURCE=.\grp.inl -# End Source File -# Begin Source File - -SOURCE=.\locale.inl -# End Source File -# Begin Source File - -SOURCE=.\math.inl -# End Source File -# Begin Source File - -SOURCE=.\mman.inl -# End Source File -# Begin Source File - -SOURCE=.\mqueue.inl -# End Source File -# Begin Source File - -SOURCE=.\pthread.inl -# End Source File -# Begin Source File - -SOURCE=.\pwd.inl -# End Source File -# Begin Source File - -SOURCE=.\sched.inl -# End Source File -# Begin Source File - -SOURCE=.\semaphore.inl -# End Source File -# Begin Source File - -SOURCE=.\setjmp.inl -# End Source File -# Begin Source File - -SOURCE=.\signal.inl -# End Source File -# Begin Source File - -SOURCE=.\stat.inl -# End Source File -# Begin Source File - -SOURCE=.\stdio.inl -# End Source File -# Begin Source File - -SOURCE=.\stdlib.inl -# End Source File -# Begin Source File - -SOURCE=.\string.inl -# End Source File -# Begin Source File - -SOURCE=.\termios.inl -# End Source File -# Begin Source File - -SOURCE=.\time.inl -# End Source File -# Begin Source File - -SOURCE=.\times.inl -# End Source File -# Begin Source File - -SOURCE=.\unistd.inl -# End Source File -# Begin Source File - -SOURCE=.\utime.inl -# End Source File -# Begin Source File - -SOURCE=.\utsname.inl -# End Source File -# Begin Source File - -SOURCE=.\wait.inl -# End Source File -# End Group -# Begin Group "Config Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\config\compiler.h -# End Source File -# Begin Source File - -SOURCE=..\config\config.h -# End Source File -# Begin Source File - -SOURCE=..\config\constants.h -# End Source File -# Begin Source File - -SOURCE=..\config\defaults.h -# End Source File -# Begin Source File - -SOURCE=..\config\defines.h -# End Source File -# Begin Source File - -SOURCE=..\config\features.h -# End Source File -# Begin Source File - -SOURCE=..\config\platform.h -# End Source File -# Begin Source File - -SOURCE=..\config\temp.h -# End Source File -# Begin Source File - -SOURCE=..\config\utility.h -# End Source File -# End Group -# End Target -# End Project diff --git a/PACE/pace/win32/pthread.c b/PACE/pace/win32/pthread.c deleted file mode 100644 index b53dab9396c..00000000000 --- a/PACE/pace/win32/pthread.c +++ /dev/null @@ -1,359 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pthread.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/pthread.h" -#include - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/pthread.inl" -#endif /* ! PACE_HAS_INLINE */ - -////////////////////////////////////////////////////////////////////// -// pthread_t -////////////////////////////////////////////////////////////////////// - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg) -{ - /* Get around a gcc bug. */ - typedef unsigned (__stdcall *bthrexr)(void*); - - unsigned flags = 0x0, thr_addr = 0x0; - if (attr->sparam_.sched_priority != THREAD_PRIORITY_NORMAL) - { - // CREATE_SUSPENDED is the only flag win32 currently supports - flags = CREATE_SUSPENDED; - } - - thread = (pace_pthread_t) - _beginthreadex (0, - attr->stack_size_, - (bthrexr) start_routine, - arg, - flags, - &thr_addr); - - if (flags == CREATE_SUSPENDED && thread != 0) - { - SetThreadPriority (thread, attr->sparam_.sched_priority); - ResumeThread (thread); - } - - if (thread == 0) - { - return 0; - } - else - { - PACE_FAIL_RETURN (-1); - } - -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -pace_pthread_t -pthread_self () -{ - return GetCurrentThread (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param) -{ - PACE_UNUSED_ARG (policy); - if (param != (pace_sched_param*)0) - { - param->sched_priority = GetThreadPriority (thread); - return 0; - } - /* Invalid pointer to pace_sched_param. */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param) -{ - PACE_UNUSED_ARG(policy); - - if (SetThreadPriority (thread, param->sched_priority)) - { - return 0; - } - /* ERROR: with return value of SetThreadPriority. */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -////////////////////////////////////////////////////////////////////// -// pthread_attr_t -////////////////////////////////////////////////////////////////////// - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_init (pace_pthread_attr_t * attr) -{ - /* These need to be the platform defaults! - * Since I made this, I need to maintain this invariant! - * Eventually, #define 'words' would be better than - * constants here! */ - - attr->init_ = 1; - attr->detach_state_ = 0; - attr->policy_ = 0; - attr->sparam_.sched_priority = 0; - attr->inherit_sched_ = 0; - attr->contention_scope_ = 0; - attr->guard_size_ = 0; - attr->stackaddr_set_ = 0; - attr->stack_addr_ = (void*)0; - attr->stack_size_ = 0; - - return 0; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_destroy (pace_pthread_attr_t * attr) -{ - if (attr->init_ == 1) - { - attr->init_ = 0; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_getdetachstate (const pace_pthread_attr_t * attr, - int * detachstate) -{ - if (attr->init_ == 1) - { - *detachstate = attr->detach_state_; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate) -{ - if (attr->init_ == 1) - { - attr->detach_state_ = detachstate; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_getinheritsched (const pace_pthread_attr_t * attr, - int * inheritsched) -{ - if (attr->init_ == 1) - { - *inheritsched = attr->inherit_sched_; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setinheritsched (pace_pthread_attr_t * attr, - int inheritsched) -{ - if (attr->init_ == 1) - { - attr->inherit_sched_ = inheritsched; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_getschedparam (const pace_pthread_attr_t * attr, - pace_sched_param * param) -{ - if (attr->init_ == 1) - { - param->sched_priority = attr->sparam_.sched_priority; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param) -{ - if (attr->init_ == 1) - { - attr->sparam_.sched_priority = param->sched_priority; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int pthread_attr_getschedpolicy (const pace_pthread_attr_t * attr, - int * policy) -{ - if (attr->init_ == 1) - { - *policy = attr->policy_; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int pthread_attr_setschedpolicy (pace_pthread_attr_t * attr, - int policy) -{ - if (attr->init_ == 1) - { - attr->policy_ = policy; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_getscope (const pace_pthread_attr_t * attr, - int * contentionscope) -{ - if (attr->init_ == 1) - { - *contentionscope = attr->contention_scope_; - return 0; - } - /* ERROR: not initialized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setscope (pace_pthread_attr_t * attr, - int contentionscope) -{ - if (attr->init_ == 1) - { - attr->contention_scope_ = contentionscope; - return 0; - } - /* ERROR: not initialized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_getstackaddr (const pace_pthread_attr_t * attr, - void ** stackaddr) -{ - if (attr->init_ == 1) - { - *stackaddr = attr->stack_addr_; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setstackaddr (pace_pthread_attr_t * attr, - void * stackaddr) -{ - if (attr->init_ == 1) - { - attr->stack_addr_ = stackaddr; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_getstacksize (const pace_pthread_attr_t * attr, - size_t * stacksize) -{ - if (attr->init_ == 1) - { - *stacksize = attr->stack_size_; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pthread_attr_setstacksize (pace_pthread_attr_t * attr, - size_t stacksize) -{ - if (attr->init_ == 1) - { - attr->stack_size_ = stacksize; - return 0; - } - /* ERROR: not initilalized properly! */ - return -1; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/pthread.h b/PACE/pace/win32/pthread.h deleted file mode 100644 index 582b89c2ab1..00000000000 --- a/PACE/pace/win32/pthread.h +++ /dev/null @@ -1,178 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pthread.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_PTHREAD_H_WIN32 -#define PACE_PTHREAD_H_WIN32 - -#include "pace/sys/types.h" -#include "pace/signal.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_PTHREAD_CANCELED PTHREAD_CANCELED -#define PACE_PTHREAD_CANCEL_AYNCHRONOUS PTHREAD_CANCEL_ASYNCHRONOUS -#define PACE_PTHREAD_CANCEL_DEFERRED PTHREAD_CANCEL_DEFERRED -#define PACE_PTHREAD_CACEL_DISABLE PTHREAD_CANCEL_DISABLE -#define PACE_PTHREAD_CANCEL_ENABLE PTHREAD_CANCEL_ENABLE -#define PACE_PTHREAD_COND_INITIALIZER PTHREAD_COND_INITIALIZER -#define PACE_PTHREAD_CREATE_DETACHED PTHREAD_CREATE_DETACHED -#define PACE_PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_JOINABLE -#define PACE_PTHREAD_EXPLICIT_SCHED PTHREAD_EXPLICIT_SCHED -#define PACE_PTHREAD_INHERIT_SCHED PTHREAD_INHERIT_SCHED -#define PACE_PTHREAD_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER -#define PACE_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT -#define PACE_PTHREAD_PRIO_INHERIT PTHREAD_PRIO_INHERIT -#define PACE_PTHREAD_PRIO_NONE PTHREAD_PRIO_NONE -#define PACE_PTHREAD_PRIO_PROTECT PTHREAD_PRIO_PROTECT -#define PACE_PTHREAD_PROCESS_PRIVATE PTHREAD_PROCESS_PRIVATE -#define PACE_PTHREAD_PROCESS_SHARED PTHREAD_PROCESS_SHARED -#define PACE_PTHREAD_SCOPE_PROCESS PTHREAD_SCOPE_PROCESS -#define PACE_PTHREAD_SCOPE_SYSTEM PTHREAD_SCOPE_SYSTEM - -#if defined (PACE_HAS_CPLUSPLUS) - -# ifndef PACE_ATFORK_PF -# define PACE_ATFORK_PF - typedef void (*pace_atfork_pf) (void); -# endif /* PACE_ATFORK_PF */ - -# ifndef PACE_KEYCREATE_PF -# define PACE_KEYCREATE_PF - typedef void (*pace_keycreate_pf) (void*); -# endif /* PACE_KEYCREATE_PF */ - -# ifndef PACE_ONCE_PF -# define PACE_ONCE_PF - typedef void (*pace_once_pf) (void); -# endif /* PACE_ONCE_PF */ - -# ifndef PACE_CREATE_PF -# define PACE_CREATE_PF - typedef void* (*pace_create_pf) (void*); -# endif /* PACE_CREATE_PF */ - -#endif /* PACE_HAS_CPLUPLUS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - pace_pthread_t pthread_self (); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - /* Returns -1 if invalid pointer to param is passed in! */ - int pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - /* Returns -1 if attr is already valid! */ - int pthread_attr_init (pace_pthread_attr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - /* Returns -1 if attr is invalid! */ - int pthread_attr_destroy (pace_pthread_attr_t * attr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getdetachstate (const pace_pthread_attr_t * attr, - int * detachstate); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getinheritsched (const pace_pthread_attr_t * attr, - int * inheritsched); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setinheritsched (pace_pthread_attr_t * attr, - int inheritsched); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getschedparam (const pace_pthread_attr_t * attr, - pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getschedpolicy (const pace_pthread_attr_t * attr, - int * policy); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setschedpolicy (pace_pthread_attr_t * attr, - int policy); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getscope (const pace_pthread_attr_t * attr, - int * contentionscope); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setscope (pace_pthread_attr_t * attr, - int contentionscope); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getstackaddr (const pace_pthread_attr_t * attr, - void ** stackaddr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setstackaddr (pace_pthread_attr_t * attr, - void * stackaddr); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_getstacksize (const pace_pthread_attr_t * attr, - size_t * stacksize); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pthread_attr_setstacksize (pace_pthread_attr_t * attr, - size_t stacksize); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PTHREAD_H_WIN32 */ diff --git a/PACE/pace/win32/pthread.inl b/PACE/pace/win32/pthread.inl deleted file mode 100644 index 3fea1729342..00000000000 --- a/PACE/pace/win32/pthread.inl +++ /dev/null @@ -1,682 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pthread.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/unistd.h" - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_atfork (void (*prepare) (void), - void (*parent) (void), - void (*child) (void)) -{ - PACE_UNUSED_ARG (prepare); - PACE_UNUSED_ARG (parent); - PACE_UNUSED_ARG (child); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_create (pace_pthread_t * thread, - const pace_pthread_attr_t * attr, - void * (*start_routine) (void*), - void * arg) -{ - PACE_UNUSED_ARG (thread); - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (start_routine); - PACE_UNUSED_ARG (arg); - - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_pthread_t -pace_pthread_self () -{ - return pthread_self (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param) -{ - return pthread_getschedparam (thread, policy, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param) -{ - return pthread_setschedparam (thread, policy, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_init (pace_pthread_attr_t * attr) -{ - return pthread_attr_init (attr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_destroy (pace_pthread_attr_t * attr) -{ - return pthread_attr_destroy (attr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getdetachstate (const pace_pthread_attr_t * attr, - int * detachstate) -{ - return pthread_attr_getdetachstate (attr, detachstate); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate) -{ - return pthread_attr_setdetachstate (attr, detachstate); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getinheritsched (const pace_pthread_attr_t * attr, - int * inheritsched) -{ - return pthread_attr_getinheritsched (attr, inheritsched); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setinheritsched (pace_pthread_attr_t * attr, - int inheritsched) -{ - return pthread_attr_setinheritsched (attr, inheritsched); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getschedparam (const pace_pthread_attr_t * attr, - pace_sched_param * param) -{ - return pthread_attr_getschedparam (attr, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const pace_sched_param * param) -{ - return pthread_attr_setschedparam (attr, param); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getschedpolicy (const pace_pthread_attr_t * attr, - int * policy) -{ - return pthread_attr_getschedpolicy (attr, policy); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setschedpolicy (pace_pthread_attr_t * attr, - int policy) -{ - return pthread_attr_setschedpolicy (attr, policy); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getscope (const pace_pthread_attr_t * attr, - int * contentionscope) -{ - return pthread_attr_getscope (attr, contentionscope); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setscope (pace_pthread_attr_t * attr, - int contentionscope) -{ - return pthread_attr_setscope (attr, contentionscope); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getstackaddr (const pace_pthread_attr_t * attr, - void ** stackaddr) -{ - return pthread_attr_getstackaddr (attr, stackaddr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setstackaddr (pace_pthread_attr_t * attr, - void * stackaddr) -{ - return pthread_attr_setstackaddr (attr, stackaddr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_getstacksize (const pace_pthread_attr_t * attr, - size_t * stacksize) -{ - return pthread_attr_getstacksize (attr, stacksize); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_attr_setstacksize (pace_pthread_attr_t * attr, - size_t stacksize) -{ - return pthread_attr_setstacksize (attr, stacksize); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cancel (pace_pthread_t thread) -{ - PACE_UNUSED_ARG (thread); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_broadcast (pace_pthread_cond_t * cond) -{ - PACE_UNUSED_ARG (cond); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_destroy (pace_pthread_cond_t * cond) -{ - PACE_UNUSED_ARG (cond); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_init (pace_pthread_cond_t * cond, - const pace_pthread_condattr_t * attr) -{ - PACE_UNUSED_ARG (cond); - PACE_UNUSED_ARG (attr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_signal (pace_pthread_cond_t * cond) -{ - PACE_UNUSED_ARG (cond); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_timedwait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex, - const struct timespec * abstime) -{ - PACE_UNUSED_ARG (cond); - PACE_UNUSED_ARG (mutex); - PACE_UNUSED_ARG (abstime); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_cond_wait (pace_pthread_cond_t * cond, - pace_pthread_mutex_t * mutex) -{ - PACE_UNUSED_ARG (cond); - PACE_UNUSED_ARG (mutex); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_destroy (pace_pthread_condattr_t * attr) -{ - PACE_UNUSED_ARG (attr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_getpshared (const pace_pthread_condattr_t * attr, - int * pshared) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_init (pace_pthread_condattr_t * attr) -{ - PACE_UNUSED_ARG (attr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_condattr_setpshared (pace_pthread_condattr_t * attr, - int pshared) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_detach (pace_pthread_t thread) -{ - PACE_UNUSED_ARG (thread); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_equal (pace_pthread_t t1, pace_pthread_t t2) -{ - return t1 == t2; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -pace_pthread_exit (void * value_ptr) -{ - PACE_UNUSED_ARG (value_ptr); - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_pthread_getspecific (pace_pthread_key_t key) -{ - void * retval = (void*)0; - PACE_UNUSED_ARG (key); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_join (pace_pthread_t thread, void ** value_ptr) -{ - PACE_UNUSED_ARG (thread); - PACE_UNUSED_ARG (value_ptr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_key_create (pace_pthread_key_t * key, - void (*destructor)(void*)) -{ - PACE_UNUSED_ARG (key); - PACE_UNUSED_ARG (destructor); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_key_delete (pace_pthread_key_t key) -{ - PACE_UNUSED_ARG (key); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_kill (pace_pthread_t thread, int sig) -{ - PACE_UNUSED_ARG (thread); - PACE_UNUSED_ARG (sig); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_destroy (pace_pthread_mutex_t * mutex) -{ - PACE_UNUSED_ARG (mutex); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_getprioceiling (pace_pthread_mutex_t * mutex, - int * prioceiling) -{ - PACE_UNUSED_ARG (mutex); - PACE_UNUSED_ARG (prioceiling); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr) -{ - PACE_UNUSED_ARG (mutex); - PACE_UNUSED_ARG (attr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_lock (pace_pthread_mutex_t * mutex) -{ - PACE_UNUSED_ARG (mutex); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_setprioceiling (pace_pthread_mutex_t * mutex, - int prioceiling, - int * old_ceiling) -{ - PACE_UNUSED_ARG (mutex); - PACE_UNUSED_ARG (prioceiling); - PACE_UNUSED_ARG (old_ceiling); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_trylock (pace_pthread_mutex_t * mutex) -{ - PACE_UNUSED_ARG (mutex); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutex_unlock (pace_pthread_mutex_t * mutex) -{ - PACE_UNUSED_ARG (mutex); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_destroy (pace_pthread_mutexattr_t * attr) -{ - PACE_UNUSED_ARG (attr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getprioceiling (pace_pthread_mutexattr_t * attr, - int * prioceiling) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (prioceiling); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getprotocol (const pace_pthread_mutexattr_t * attr, - int * protocol) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (protocol); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setprioceiling (pace_pthread_mutexattr_t * attr, - int prioceiling) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (prioceiling); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (protocol); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_getpshared (const pace_pthread_mutexattr_t * attr, - int * pshared) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_init (pace_pthread_mutexattr_t * attr) -{ - PACE_UNUSED_ARG (attr); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared) -{ - PACE_UNUSED_ARG (attr); - PACE_UNUSED_ARG (pshared); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_once (pace_pthread_once_t * once_control, - void (*void_routine) (void)) -{ - PACE_UNUSED_ARG (once_control); - PACE_UNUSED_ARG (void_routine); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setcancelstate (int state, int * oldstate) -{ - PACE_UNUSED_ARG (state); - PACE_UNUSED_ARG (oldstate); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setcanceltype (int type, int * oldtype) -{ - PACE_UNUSED_ARG (type); - PACE_UNUSED_ARG (oldtype); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_setspecific (pace_pthread_key_t key, const void * value) -{ - PACE_UNUSED_ARG (key); - PACE_UNUSED_ARG (value); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_pthread_sigmask (int how, const pace_sigset_t * set, - pace_sigset_t * oset) -{ - PACE_UNUSED_ARG (how); - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (oset); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -pace_pthread_testcancel () -{ - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/pthreadtypes.h b/PACE/pace/win32/pthreadtypes.h deleted file mode 100644 index 9d578a56801..00000000000 --- a/PACE/pace/win32/pthreadtypes.h +++ /dev/null @@ -1,132 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pthreadtypes.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -/* Keep pthread types defined here as they just clutter up sys/types.h - - * Do NOT include this file directly!! Please include "sys/types.h". */ - -#ifndef PACE_SYS_PTHREADTYPES_H_WIN32 -#define PACE_SYS_PTHREADTYPES_H_WIN32 - -#include "pace/win32/schedtypes.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_PTHREAD_ATTR_T -#define PACE_PTHREAD_ATTR_T 1 - typedef struct pthread_attr_t - { - int init_; - int detach_state_; - int policy_; - pace_sched_param sparam_; - int inherit_sched_; - int contention_scope_; - pace_size_t guard_size_; - int stackaddr_set_ ; - void * stack_addr_; - pace_size_t stack_size_; - } pace_pthread_attr_t; -#endif /* PACE_PTHREAD_ATTR_T */ - -#ifndef PACE_PTHREAD_COND_T -#define PACE_PTHREAD_COND_T 1 - typedef struct pthread_cond_t - { -#if 0 - /* Concurrent access protection. */ - struct _pthread_fastlock __c_lock; - - /* Pool of threads waiting. */ - _pthread_descr __c_waiting; -#endif - int a; - - } pace_pthread_cond_t; - -#endif /* PACE_PTHREAD_COND_T */ - -#ifndef PACE_PTHREAD_CONDATTR_T -#define PACE_PTHREAD_CONDATTR_T 1 - typedef struct pthread_condattr_t - { - int not_used_; - } pace_pthread_condattr_t; -#endif /* PACE_PTHREAD_CONDATTR_T */ - -#ifndef PACE_PTHREAD_KEY_T -#define PACE_PTHREAD_KEY_T 1 - typedef unsigned int pthread_key_t; - typedef pthread_key_t pace_pthread_key_t; -#endif /* PACE_PTHREAD_KEY_T */ - -#ifndef PACE_PTHREAD_MUTEX_T -#define PACE_PTHREAD_MUTEX_T 1 - typedef struct pthread_mutex_t - { - /* Depth of recursive locking */ - int recursive_count_; - -#if 0 - /* Owner thread (if recursive or errcheck) */ - _pthread_descr __m_owner; -#endif - - /* Mutex kind: fast, recursive or errcheck */ - int type_; - - union - { - HANDLE proc_mutex_; - CRITICAL_SECTION thr_mutex_; - }; - -#if 0 - /* Underlying fast lock */ - struct _pthread_fastlock __m_lock; -#endif - - } pace_pthread_mutex_t; -#endif /* PACE_PTHREAD_MUTEX_T */ - -#ifndef PACE_PTHREAD_MUTEXATTR_T -#define PACE_PTHREAD_MUTEXATTR_T - typedef struct pthread_mutexattr_t - { - int mutex_kind_; - } pace_pthread_mutexattr_t; -#endif /* PACE_PTHREAD_MUTEXATTR_T */ - -#ifndef PACE_PTHREAD_ONCE -#define PACE_PTHREAD_ONCE - - typedef int pthread_once_t; - typedef pthread_once_t pace_pthread_once_t; - -#endif /* PACE_PTHREAD_ONCE */ - -#ifndef PACE_PTHREAD_T -#define PACE_PTHREAD_T - typedef HANDLE pace_pthread_t; - typedef DWORD pace_idpthread_t; -#endif /* PACE_PTHREAD_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_PTHREADTYPES_H_WIN32 */ diff --git a/PACE/pace/win32/pwd.c b/PACE/pace/win32/pwd.c deleted file mode 100644 index bb58fd5ce40..00000000000 --- a/PACE/pace/win32/pwd.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pwd.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/pwd.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/pwd.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/pwd.h b/PACE/pace/win32/pwd.h deleted file mode 100644 index f66e326d96c..00000000000 --- a/PACE/pace/win32/pwd.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pwd.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_PWD_H_WIN32 -#define PACE_PWD_H_WIN32 - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_PASSWD -#define PACE_PASSWD - typedef struct passwd { int a_; } pace_passwd; -#endif /* PACE_PASSWD */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_PWD_H_WIN32 */ diff --git a/PACE/pace/win32/pwd.inl b/PACE/pace/win32/pwd.inl deleted file mode 100644 index 24e9f7b1f10..00000000000 --- a/PACE/pace/win32/pwd.inl +++ /dev/null @@ -1,72 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/pwd.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_passwd * -pace_getpwuid (pace_uid_t uid) -{ - pace_passwd * retval = (pace_passwd*)0; - PACE_UNUSED_ARG (uid); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getpwuid_r (pace_uid_t uid, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result) -{ - PACE_UNUSED_ARG (uid); - PACE_UNUSED_ARG (pwd); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ - -#if (PACE_HAS_POSIX_SD_UOF) -PACE_INLINE -pace_passwd * -pace_getpwnam (const char * name) -{ - pace_passwd * retval = (pace_passwd*)0; - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_SD_UOF */ - -#if (PACE_HAS_POSIX_SDR_UOF) -PACE_INLINE -int -pace_getpwnam_r (const char * name, - pace_passwd * pwd, - char * buffer, - pace_size_t bufsize, - pace_passwd ** result) -{ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (pwd); - PACE_UNUSED_ARG (buffer); - PACE_UNUSED_ARG (bufsize); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SDR_UOF */ diff --git a/PACE/pace/win32/sched.c b/PACE/pace/win32/sched.c deleted file mode 100644 index 9438ab245c5..00000000000 --- a/PACE/pace/win32/sched.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/sched.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sched.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/sched.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/sched.h b/PACE/pace/win32/sched.h deleted file mode 100644 index 6c04ae6b995..00000000000 --- a/PACE/pace/win32/sched.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/sched.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SCHED_H_WIN32 -#define PACE_SCHED_H_WIN32 - - /* These definitions are used in other files. - * Separate the declarations from the definitions to avoid circular - * inclusion. ie: some other funcs just need the typedefs and structs. */ - -#include "pace/win32/schedtypes.h" -#include "pace/time.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SCHED_H_WIN32 */ diff --git a/PACE/pace/win32/sched.inl b/PACE/pace/win32/sched.inl deleted file mode 100644 index 06577337db6..00000000000 --- a/PACE/pace/win32/sched.inl +++ /dev/null @@ -1,103 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/sched.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_get_priority_max (int policy) -{ - PACE_UNUSED_ARG (policy); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_get_priority_min (int policy) -{ - PACE_UNUSED_ARG (policy); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_getparam (pace_pid_t pid, - pace_sched_param * param) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (param); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_rr_get_interval (pace_pid_t pid, - pace_timespec * interval) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (interval); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_setparam (pace_pid_t pid, - const pace_sched_param * param) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (param); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_getscheduler (pace_pid_t pid) -{ - PACE_UNUSED_ARG (pid); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_setscheduler (pace_pid_t pid, - int policy, - const pace_sched_param * param) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (policy); - PACE_UNUSED_ARG (param); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sched_yield () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/schedtypes.h b/PACE/pace/win32/schedtypes.h deleted file mode 100644 index b3358e0c5db..00000000000 --- a/PACE/pace/win32/schedtypes.h +++ /dev/null @@ -1,67 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/schedtypes.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -/* Keep sched types defined here as they need to be in more than one - * file and otherwise cause circular dependencies. - - * Do NOT include this file directly!! Please include "pace/sched.h". */ - -#ifndef PACE_SYS_SCHEDTYPES_H_WIN32 -#define PACE_SYS_SCHEDTYPES_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - /* These are defined via POSIX, but win32 is not POSIX compliant! - * So please forgive me for these (non pace prefix) sins! */ - -#ifndef SCHED_OTHER -#define SCHED_OTHER 0 -#endif /* SCHED_RR */ - -#ifndef SCHED_FIFO -#define SCHED_FIFO 1 -#endif /* SCHED_FIFO */ - -#ifndef SCHED_RR -#define SCHED_RR 2 -#endif /* SCHED_RR */ - -#ifndef PACE_SCHED_OTHER -#define PACE_SCHED_OTHER SCHED_OTHER -#endif /* PACE_SCHED_OTHER */ - -#ifndef PACE_SCHED_FIFO -#define PACE_SCHED_FIFO SCHED_FIFO -#endif /* PACE_SCHED_FIFO */ - -#ifndef PACE_SCHED_RR -#define PACE_SCHED_RR SCHED_RR -#endif /* PACE_SCHED_RR */ - -#ifndef PACE_SCHED_PARAM -#define PACE_SCHED_PARAM 1 - typedef struct sched_param - { - int sched_priority; - } pace_sched_param; -#endif - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_SCHEDTYPES_H_WIN32 */ diff --git a/PACE/pace/win32/semaphore.c b/PACE/pace/win32/semaphore.c deleted file mode 100644 index 23728df5c29..00000000000 --- a/PACE/pace/win32/semaphore.c +++ /dev/null @@ -1,122 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/semaphore.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/semaphore.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/semaphore.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -# include -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -sem_close (pace_sem_t * sem) -{ - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (CloseHandle (sem), pace_result_), int, -1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -sem_destroy (pace_sem_t * sem) -{ - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (CloseHandle (sem), pace_result_), int, -1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -sem_init (pace_sem_t * sem, int pshared, unsigned int value) -{ - PACE_UNUSED_ARG (pshared); - - /* Create the semaphore with its value initialized to and - its maximum value initialized to . - - How do we want to call CreateSemaphore? What about the char *? - */ - *sem = CreateSemaphore (0, value, 2147483647, "noname"); - - if (*sem == 0) - { - PACE_FAIL_RETURN (-1); - } - /* NOTREACHED */ - else - { - return 0; - } -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -sem_post (pace_sem_t * sem) -{ - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (ReleaseSemaphore (*sem, 1, 0), pace_result_), int, -1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -sem_trywait (pace_sem_t * sem) -{ - int result = WaitForSingleObject (*sem, 0); - - if (result == WAIT_OBJECT_0) - { - return 0; - } - else - { - if (result == WAIT_TIMEOUT) - { - errno = EBUSY; - } - else - { - errno = GetLastError (); - } - /* This is a hack, we need to find an appropriate mapping... */ - return -1; - } -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -sem_wait (pace_sem_t * sem) -{ - switch (WaitForSingleObject (*sem, INFINITE)) - { - case WAIT_OBJECT_0: - return 0; - default: - /* This is a hack, we need to find an appropriate mapping... */ - errno = GetLastError (); - return -1; - } -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - diff --git a/PACE/pace/win32/semaphore.h b/PACE/pace/win32/semaphore.h deleted file mode 100644 index 7abd89211f0..00000000000 --- a/PACE/pace/win32/semaphore.h +++ /dev/null @@ -1,62 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/semaphore.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SEMAPHORE_H_WIN32 -#define PACE_SEMAPHORE_H_WIN32 - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_SEM_T -#define PACE_SEM_T - typedef HANDLE pace_sem_t; -#endif /* PACE_SEM_T */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int sem_close (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int sem_destroy (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int sem_init (pace_sem_t * sem, int pshared, unsigned int value); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - PACE_INLINE pace_sem_t * sem_open (const char * name, int oflag, ...); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int sem_post (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int sem_trywait (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int sem_wait (pace_sem_t * sem); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SEMAPHORE_H_WIN32 */ diff --git a/PACE/pace/win32/semaphore.inl b/PACE/pace/win32/semaphore.inl deleted file mode 100644 index dea94013317..00000000000 --- a/PACE/pace/win32/semaphore.inl +++ /dev/null @@ -1,108 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/semaphore.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_close (pace_sem_t * sem) -{ - return sem_close (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_destroy (pace_sem_t * sem) -{ - return sem_destroy (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_getvalue (pace_sem_t * sem, int * sval) -{ - PACE_UNUSED_ARG (sem); - PACE_UNUSED_ARG (sval); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_init (pace_sem_t * sem, - int pshared, - unsigned int value) -{ - return sem_init (sem, pshared, value); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_sem_t * -pace_sem_open (const char * name, int oflag, ...) -{ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (oflag); - return (pace_sem_t)NULL; -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_post (pace_sem_t * sem) -{ - return sem_post (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_trywait (pace_sem_t * sem) -{ - return sem_trywait (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_unlink (const char * name) -{ -#if defined (__BORLANDC__) - return unlink (name); -#else /* __BORLANDC__ */ - return _unlink (name); -#endif /* __BORLANDC__ */ -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sem_wait (pace_sem_t * sem) -{ - return sem_wait (sem); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - diff --git a/PACE/pace/win32/setjmp.c b/PACE/pace/win32/setjmp.c deleted file mode 100644 index b245f6fe3c1..00000000000 --- a/PACE/pace/win32/setjmp.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/setjmp.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/setjmp.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/setjmp.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/setjmp.h b/PACE/pace/win32/setjmp.h deleted file mode 100644 index bd8b44ad1fd..00000000000 --- a/PACE/pace/win32/setjmp.h +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/setjmp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SETJMP_H_WIN32 -#define PACE_SETJMP_H_WIN32 - -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# define PACE_SIGJLEN 128 - -# ifndef PACE_JMP_BUF -# define PACE_JMP_BUF - typedef jmp_buf pace_jmp_buf; -#endif /* PACE_JMP_BUF */ - -# ifndef PACE_SIGJMP_BUF -# define PACE_SIGJMP_BUF - typedef long sigjmp_buf[PACE_SIGJLEN]; - typedef sigjmp_buf pace_sigjmp_buf; -#endif /* PACE_SIGJMP_BUF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SETJMP_H_WIN32 */ diff --git a/PACE/pace/win32/setjmp.inl b/PACE/pace/win32/setjmp.inl deleted file mode 100644 index d3be714dfd4..00000000000 --- a/PACE/pace/win32/setjmp.inl +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/setjmp.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_longjmp (pace_jmp_buf env, int val) -{ - longjmp (env, val); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -void -pace_siglongjmp (pace_sigjmp_buf env, int val) -{ - PACE_UNUSED_ARG (env); - PACE_UNUSED_ARG (val); - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ diff --git a/PACE/pace/win32/signal.c b/PACE/pace/win32/signal.c deleted file mode 100644 index f0d1685971a..00000000000 --- a/PACE/pace/win32/signal.c +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/signal.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/signal.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/signal.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_SIG_UOF) -int -sigaction (int sig, const pace_sigaction_s * act, - pace_sigaction_s * oact) -{ - pace_sigaction_s sa; - - if (oact == 0) - { - oact = &sa; - } - - if (act == 0) - { - oact->sa_handler = signal (sig, SIG_IGN); - signal (sig, oact->sa_handler); - } - else - { - oact->sa_handler = signal (sig, act->sa_handler); - } - return (oact->sa_handler == SIG_ERR ? -1 : 0); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ diff --git a/PACE/pace/win32/signal.h b/PACE/pace/win32/signal.h deleted file mode 100644 index 8795f8726b6..00000000000 --- a/PACE/pace/win32/signal.h +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/signal.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - - -#ifndef PACE_SIGNAL_H_WIN32 -#define PACE_SIGNAL_H_WIN32 - -#include "pace/sys/types.h" -#include "pace/time.h" -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_SIGATOMIC_T -#define PACE_SIGATOMIC_T - typedef sig_atomic_t pace_sig_atomic_t; -#endif /* PACE_SIGATOMIC_T */ - -#ifndef PACE_SIGSET_T -#define PACE_SIGSET_T - enum { PACE_SIG_BITS = 4 }; - typedef struct /* sigset_t */ { - /* signal set type */ - unsigned int sigbits_[PACE_SIG_BITS]; - } pace_sigset_t; -#endif /* PACE_SIGSET_T */ - -#ifndef PACE_SIGACTION_S -#define PACE_SIGACTION_S - typedef void (__cdecl *pace_sig_pf)(int); - typedef struct /* sigaction */ { - int sa_flags; - pace_sig_pf sa_handler; - pace_sigset_t sa_mask; - } pace_sigaction_s; -#endif /* PACE_SIGACTION_S */ - -#ifndef PACE_SIGINFO_T -#define PACE_SIGINFO_T - typedef struct /* siginfo_t */ { - - PACE_HANDLE si_handle_; - // Win32 HANDLE that has become signaled. - - PACE_HANDLE *si_handles_; - // Array of Win32 HANDLEs all of which have become signaled. - } pace_siginfo_t; -# endif /* PACE_SIGINFO_T */ - -#ifndef PACE_SIGEVENT - typedef struct sigevent pace_sigevent; -#endif /* PACE_SIGEVENT */ - -#ifndef PACE_SIGVAL - typedef union sigval pace_sigval; -#endif /* PACE_SIGVAL */ - -#if (PACE_HAS_POSIX_SIG_UOF) - int sigaction (int sig, const pace_sigaction_s * act, - pace_sigaction_s * oact); -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SIGNAL_H_WIN32 */ diff --git a/PACE/pace/win32/signal.inl b/PACE/pace/win32/signal.inl deleted file mode 100644 index 437d609f926..00000000000 --- a/PACE/pace/win32/signal.inl +++ /dev/null @@ -1,193 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/signal.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_kill (pace_pid_t pid, int sig) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (sig); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_raise (int sig) -{ - PACE_UNUSED_ARG (sig); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigaction (int sig, const pace_sigaction_s * act, - pace_sigaction_s * oact) -{ - return sigaction (sig, act, oact); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigaddset (pace_sigset_t * set, int signo) -{ - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (signo); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigemptyset (pace_sigset_t * set) -{ - PACE_UNUSED_ARG (set); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigdelset (pace_sigset_t * set, int signo) -{ - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (signo); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigfillset (pace_sigset_t * set) -{ - /* PACE_SIG_BITS is an enum defined in PACE/pace/win32/signal.inl */ - int i = 0; - for ( ; i < PACE_SIG_BITS; ++i) - { - set->sigbits_[i] = ~(unsigned int)0; - } - return 0; -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigismember (const pace_sigset_t * set, int signo) -{ - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (signo); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void -(*pace_signal(int sig, void (*func)(int)))(int) -{ - return signal (sig, func); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigpending (pace_sigset_t * set) -{ - PACE_UNUSED_ARG (set); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigprocmask (int how, const pace_sigset_t * set, - pace_sigset_t * oset) -{ - PACE_UNUSED_ARG (how); - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (oset); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigqueue (pace_pid_t pid, int signo, - const pace_sigval value) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (signo); - PACE_UNUSED_ARG (value); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_sigsuspend (const pace_sigset_t * sigmask) -{ - PACE_UNUSED_ARG (sigmask); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigtimedwait (const pace_sigset_t * set, pace_siginfo_t * info, - const pace_timespec * timeout) -{ - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (info); - PACE_UNUSED_ARG (timeout); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigwait (const pace_sigset_t * set, int * sig) -{ - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (sig); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_sigwaitinfo (const pace_sigset_t * set, pace_siginfo_t * info) -{ - PACE_UNUSED_ARG (set); - PACE_UNUSED_ARG (info); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/socket.c b/PACE/pace/win32/socket.c deleted file mode 100644 index 682a843fe1b..00000000000 --- a/PACE/pace/win32/socket.c +++ /dev/null @@ -1,9 +0,0 @@ -/* - * $Id$ - */ - -#include "pace/sys/socket.h" - -/* - * Empty for win32. - */ diff --git a/PACE/pace/win32/socket.h b/PACE/pace/win32/socket.h deleted file mode 100644 index bfaaaab9953..00000000000 --- a/PACE/pace/win32/socket.h +++ /dev/null @@ -1,5 +0,0 @@ -/* - * $Id$ - * - * Empty for win32. - */ diff --git a/PACE/pace/win32/socket.inl b/PACE/pace/win32/socket.inl deleted file mode 100644 index 62d778da847..00000000000 --- a/PACE/pace/win32/socket.inl +++ /dev/null @@ -1,7 +0,0 @@ -/* - * $Id$ - */ - -/* - * Empty for win32. - */ diff --git a/PACE/pace/win32/stat.c b/PACE/pace/win32/stat.c deleted file mode 100644 index 1f2bb2fabe5..00000000000 --- a/PACE/pace/win32/stat.c +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stat.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/stat.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/stat.inl" -#endif /* ! PACE_HAS_INLINE */ - -#include -#include - -#if (PACE_HAS_POSIX_FS_UOF) -int -pace_win32_mkdir (const char * path, pace_mode_t mode) -{ - PACE_UNUSED_ARG (mode); -# if defined (__IBMCPP__) && (__IBMCPP__ >= 400) - PACE_OSCALL_RETURN (_mkdir ((char *) path), int, -1); -# elif defined (PACE_WINCE) - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (CreateDirectory (path, NULL), pace_result_), int, -1); -# else - PACE_OSCALL_RETURN (_mkdir (path), int, -1); -# endif /* PACE_WIN32 */ -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/win32/stat.h b/PACE/pace/win32/stat.h deleted file mode 100644 index e05363468ad..00000000000 --- a/PACE/pace/win32/stat.h +++ /dev/null @@ -1,65 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stat.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_STAT_H_WIN32 -#define PACE_SYS_STAT_H_WIN32 - -#include "pace/sys/types.h" -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_S_IRGRP S_IRGRP -#define PACE_S_IROTH S_IROTH -#define PACE_S_IRUSR S_IRUSR -#define PACE_S_IRWXG S_IRWXG -#define PACE_S_IRWXO S_IRWXO -#define PACE_S_IRWXU S_IRWXU -#define PACE_S_ISBLK S_ISBLK -#define PACE_S_ISCHR S_ISCHR -#define PACE_S_ISDIR S_ISDIR -#define PACE_S_ISFIFO S_ISFIFO -#define PACE_S_ISGID S_SIGID -#define PACE_S_ISREG S_ISREG -#define PACE_S_ISUID S_ISUID -#define PACE_S_IWGRP S_IWGRP -#define PACE_S_IWOTH S_IWOTH -#define PACE_S_IWUSR S_IWUSR -#define PACE_S_IXGRP S_IXGRP -#define PACE_S_IXOTH S_IXOTH -#define PACE_S_IXUSR S_IXUSR -#define PACE_S_TYPEISMQ S_TYPEISMQ -#define PACE_S_TYPEISSEM S_TYPEISSEM -#define PACE_S_TYPEISMQ S_TYPEISMQ -#define PACE_S_TYPEISSEM S_TYPEISSEM -#define PACE_S_TYPEISSHM S_TYPEISSHM - -#ifndef PACE_STAT -#define PACE_STAT - typedef struct stat pace_stat_s; -#endif /* PACE_STAT */ - -#if (PACE_HAS_POSIX_FS_UOF) - int pace_win32_mkdir (const char * path, pace_mode_t mode); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_STAT_H_WIN32 */ diff --git a/PACE/pace/win32/stat.inl b/PACE/pace/win32/stat.inl deleted file mode 100644 index 4ebc17eed86..00000000000 --- a/PACE/pace/win32/stat.inl +++ /dev/null @@ -1,99 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stat.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -int -pace_chmod (const char * path, pace_mode_t mode) -{ - PACE_UNUSED_ARG (path); - PACE_UNUSED_ARG (mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fchmod (PACE_HANDLE fildes, pace_mode_t mode) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf) -{ - /* There are two impl in ACE. This is the simpler. But requires - * you to close the temporary file desc. */ - int retval = -1; - int fd = _open_osfhandle ((long) fildes, 0); - if (fd != -1) - { - retval = _fstat (fd, (struct _stat *) buf); - } - - _close (fd); - - /* Remember to close the file handle. */ - return retval; -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_mkdir (const char * path, pace_mode_t mode) -{ - return pace_win32_mkdir (path, mode); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_F_UOF) -PACE_INLINE -int -pace_mkfifo (const char * path, pace_mode_t mode) -{ - PACE_UNUSED_ARG (path); - PACE_UNUSED_ARG (mode); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_F_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_stat (const char * path, pace_stat_s * buf) -{ - return _stat (path, (struct _stat *)buf); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -pace_mode_t -pace_umask (pace_mode_t cmask) -{ -#if defined (__BORLANDC__) - return umask (cmask); -#else /* __BORLANDC__ */ - return _umask (cmask); -#endif /* __BORLANDC__ */ -} -#endif /* PACE_HAS_POSIX_FA_UOF */ diff --git a/PACE/pace/win32/stdio.c b/PACE/pace/win32/stdio.c deleted file mode 100644 index 3aae70d32ca..00000000000 --- a/PACE/pace/win32/stdio.c +++ /dev/null @@ -1,51 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stdio.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/stdio.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/stdio.inl" -#endif /* ! PACE_HAS_INLINE */ - - -#if (PACE_HAS_POSIX_FM_UOF) -int -pace_win32_fseek (FILE * stream, long offset, int whence) -{ -# if SEEK_SET != FILE_BEGIN \ - || SEEK_CUR != FILE_CURRENT \ - || SEEK_END != FILE_END - //#error Windows NT is evil AND rude! - switch (whence) - { - case SEEK_SET: - whence = FILE_BEGIN; - break; - case SEEK_CUR: - whence = FILE_CURRENT; - break; - case SEEK_END: - whence = FILE_END; - break; - default: - errno = EINVAL; - return -1; // rather safe than sorry - } -# endif /* SEEK_SET != FILE_BEGIN - || SEEK_CUR != FILE_CURRENT - || SEEK_END != FILE_END */ - PACE_OSCALL_RETURN (fseek (stream, offset, whence), int, -1); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ diff --git a/PACE/pace/win32/stdio.h b/PACE/pace/win32/stdio.h deleted file mode 100644 index f765305c77c..00000000000 --- a/PACE/pace/win32/stdio.h +++ /dev/null @@ -1,90 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stdio.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDIO_H_WIN32 -#define PACE_STDIO_H_WIN32 - -#include -#include - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - typedef FILE PACE_FILE; - typedef fpos_t pace_fpos_t; - -# ifndef PACE_BUSIZ -# define PACE_BUFSIZ BUFSIZ -# endif /* PACE_BUFSIZ */ - -# ifndef PACE_EOF -# define PACE_EOF EOF -# endif /* PACE_EOF */ - -# ifndef PACE_FILENAME_MAX -# define PACE_FILENAME_MAX FILENAME_MAX -# endif /* PACE_FILENAME_MAX */ - -# ifndef PACE_L_ctermid -# define PACE_L_ctermid L_ctermid -# endif /* PACE_L_ctermid */ - -# ifndef PACE_L_cuserid -# define PACE_L_cuserid L_cuserid -# endif /* PACE_L_cuserid */ - -# ifndef PACE_NULL -# define PACE_NULL NULL -# endif /* PACE_NULL */ - -# ifndef PACE_SEEK_CUR -# define PACE_SEEK_CUR SEEK_CUR -# endif /* PACE_SEEK_CUR */ - -# ifndef PACE_SEEK_END -# define PACE_SEEK_END SEEK_END -# endif /* PACE_SEEK_END */ - -# ifndef PACE_SEEK_SET -# define PACE_SEEK_SET SEEK_SET -# endif /* PACE_SEEK_SET */ - -# ifndef PACE_TMP_MAX -# define PACE_TMP_MAX TMP_MAX -# endif /* PACE_TMP_MAX */ - -# ifndef pace_stderr -# define pace_stderr stderr -# endif /* pace_stderr */ - -# ifndef pace_stdout -# define pace_stdout stdout -# endif /* pace_stdout */ - -# ifndef pace_stdin -# define pace_stdin stdin -# endif - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T 1 - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDIO_H_WIN32 */ diff --git a/PACE/pace/win32/stdio.inl b/PACE/pace/win32/stdio.inl deleted file mode 100644 index 180140149b9..00000000000 --- a/PACE/pace/win32/stdio.inl +++ /dev/null @@ -1,464 +0,0 @@ -/* $Id$ -*- C -*- - - * =========================================================================== - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stdio.inl - * - * = AUTHOR - * Luther Baker - * - * =========================================================================== */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_clearerr (FILE * stream) -{ - clearerr (stream); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fclose (FILE * stream) -{ - return fclose (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -char * -pace_ctermid (char * s) -{ - char * retval = (char*)0; - PACE_UNUSED_ARG (s); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_fdopen (int fildes, - const char * type) -{ -#if defined (__BORLANDC__) - return fdopen (fildes, (char *)type); -#else /* __BORLANDC__ */ - return fdopen (fildes, type); -#endif /* __BORLANDC__ */ -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_ferror (FILE * stream) -{ - return ferror (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_feof (FILE * stream) -{ - return feof (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fflush (FILE * stream) -{ - return fflush (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fileno (FILE * stream) -{ - return fileno (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fgetc (FILE * stream) -{ - return fgetc (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fgetpos(PACE_FILE * stream, - pace_fpos_t * pos) -{ - return fgetpos (stream, pos); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -char * -pace_fgets (char * s, - int n, - FILE * stream) -{ - return fgets (s, n, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -void -pace_flockfile (FILE * file) -{ - PACE_UNUSED_ARG (file); - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_fopen (const char * filename, - const char * mode) -{ - return fopen (filename, mode); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fputc (int c, FILE * stream) -{ - return fputc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_fputs (const char * s, FILE * stream) -{ - return fputs (s, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -size_t -pace_fread (void * ptr, - size_t size, - size_t number_of_items, - FILE * stream) -{ - return fread (ptr, - size, - number_of_items, - stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -FILE * -pace_freopen (const char * filename, - const char * mode, - FILE * stream) -{ - return freopen (filename, mode, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -int -pace_fseek (FILE * stream, - long offset, - int whence) -{ - return fseek (stream, offset, whence); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fsetpos(PACE_FILE * stream, const pace_fpos_t * pos) -{ - return fsetpos (stream, pos); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -long -pace_ftell (FILE * stream) -{ - return ftell (stream); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_ftrylockfile (FILE * file) -{ - PACE_UNUSED_ARG (file); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -void -pace_funlockfile (FILE * file) -{ - PACE_UNUSED_ARG(file); - PACE_ERRNO_NO_SUPPORT (); - return; -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -pace_size_t -pace_fwrite(const void * ptr, - pace_size_t size, pace_size_t nmemb, - PACE_FILE * stream) -{ - return fwrite (ptr, size, nmemb, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_getc (FILE * stream) -{ - return getc (stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_getc_unlocked (FILE * stream) -{ - PACE_UNUSED_ARG (stream); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_getchar () -{ - return getchar (); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_getchar_unlocked () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -char * -pace_gets (char * s) -{ - return gets (s); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_perror (const char * s) -{ - perror (s); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_putc (int c, FILE * stream) -{ - return putc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_putc_unlocked (int c, - FILE * stream) -{ - PACE_UNUSED_ARG (c); - PACE_UNUSED_ARG (stream); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_putchar (int c) -{ - return putchar (c); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FL_UOF) -PACE_INLINE -int -pace_putchar_unlocked (int c) -{ - PACE_UNUSED_ARG(c); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FL_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_puts (const char * s) -{ - return puts (s); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_remove (const char * path) -{ - return remove (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_rename (const char * old_name, - const char * new_name) -{ - return rename (old_name, new_name); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -void -pace_rewind (FILE * stream) -{ - rewind (stream); - return; -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -void -pace_setbuf (FILE * stream, char * buf) -{ - setbuf (stream, buf); - return; -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_setvbuf(PACE_FILE * stream, - char * buf, - int mode, pace_size_t size) -{ - return setvbuf (stream, buf, mode, size); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -FILE * -pace_tmpfile () -{ - return tmpfile (); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -char * -pace_tmpnam (char * s) -{ - return tmpnam (s); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_ungetc (int c, FILE * stream) -{ - return ungetc (c, stream); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vfprintf (PACE_FILE * stream, - const char * format, - va_list arg) -{ - return vfprintf (stream, format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vprintf (const char * format, - va_list arg) -{ - return vprintf (format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_vsprintf (char * s, - const char * format, - va_list arg) -{ - return vsprintf (s, format, arg); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ diff --git a/PACE/pace/win32/stdlib.c b/PACE/pace/win32/stdlib.c deleted file mode 100644 index 2d6f593e75d..00000000000 --- a/PACE/pace/win32/stdlib.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stdlib.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/stdlib.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/stdlib.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/stdlib.h b/PACE/pace/win32/stdlib.h deleted file mode 100644 index 01a93eded34..00000000000 --- a/PACE/pace/win32/stdlib.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stdlib.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STDLIB_H_WIN32 -#define PACE_STDLIB_H_WIN32 - -#include -#include "pace/unistd.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - - typedef div_t pace_div_t; - typedef ldiv_t pace_ldiv_t; - -# ifndef PACE_EXIT_FAILURE -# define PACE_EXIT_FAILURE EXIT_FAILURE -# endif /* PACE_EXIT_FAILURE */ - -# ifndef PACE_EXIT_SUCCESS -# define PACE_EXIT_SUCCESS EXIT_SUCCESS -# endif /* PACE_EXIT_SUCCESS */ - -# ifndef PACE_MB_CUR_MAX -# define PACE_MB_CUR_MAX MB_CUR_MAX -# endif /* PACE_MB_CUR_MAX */ - -# ifndef PACE_NULL -# define PACE_NULL NULL -# endif /* PACE_NULL */ - -# ifndef PACE_RAND_MAX -# define PACE_RAND_MAX RAND_MAX -# endif /* PACE_RAND_MAX */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T 1 - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_WCHAR_T -#define PACE_WCHAR_T 1 - typedef wchar_t pace_wchar_t; -#endif /* PACE_WCHAR_T */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STDLIB_H_WIN32 */ diff --git a/PACE/pace/win32/stdlib.inl b/PACE/pace/win32/stdlib.inl deleted file mode 100644 index 3597e1954dc..00000000000 --- a/PACE/pace/win32/stdlib.inl +++ /dev/null @@ -1,303 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stdlib.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -void -pace_abort (void) -{ - abort (); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_abs (int val) -{ - return abs (val); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_atexit (void (*func)(void)) -{ - return atexit (func); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -double -pace_atof (const char * str) -{ - return atof (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_atoi (const char * str) -{ - return atoi (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -long -pace_atol (const char * str) -{ - return atol (str); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_bsearch (const void *key, const void *base, - size_t nel, size_t size, - int (*compar)(const void *,const void *)) -{ - return bsearch (key, base, nel, size, compar); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_div_t -pace_div (int numer, int denom) -{ - return div (numer, denom); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -void -pace_exit (int status) -{ - exit (status); - return; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -char * -pace_getenv (const char * name) -{ - return getenv (name); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -long int -pace_labs (long int j) -{ - return labs (j); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_ldiv_t -pace_ldiv (long int numer, long int denom) -{ - return ldiv (numer, denom); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mblen (const char* s, pace_size_t n) -{ - return mblen (s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_size_t -pace_mbstowcs (pace_wchar_t* pwcs, - const char* s, - pace_size_t n) -{ - return mbstowcs (pwcs, s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_mbtowc (pace_wchar_t* pwc, - const char* s, - pace_size_t n) -{ - return mbtowc (pwc, s, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_qsort (void * base, size_t nel, size_t width, - int (*compar)(const void *, const void *)) -{ - qsort (base, nel, width, compar); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_rand () -{ - return rand (); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_srand (unsigned int seed) -{ - srand (seed); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -int -pace_rand_r (unsigned int *seed) -{ - PACE_UNUSED_ARG (seed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -double -pace_strtod (const char* nptr, - char** endptr) -{ - return strtod (nptr, endptr); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_strtol (const char* nptr, - char** endptr, - int base) -{ - return strtol (nptr, endptr, base); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -unsigned long int -pace_strtoul (const char* nptr, - char** endptr, - int base) -{ - return strtoul (nptr, endptr, base); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_system (const char* string) -{ - PACE_UNUSED_ARG (string); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} - -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_size_t -pace_wcstombs (char* s, - const pace_wchar_t* pwcs, - pace_size_t n) -{ - return wcstombs (s, pwcs, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_wctomb (char* s, pace_wchar_t wchar) -{ - return wctomb (s, wchar); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -/* Memory Management. */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_malloc (size_t size) -{ - return malloc (size); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_calloc (size_t nelem, size_t elsize) -{ - return calloc (nelem, elsize); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_free (void * ptr) -{ - free (ptr); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void * -pace_realloc (void * ptr, size_t size) -{ - return realloc (ptr, size); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - - - - diff --git a/PACE/pace/win32/string.c b/PACE/pace/win32/string.c deleted file mode 100644 index f7f79cc7fab..00000000000 --- a/PACE/pace/win32/string.c +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/string.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/string.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/string.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -char * -strtok_r (char * s, const char * sep, char ** lasts) -{ - int l_org; - int l_sub; - - if (s == 0) - s = *lasts; - else - *lasts = s; - if (*s == 0) // We have reached the end - return 0; - l_org = pace_strlen (s); - l_sub = pace_strlen (s = pace_strtok (s, sep)); - *lasts = s + l_sub; - if (l_sub != l_org) - *lasts += 1; - return s ; -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ diff --git a/PACE/pace/win32/string.h b/PACE/pace/win32/string.h deleted file mode 100644 index fdc5be5ab96..00000000000 --- a/PACE/pace/win32/string.h +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/string.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_STRING_H_WIN32 -#define PACE_STRING_H_WIN32 - -#include "pace/unistd.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#if !defined (PACE_NULL) -# define PACE_NULL NULL -#endif /* NULL */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -char * strtok_r (char * s, const char * sep, char ** lasts); -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_STRING_H_WIN32 */ diff --git a/PACE/pace/win32/string.inl b/PACE/pace/win32/string.inl deleted file mode 100644 index be669a7048c..00000000000 --- a/PACE/pace/win32/string.inl +++ /dev/null @@ -1,198 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/string.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memchr (const void *s, int c, pace_size_t n) -{ - return memchr (s, c, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_memcmp (const void *s1, const void *s2, pace_size_t n) -{ - return memcmp (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memcpy (void * s1, const void * s2, pace_size_t n) -{ - return memcpy (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memmove (void *s1, const void *s2, pace_size_t n) -{ - return memmove (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -void * -pace_memset (void *s, int c, pace_size_t n) -{ - return memset (s, c, n); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strcat (char * s1, const char * s2) -{ - return strcat (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strncat (char * s1, const char * s2, size_t n) -{ - return strncat (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strchr (const char * s, int c) -{ - return strchr (s, c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strrchr (const char * s, int c) -{ - return strrchr (s, c); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_strcmp (const char * s1, const char * s2) -{ - return strcmp (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -int -pace_strncmp (const char * s1, const char * s2, size_t n) -{ - return strncmp (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strcpy (char * s1, const char * s2) -{ - return strcpy (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strncpy (char * s1, const char * s2, size_t n) -{ - return strncpy (s1, s2, n); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strcspn (const char * s1, const char * s2) -{ - return strcspn (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strspn (const char * s1, const char * s2) -{ - return strspn (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strlen (const char * s) -{ - return strlen (s); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strpbrk (const char * s1, const char * s2) -{ - return strpbrk (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strstr (const char * s1, const char * s2) -{ - return strstr (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_strtok (char * s1, const char * s2) -{ - return strtok (s1, s2); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_strtok_r (char * s, const char * sep, char ** lasts) -{ - return strtok_r (s, sep, lasts); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - - diff --git a/PACE/pace/win32/termios.c b/PACE/pace/win32/termios.c deleted file mode 100644 index d5d32ced9a6..00000000000 --- a/PACE/pace/win32/termios.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/termios.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/termios.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/termios.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/termios.h b/PACE/pace/win32/termios.h deleted file mode 100644 index 8d491f5f460..00000000000 --- a/PACE/pace/win32/termios.h +++ /dev/null @@ -1,56 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/termios.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TERMIOS_H_WIN32 -#define PACE_SYS_TERMIOS_H_WIN32 - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS) */ - -#ifndef PACE_CC_T -#define PACE_CC_T - /* Temporary until we correctly emulate these funcs on WIN32. */ - typedef int cc_t; - typedef cc_t pace_cc_t; -#endif /* PACE_CC_T */ - -#ifndef PACE_SPEED_T -#define PACE_SPEED_T - /* Temporary until we correctly emulate these funcs on WIN32. */ - typedef int speed_t; - typedef speed_t pace_speed_t; -#endif /* PACE_SPEED_T */ - -#ifndef PACE_TCFLAG_T -#define PACE_TCFLAG_T - /* Temporary until we correctly emulate these funcs on WIN32. */ - typedef int tcflag_t; - typedef tcflag_t pace_tcflag_t; -#endif /* PACE_TCFLAG_T */ - -#ifndef PACE_TERMIOS -#define PACE_TERMIOS - /* Temporary until we correctly emulate these funcs on WIN32. */ - typedef struct termios { int a_; } pace_termios; -#endif /* PACE_TERMIOS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TERMIOS_H_WIN32 */ diff --git a/PACE/pace/win32/termios.inl b/PACE/pace/win32/termios.inl deleted file mode 100644 index 4b9905bff62..00000000000 --- a/PACE/pace/win32/termios.inl +++ /dev/null @@ -1,124 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/termios.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -speed_t -pace_cfgetospeed (const pace_termios * termiosp) -{ - PACE_UNUSED_ARG (termiosp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_cfsetospeed (pace_termios * termios_p, pace_speed_t speed) -{ - PACE_UNUSED_ARG (termios_p); - PACE_UNUSED_ARG (speed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -speed_t -pace_cfgetispeed (const pace_termios * termios_p) -{ - PACE_UNUSED_ARG (termios_p); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_cfsetispeed (pace_termios * termios_p, pace_speed_t speed) -{ - PACE_UNUSED_ARG (termios_p); - PACE_UNUSED_ARG (speed); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcdrain (PACE_HANDLE fildes) -{ - PACE_UNUSED_ARG (fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcgetattr (PACE_HANDLE fildes, pace_termios * termios_p) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (termios_p); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcflow (PACE_HANDLE fildes, int action) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (action); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcflush (PACE_HANDLE fildes, int queue_selector) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (queue_selector); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcsendbreak (PACE_HANDLE fildes, int duration) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (duration); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_tcsetattr (PACE_HANDLE fildes, - int optional_actions, - const pace_termios * termios_p) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (optional_actions); - PACE_UNUSED_ARG (termios_p); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ diff --git a/PACE/pace/win32/time.c b/PACE/pace/win32/time.c deleted file mode 100644 index f5ed95f59fa..00000000000 --- a/PACE/pace/win32/time.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/time.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/time.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/time.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/time.h b/PACE/pace/win32/time.h deleted file mode 100644 index aeaf12e0771..00000000000 --- a/PACE/pace/win32/time.h +++ /dev/null @@ -1,107 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/time.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_TIME_H_WIN32 -#define PACE_TIME_H_WIN32 - -#include -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# ifndef PACE_CLK_TCK -# define PACE_CLK_TCK CLK_TCK -# endif /* PACE_CLK_TCK */ - -# ifndef PACE_CLOCKS_PER_SEC -# define PACE_CLOCKS_PER_SEC CLOCKS_PER_SEC -# endif /* PACE_CLOCKS_PER_SEC */ - -# ifndef PACE_CLOCK_REALTIME -# define PACE_CLOCK_REALTIME CLOCK_REALTIME -# endif /* PACE_CLOCK_REALTIME */ - -# ifndef PACE_NULL -# define PACE_NULL NULL -# endif /* PACE_NULL */ - -# ifndef PACE_TIMER_ABSTIME -# define PACE_TIMER_ABSTIME TIMER_ABSTIME -# endif /* PACE_TIMER_ABSTIME */ - -#ifndef PACE_CLOCKID_T -#define PACE_CLOCKID_T 1 - typedef int clockid_t; - typedef clockid_t pace_clockid_t; -#endif /* PACE_CLOCKID_T */ - -#ifndef PACE_CLOCK_T -#define PACE_CLOCK_T 1 - typedef clock_t pace_clock_t; -#endif /* PACE_CLOCK_T */ - -#ifndef PACE_TIMER_T -#define PACE_TIMER_T 1 - typedef long timer_t; - typedef timer_t pace_timer_t; -#endif /* PACE_TIMER_T */ - -#ifndef PACE_TIME_T -#define PACE_TIME_T 1 - typedef time_t pace_time_t; -#endif /* PACE_TIME_T */ - -#ifndef PACE_TM -#define PACE_TM 1 - typedef struct tm pace_tm; -#endif /* PACE_TM */ - -#ifndef PACE_TIMESPEC -#define PACE_TIMESPEC 1 - typedef struct timespec pace_timespec; -#endif /* PACE_TIMESPEC */ - -#ifndef PACE_ITIMERSPEC -#define PACE_ITIMERSPEC 1 - typedef struct itimerspec pace_itimerspec; -#endif /* PACE_ITIMERSPEC */ - -#ifndef PACE_SIGVAL -#define PACE_SIGVAL 1 - typedef union sigval { - int sival_int; /* integer value */ - void * sival_ptr; /* pointer value */ -} pace_sigval; -#endif /* PACE_SIGVAL */ - -#ifndef PACE_SIGEVENT -#define PACE_SIGEVENT 1 - typedef struct sigevent { - int sigev_notify; /* notification mode */ - int sigev_signo; /* signal number */ - union sigval sigev_value; /* signal value */ - void (*sigev_notify_function)(union sigval); - pace_pthread_attr_t * sigev_notify_attributes; - int __sigev_pad2; - } pace_sigevent; -#endif /* PACE_SIGEVENT */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_TIME_H_WIN32 */ diff --git a/PACE/pace/win32/time.inl b/PACE/pace/win32/time.inl deleted file mode 100644 index 7550ef274ad..00000000000 --- a/PACE/pace/win32/time.inl +++ /dev/null @@ -1,265 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/time.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_asctime (const struct tm * time) -{ - return asctime (time); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_asctime_r (const struct tm * time, char * buf) -{ - char * retval = (char*)0; - PACE_UNUSED_ARG (time); - PACE_UNUSED_ARG (buf); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -pace_clock_t -pace_clock (void) -{ - return clock (); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -double -pace_difftime (pace_time_t time1, pace_time_t time2) -{ - return difftime (time1, time2); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_getres (clockid_t clock_id, - struct timespec * res) -{ - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (res); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_gettime (clockid_t clock_id, - struct timespec * tp) -{ - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (tp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_clock_settime (clockid_t clock_id, - const struct timespec * tp) -{ - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (tp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -char * -pace_ctime (const time_t * clock) -{ - return ctime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -char * -pace_ctime_r (const time_t * clock, char * buf) -{ - char * retval = (char*)0; - PACE_UNUSED_ARG (clock); - PACE_UNUSED_ARG (buf); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -struct tm * -pace_gmtime (const time_t * clock) -{ - return gmtime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -struct tm * -pace_gmtime_r (const time_t * clock, struct tm * result) -{ - struct tm * retval = (struct tm*)0; - PACE_UNUSED_ARG (clock); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -struct tm * -pace_localtime (const time_t * clock) -{ - return localtime (clock); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLSR_UOF) -PACE_INLINE -struct tm * -pace_localtime_r (const time_t * clock, struct tm * result) -{ - struct tm * retval = (struct tm*)0; - PACE_UNUSED_ARG (clock); - PACE_UNUSED_ARG (result); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_CLSR_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -time_t -pace_mktime (struct tm * timeptr) -{ - return mktime (timeptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_nanosleep (const struct timespec * rqtp, - struct timespec * rmtp) -{ - PACE_UNUSED_ARG (rqtp); - PACE_UNUSED_ARG (rmtp); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -size_t -pace_strftime (char * s, size_t maxsize, - const char * format, - const struct tm * timeptr) -{ - return strftime (s, maxsize, format, timeptr); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -time_t -pace_time (time_t * tloc) -{ - return time (tloc); -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_create (clockid_t clock_id, - struct sigevent * evp, - pace_timer_t * timerid) -{ - PACE_UNUSED_ARG (clock_id); - PACE_UNUSED_ARG (evp); - PACE_UNUSED_ARG (timerid); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_delete (pace_timer_t timerid) -{ - PACE_UNUSED_ARG (timerid); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_getoverrun (pace_timer_t timerid) -{ - PACE_UNUSED_ARG (timerid); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_gettime (pace_timer_t timerid, - pace_itimerspec * value) -{ - PACE_UNUSED_ARG (timerid); - PACE_UNUSED_ARG (value); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_timer_settime (pace_timer_t timerid, - int flags, - const pace_itimerspec * value, - pace_itimerspec * ovalue) -{ - PACE_UNUSED_ARG (timerid); - PACE_UNUSED_ARG (flags); - PACE_UNUSED_ARG (value); - PACE_UNUSED_ARG (ovalue); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_CLS_UOF) -PACE_INLINE -void -pace_tzset () -{ - _tzset (); - return; -} -#endif /* PACE_HAS_POSIX_CLS_UOF */ diff --git a/PACE/pace/win32/times.c b/PACE/pace/win32/times.c deleted file mode 100644 index d699c0edd36..00000000000 --- a/PACE/pace/win32/times.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/times.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/times.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/times.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/times.h b/PACE/pace/win32/times.h deleted file mode 100644 index 26a500cbf76..00000000000 --- a/PACE/pace/win32/times.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/times.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TIMES_H_WIN32 -#define PACE_SYS_TIMES_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_CLOCK_T -#define PACE_CLOCK_T - /* Temporary until we emulate this correctly. */ - typedef int clock_t; - typedef clock_t pace_clock_t; -#endif /* PACE_CLOCK_T */ - -#ifndef PACE_TMS -#define PACE_TMS - /* Temporary until we emulate this correctly. */ - typedef struct tms { int a_; } pace_tms; -#endif /* PACE_TMS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TIMES_H_WIN32 */ diff --git a/PACE/pace/win32/times.inl b/PACE/pace/win32/times.inl deleted file mode 100644 index 1f4765882dc..00000000000 --- a/PACE/pace/win32/times.inl +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/times.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_clock_t -pace_times (struct tms * buffer) -{ - PACE_UNUSED_ARG (buffer); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/pace/win32/types.h b/PACE/pace/win32/types.h deleted file mode 100644 index cd6a7b10cd8..00000000000 --- a/PACE/pace/win32/types.h +++ /dev/null @@ -1,100 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/types.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_TYPES_H_WIN32 -#define PACE_SYS_TYPES_H_WIN32 - -#include -#if defined (__BORLANDC__) -# include -#else /* __BORLANDC__ */ -# include -# include -#endif /* __BORLANDC__ */ - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_TCHAR -#define PACE_TCHAR 1 - typedef char pace_tchar; -#endif /* PACE_TCHAR */ - -#ifndef PACE_HANDLE -#define PACE_HANDLE HANDLE -#endif /* PACE_HANDLE */ - -#ifndef PACE_INVALID_HANDLE -#define PACE_INVALID_HANDLE (HANDLE)-1 -#endif /* PACE_INVALID_HANDLE */ - -#ifndef PACE_DEV_T -#define PACE_DEV_T 1 - typedef dev_t pace_dev_t; -#endif /* PACE_DEV_T */ - -#ifndef PACE_GID_T -#define PACE_GID_T 1 - typedef int pace_gid_t; -#endif /* PACE_GID_T */ - -#ifndef PACE_INO_T -#define PACE_INO_T 1 - typedef ino_t pace_ino_t; -#endif /* PACE_INO_T */ - -#ifndef PACE_MODE_T -#define PACE_MODE_T 1 - typedef int pace_mode_t; -#endif /* PACE_MODE_T */ - -#ifndef PACE_NLINK_T -#define PACE_NLINK_T 1 - typedef DWORD pace_nlink_t; -#endif /* PACE_NLINK_T */ - -#ifndef PACE_OFF_T -#define PACE_OFF_T 1 - typedef off_t pace_off_t; -#endif /* PACE_OFF_T */ - -#ifndef PACE_PID_T -#define PACE_PID_T 1 - typedef long pace_pid_t; -#endif /* PACE_PID_T */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T 1 - typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_SSIZE_T -#define PACE_SSIZE_T 1 - typedef long pace_ssize_t; -#endif /* PACE_SSIZE_T */ - -#ifndef PACE_UID_T -#define PACE_UID_T 1 - typedef int pace_uid_t; -#endif /* PACE_UID_T */ - -#include "pace/win32/pthreadtypes.h" - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_TYPES_H_WIN32 */ diff --git a/PACE/pace/win32/unistd.c b/PACE/pace/win32/unistd.c deleted file mode 100644 index 1eda995d323..00000000000 --- a/PACE/pace/win32/unistd.c +++ /dev/null @@ -1,146 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/unistd.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/unistd.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/unistd.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_DI_UOF) -int -pace_win32_close (PACE_HANDLE fildes) -{ - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (CloseHandle (fildes), pace_result_), int, -1); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_HANDLE -pace_win32_dup (PACE_HANDLE fildes) -{ - PACE_HANDLE new_fd; - if (DuplicateHandle(GetCurrentProcess (), - fildes, - GetCurrentProcess(), - &new_fd, - 0, - TRUE, - DUPLICATE_SAME_ACCESS)) - { - return new_fd; - } - else - { - PACE_FAIL_RETURN (PACE_INVALID_HANDLE); - } -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -int -pace_win32_ftruncate (PACE_HANDLE fildes, pace_off_t length) -{ - if (SetFilePointer (fildes, length, NULL, FILE_BEGIN) != (unsigned) -1) - { - PACE_WIN32CALL_RETURN - (PACE_ADAPT_RETVAL - (SetEndOfFile (fildes), pace_result_), int, -1); - } - else - { - PACE_FAIL_RETURN (-1); - } -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FM_UOF) -pace_off_t -pace_win32_lseek (PACE_HANDLE fildes, pace_off_t offset, int whence) -{ -# if SEEK_SET != FILE_BEGIN \ - || SEEK_CUR != FILE_CURRENT \ - || SEEK_END != FILE_END - - /* #error Windows NT is evil AND rude! */ - switch (whence) { - - case SEEK_SET: { - whence = FILE_BEGIN; - break; - } - case SEEK_CUR: { - whence = FILE_CURRENT; - break; - } - case SEEK_END: { - whence = FILE_END; - break; - } - default: { - errno = EINVAL; - return (off_t)-1; // rather safe than sorry - } - } - PACE_OSCALL_RETURN (lseek (handle, offset, whence), off_t, -1); -# endif /* SEEK_SET != FILE_BEGIN || SEEK_CUR != FILE_CURRENT || SEEK_END != FILE_END */ - DWORD result = SetFilePointer (fildes, offset, NULL, whence); - if (result == PACE_SYSCALL_FAILED) - { - off_t retval = -1; - PACE_FAIL_RETURN (retval); - } - else - { - return result; - } -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -pace_ssize_t -pace_win32_write (PACE_HANDLE fildes, const void * buf, size_t nbyte) -{ - DWORD bytes_written; /* This is set to 0 byte WriteFile. */ - - if (WriteFile (fildes, buf, nbyte, &bytes_written, 0)) - { - return (pace_ssize_t) bytes_written; - } - else - { - PACE_FAIL_RETURN (-1); - } -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -pace_ssize_t -pace_win32_read (PACE_HANDLE fildes, void * buf, size_t nbyte) -{ - DWORD ok_len; - - if (ReadFile (fildes, buf, nbyte, &ok_len, 0)) - { - return (pace_ssize_t) ok_len; - } - else - { - PACE_FAIL_RETURN (-1); - } -} -#endif /* PACE_HAS_POSIX_DI_UOF */ diff --git a/PACE/pace/win32/unistd.h b/PACE/pace/win32/unistd.h deleted file mode 100644 index 1292cea5bd9..00000000000 --- a/PACE/pace/win32/unistd.h +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/unistd.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_UNISTD_H_WIN32 -#define PACE_UNISTD_H_WIN32 - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# ifndef PACE_F_OK -# define PACE_F_OK F_OK -# endif /* PACE_F_OK */ - -# ifndef PACE_NULL -# define PACE_NULL NULL -# endif /* PACE_NULL */ - -# ifndef PACE_R_OK -# define PACE_R_OK R_OK -# endif /* PACE_R_OK */ - -# ifndef PACE_SEEK_CUR -# define PACE_SEEK_CUR SEEK_CUR -# endif /* PACE_SEEK_CUR */ - -# ifndef PACE_SEEK_END -# define PACE_SEEK_END SEEK_END -# endif /* PACE_SEEK_END */ - -# ifndef PACE_SEEK_SET -# define PACE_SEEK_SET SEEK_SET -# endif /* PACE_SEEK_SET */ - -# ifndef PACE_STDERR_FILENO -# define PACE_STDERR_FILENO STDERR_FILENO -# endif /* PACE_STDERR_FILENO */ - -# ifndef PACE_STDIN_FILENO -# define PACE_STDIN_FILENO STDIN_FILENO -# endif /* PACE_STDIN_FILENO */ - -# ifndef PACE_STDOUT_FILENO -# define PACE_STDOUT_FILENO STDOUT_FILENO -# endif /* PACE_STDOUT_FILENO */ - -# ifndef PACE_W_OK -# define PACE_W_OK W_OK -# endif /* PACE_W_OK */ - -# ifndef PACE_X_OK -# define PACE_X_OK X_OK -# endif /* PACE_X_OK */ - -/* _POSIX _PC _SC Macros go here */ - -#ifndef PACE_SIZE_T -#define PACE_SIZE_T 1 -typedef size_t pace_size_t; -#endif /* PACE_SIZE_T */ - -#ifndef PACE_SSIZE_T -#define PACE_SSIZE_T 1 -typedef ssize_t pace_ssize_t; -#endif /* PACE_SSIZE_T */ - -#if (PACE_HAS_POSIX_DI_UOF) - int pace_win32_close (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) - PACE_HANDLE pace_win32_dup (PACE_HANDLE fildes); -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int pace_win32_ftruncate (PACE_HANDLE fildes, pace_off_t length); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FM_UOF) - pace_off_t pace_win32_lseek (PACE_HANDLE fildes, - pace_off_t offset, - int whence); -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) - pace_ssize_t pace_win32_write (PACE_HANDLE fildes, - const void * buf, - pace_size_t nbyte); -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) - pace_ssize_t pace_win32_read (PACE_HANDLE fildes, - void * buf, - pace_size_t nbyte); -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UNISTD_H_WIN32 */ - - - - diff --git a/PACE/pace/win32/unistd.inl b/PACE/pace/win32/unistd.inl deleted file mode 100644 index 83f3f2a9e14..00000000000 --- a/PACE/pace/win32/unistd.inl +++ /dev/null @@ -1,514 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/unistd.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include -#include -#include -#include -#include - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -void -pace__exit (int status) -{ - _exit (status); - return; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_access (const char * path, int amode) -{ - return _access (path, amode); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -unsigned int -pace_alarm (unsigned int seconds) -{ - PACE_UNUSED_ARG (seconds); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_chdir (const char * path) -{ -#if defined (__BORLANDC__) - return chdir (path); -#else /* __BORLANDC__ */ - return _chdir (path); -#endif /* __BORLANDC__ */ -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FA_UOF) -PACE_INLINE -int -pace_chown (const char * path, pace_uid_t owner, pace_gid_t group) -{ - PACE_UNUSED_ARG (path); - PACE_UNUSED_ARG (owner); - PACE_UNUSED_ARG (group); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FA_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -int -pace_close (PACE_HANDLE fildes) -{ - return pace_win32_close (fildes); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -PACE_HANDLE -pace_dup (PACE_HANDLE fildes) -{ - return pace_win32_dup (fildes); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -PACE_HANDLE -pace_dup2 (PACE_HANDLE fildes, PACE_HANDLE fildes2) -{ - PACE_HANDLE retval = (void*)0; - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (fildes2); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execv (const char * path, - char * const argv[]) -{ -#if defined (__BORLANDC__) || defined(__MINGW32__) - return execv (path, argv); -#else /* __BORLANDC__ || __MINGW32__ */ - return _execv (path, (const char * const *) argv); -#endif /* __BORLANDC__ || __MINGW32__ */ - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execve (const char * path, - char * const argv[], - char * const envp[]) -{ -#if defined (__BORLANDC__) || defined (__MINGW32__) - return execve (path, argv, envp); -#else /* __BORLANDC__ || __MINGW32__ */ - return _execve (path, (const char *const *) argv, - (const char *const *) envp); -#endif /* __BORLANDC__ || __MINGW32__ */ - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -int -pace_execvp (const char * file, - char * const argv[]) -{ -#if defined (__BORLANDC__) || defined (__MINGW32__) - return execvp (file, argv); -#else /* __BORLANDC__ || __MINGW32__ */ - return _execvp (file, (const char *const *) argv); -#endif /* __BORLANDC__ || __MINGW32__ */ - /* if successful, this operation does NOT return */ -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fdatasync (PACE_HANDLE fildes) -{ - PACE_UNUSED_ARG (fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_pid_t -pace_fork () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -long -pace_fpathconf (PACE_HANDLE fildes, int name) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_fsync (PACE_HANDLE fildes) -{ - PACE_UNUSED_ARG (fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_ftruncate (PACE_HANDLE fildes, pace_off_t length) -{ - return pace_win32_ftruncate (fildes, length); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -char * -pace_getcwd (char * buf, size_t size) -{ - return getcwd (buf, size); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pace_uid_t -pace_getegid () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pace_uid_t -pace_geteuid () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_getgroups (int gidsetsize, pace_gid_t grouplist[]) -{ - PACE_UNUSED_ARG (gidsetsize); - PACE_UNUSED_ARG (grouplist); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pace_uid_t -pace_getgid () -{ - pace_uid_t retval = -1; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -char * -pace_getlogin () -{ - char * retval = (char*)0; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UGR_UOF) -PACE_INLINE -int -pace_getlogin_r (char * name, size_t namesize) -{ - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (namesize); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UGR_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pace_pid_t -pace_getpgrp () -{ - pace_pid_t retval = -1; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_pid_t -pace_getpid () -{ - return GetCurrentProcessId (); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_pid_t -pace_getppid () -{ - pace_pid_t retval = -1; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pace_uid_t -pace_getuid () -{ - pace_uid_t retval = -1; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -int -pace_isatty (int fildes) -{ -#if defined (__BORLANDC__) || defined (__MINGW32__) - return isatty (fildes); -#else /* __BORLANDC__ || __MINGW32__ */ - return _isatty (fildes); -#endif /* __BORLANDC__ || __MINGW32__ */ -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_link (const char * existing, const char * new_link) -{ - PACE_UNUSED_ARG (existing); - PACE_UNUSED_ARG (new_link); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_FM_UOF) -PACE_INLINE -pace_off_t -pace_lseek (PACE_HANDLE fildes, pace_off_t offset, int whence) -{ - return pace_win32_lseek (fildes, offset, whence); -} -#endif /* PACE_HAS_POSIX_FM_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -long -pace_pathconf (const char * path, int name) -{ - PACE_UNUSED_ARG (path); - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_SIG_UOF) -PACE_INLINE -int -pace_pause () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SIG_UOF */ - -#if (PACE_HAS_POSIX_P_UOF) -PACE_INLINE -int -pace_pipe (PACE_HANDLE fildes[2]) -{ - PACE_UNUSED_ARG (fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_P_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -pace_ssize_t -pace_read (PACE_HANDLE fildes, void * buf, pace_size_t nbyte) -{ - return pace_win32_read (fildes, buf, nbyte); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_rmdir (const char * path) -{ - return rmdir (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_setgid (pace_gid_t gid) -{ - PACE_UNUSED_ARG (gid); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -int -pace_setpgid (pace_pid_t pid, pace_pid_t pgid) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (pgid); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -pace_pid_t -pace_setsid () -{ - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_UG_UOF) -PACE_INLINE -int -pace_setuid (pace_uid_t uid) -{ - PACE_UNUSED_ARG (uid); - PACE_ERRNO_NO_SUPPORT_RETURN (uid); -} -#endif /* PACE_HAS_POSIX_UG_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -unsigned int -pace_sleep (unsigned int seconds) -{ - Sleep (seconds * PACE_ONE_SECOND_IN_MSECS); - return 0; -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -long -pace_sysconf (int name) -{ - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -pace_pid_t -pace_tcgetpgrp (PACE_HANDLE fildes) -{ - pace_pid_t retval = -1; - PACE_UNUSED_ARG (fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_JC_UOF) -PACE_INLINE -int -pace_tcsetpgrp (PACE_HANDLE fildes, pace_pid_t pgrp_id) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (pgrp_id); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_JC_UOF */ - -#if (PACE_HAS_POSIX_DS_UOF) -PACE_INLINE -char * -pace_ttyname (PACE_HANDLE fildes) -{ - char * retval = (char*) 0; - PACE_UNUSED_ARG (fildes); - PACE_ERRNO_NO_SUPPORT_RETURN (retval); -} -#endif /* PACE_HAS_POSIX_DS_UOF */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) -PACE_INLINE -int -pace_ttyname_r (PACE_HANDLE fildes, - char * name, - size_t namesize) -{ - PACE_UNUSED_ARG (fildes); - PACE_UNUSED_ARG (name); - PACE_UNUSED_ARG (namesize); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_unlink (const char * path) -{ - return _unlink (path); -} -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if (PACE_HAS_POSIX_DI_UOF) -PACE_INLINE -pace_ssize_t -pace_write (PACE_HANDLE fildes, const void * buf, size_t nbyte) -{ - return pace_win32_write (fildes, buf, nbyte); -} -#endif /* PACE_HAS_POSIX_DI_UOF */ diff --git a/PACE/pace/win32/utime.c b/PACE/pace/win32/utime.c deleted file mode 100644 index cafec0eb6cb..00000000000 --- a/PACE/pace/win32/utime.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/utime.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/utime.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/utime.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_FS_UOF) -int -win32_utime (const char * path, const pace_utimbuf * times) -{ - PACE_UNUSED_ARG (path); - PACE_UNUSED_ARG (times); - - PACE_ERRNO_NO_SUPPORT_RETURN (-1); - -#if 0 - /* Not yet working */ - char * path2 = (char*) malloc (sizeof (path)); - pace_strcpy (path2, path); - - pace_utimbuf * times2 = (pace_utimbuf*) malloc (sizeof (pace_utimbuf); - memcpy (times2, times, sizeof times); - return _utime (path2, times2); -#endif -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/win32/utime.h b/PACE/pace/win32/utime.h deleted file mode 100644 index 5b90db1bd70..00000000000 --- a/PACE/pace/win32/utime.h +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/utime.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_UTIME_H_WIN32 -#define PACE_UTIME_H_WIN32 - -#include "pace/sys/types.h" -#if defined (__BORLANDC__) -#include -#else -#include -#endif /* __BORLANDC__ */ - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#ifndef PACE_UTIMBUF -#define PACE_UTIMBUF - typedef struct _utimbuf pace_utimbuf; -#endif /* PACE_UTIMBUF */ - -#if (PACE_HAS_POSIX_FS_UOF) - int win32_utime (const char * path, const pace_utimbuf * times); -#endif /* PACE_HAS_POSIX_FS_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_UTIME_H_WIN32 */ diff --git a/PACE/pace/win32/utime.inl b/PACE/pace/win32/utime.inl deleted file mode 100644 index 4a83d7713e0..00000000000 --- a/PACE/pace/win32/utime.inl +++ /dev/null @@ -1,33 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/utime.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/string.h" - -#if (PACE_HAS_POSIX_FS_UOF) -PACE_INLINE -int -pace_utime (const char * path, - const pace_utimbuf * times) -{ - /* Emulation not yet finished! Not yet working! */ - -#if defined (__BORLANDC__) - return utime (path, (const struct utimbuf*)times); -#else /* __BORLANDC__ */ - /* Not quite the perfect answer... win32 doesn't take const args. */ - return _utime ((char*)path, (struct _utimbuf*)times); -#endif /* __BORLANDC__ */ -} -#endif /* PACE_HAS_POSIX_FS_UOF */ diff --git a/PACE/pace/win32/utsname.c b/PACE/pace/win32/utsname.c deleted file mode 100644 index 9963f1ff624..00000000000 --- a/PACE/pace/win32/utsname.c +++ /dev/null @@ -1,181 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/utsname.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/utsname.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/utsname.inl" -#endif /* ! PACE_HAS_INLINE */ - -#if (PACE_HAS_POSIX_SP_UOF) -int -uname (pace_utsname * name) -{ - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); - -#if 0 /* Emulation: Not bug free! :-/ */ - - size_t maxnamelen = sizeof name->nodename; - pace_strcpy (name->sysname, "Win32"); - - OSVERSIONINFO vinfo; - vinfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); - ::GetVersionEx (&vinfo); - - SYSTEM_INFO sinfo; - GetSystemInfo(&sinfo); - pace_strcpy (name->sysname, "Win32"); - - if (vinfo.dwPlatformId == VER_PLATFORM_WIN32_NT) - { - /* Get information from the two structures */ - pace_sprintf (name->release, "Windows NT %d.%d", - vinfo.dwMajorVersion, - vinfo.dwMinorVersion); - pace_sprintf (name->version, - "Build %d %s", - vinfo.dwBuildNumber, - vinfo.szCSDVersion); - - /* We have to make sure that the size of (processor + subtype) is - not greater than the size of name->machine. So we give half - the space to the processor and half the space to subtype. The - -1 is necessary for because of the space between processor and - subtype in the machine name. - */ - const int bufsize = ((sizeof (name->machine) / sizeof (ACE_TCHAR)) / 2) - 1; - char processor[bufsize] = "Unknown"; - char subtype[bufsize] = "Unknown"; - - WORD arch = sinfo.wProcessorArchitecture; - - switch (arch) - { - - case PROCESSOR_ARCHITECTURE_INTEL: { - - pace_strcpy (processor, "Intel"); - if (sinfo.wProcessorLevel == 3) - { - pace_strcpy (subtype, "80386"); - } - else if (sinfo.wProcessorLevel == 4) - { - pace_strcpy (subtype, "80486"); - } - else if (sinfo.wProcessorLevel == 5) - { - pace_strcpy (subtype, "Pentium"); - } - else if (sinfo.wProcessorLevel == 6) - { - pace_strcpy (subtype, "Pentium Pro"); - } - else if (sinfo.wProcessorLevel == 7) /* guessing here */ - { - pace_strcpy (subtype, "Pentium II"); - } - break; - } - - case PROCESSOR_ARCHITECTURE_MIPS: { - pace_strcpy (processor, "MIPS"); - pace_strcpy (subtype, "R4000"); - break; - } - - case PROCESSOR_ARCHITECTURE_ALPHA: { - pace_strcpy (processor, "Alpha"); - pace_sprintf (subtype, "%d", sinfo.wProcessorLevel); - break; - } - - case PROCESSOR_ARCHITECTURE_PPC: { - pace_strcpy (processor, "PPC"); - if (sinfo.wProcessorLevel == 1) - { - pace_strcpy (subtype, "601"); - } - else if (sinfo.wProcessorLevel == 3) - { - pace_strcpy (subtype, "603"); - } - else if (sinfo.wProcessorLevel == 4) - { - pace_strcpy (subtype, "604"); - } - else if (sinfo.wProcessorLevel == 6) - { - pace_strcpy (subtype, "603+"); - } - else if (sinfo.wProcessorLevel == 9) - { - pace_strcpy (subtype, "804+"); - } - else if (sinfo.wProcessorLevel == 20) - { - pace_strcpy (subtype, "620"); - } - break; - } - - case PROCESSOR_ARCHITECTURE_UNKNOWN: { - - default: - { - /* @@ We could provide WinCE specific info here. But let's - defer that to some later point. - */ - pace_strcpy (processor, "Unknown"); - break; - } - } - } - pace_sprintf(name->machine, "%s %s", processor, subtype); - } - else if (vinfo.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) - { - // Get Windows 95 Information - pace_strcpy (name->release, "Windows 95"); - pace_sprintf (name->version, "%d", LOWORD (vinfo.dwBuildNumber)); - if (sinfo.dwProcessorType == PROCESSOR_INTEL_386) - { - pace_strcpy (name->machine, "Intel 80386"); - } - else if (sinfo.dwProcessorType == PROCESSOR_INTEL_486) - { - pace_strcpy (name->machine, "Intel 80486"); - } - else if (sinfo.dwProcessorType == PROCESSOR_INTEL_PENTIUM) - { - pace_strcpy (name->machine, "Intel Pentium"); - } - } - else - { - /* We don't know what this is! */ - pace_strcpy (name->release, "???"); - pace_strcpy (name->version, "???"); - pace_strcpy (name->machine, "???"); - } - - /* ick */ - return ACE_OS::hostname (name->nodename, maxnamelen); - -#endif /* emulation */ - -} -#endif /* PACE_HAS_POSIX_SP_UOF */ diff --git a/PACE/pace/win32/utsname.h b/PACE/pace/win32/utsname.h deleted file mode 100644 index c603b6b2c31..00000000000 --- a/PACE/pace/win32/utsname.h +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/utsname.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_UTSNAME_H_WIN32 -#define PACE_SYS_UTSNAME_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# ifndef PACE_UTSNAME -# define PACE_UTSNAME -# define PACE_SYS_NMLN 257 - typedef struct /* utsname */ { - char sysname[PACE_SYS_NMLN]; - char nodename[PACE_SYS_NMLN]; - char release[PACE_SYS_NMLN]; - char version[PACE_SYS_NMLN]; - char machine[PACE_SYS_NMLN]; -} pace_utsname; -# endif /* PACE_UTSNAME */ - -#if (PACE_HAS_POSIX_SP_UOF) - int uname (pace_utsname * name); -#endif /* PACE_HAS_POSIX_SP_UOF */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_UTSNAME_H_WIN32 */ diff --git a/PACE/pace/win32/utsname.inl b/PACE/pace/win32/utsname.inl deleted file mode 100644 index bc79bb80db4..00000000000 --- a/PACE/pace/win32/utsname.inl +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/utsname.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/string.h" - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -int -pace_uname (pace_utsname * name) -{ - PACE_UNUSED_ARG (name); - PACE_ERRNO_NO_SUPPORT_RETURN (-1); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ diff --git a/PACE/pace/win32/wait.c b/PACE/pace/win32/wait.c deleted file mode 100644 index 6a4308040af..00000000000 --- a/PACE/pace/win32/wait.c +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/wait.c - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#include "pace/sys/wait.h" - -#if !defined (PACE_HAS_INLINE) -# include "pace/win32/wait.inl" -#endif /* ! PACE_HAS_INLINE */ diff --git a/PACE/pace/win32/wait.h b/PACE/pace/win32/wait.h deleted file mode 100644 index cf2b7007afa..00000000000 --- a/PACE/pace/win32/wait.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/wait.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_WAIT_H_WIN32 -#define PACE_WAIT_H_WIN32 - -#include "pace/sys/types.h" - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_WEXITSTATUS WEXITSTATUS -#define PACE_WIFEXITED WIFEXITED -#define PACE_WIFSIGNALED WISIGNALED -#define PACE_WIFSTOPPED WIFSTOPPED -#define PACE_WNOHANG WNOHANG -#define PACE_WSTOPSIG WSTOPSIG -#define PACE_WTERMSIG WTERMSIG -#define PACE_WUNTRACED WUNTRACED - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_WAIT_H_WIN32 */ diff --git a/PACE/pace/win32/wait.inl b/PACE/pace/win32/wait.inl deleted file mode 100644 index 166a0936d10..00000000000 --- a/PACE/pace/win32/wait.inl +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/wait.inl - * - * = AUTHOR - * Luther Baker - * - * ============================================================================= */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_pid_t -pace_wait (int * statloc) -{ - PACE_UNUSED_ARG (statloc); - - { - pace_pid_t retval = -1; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); - } -} -#endif /* PACE_HAS_POSIX_MP_UOF */ - -#if (PACE_HAS_POSIX_MP_UOF) -PACE_INLINE -pace_pid_t -pace_waitpid (pace_pid_t pid, int * statloc, int options) -{ - PACE_UNUSED_ARG (pid); - PACE_UNUSED_ARG (statloc); - PACE_UNUSED_ARG (options); - - /* ACE version uses a HANDLE */ - { - pace_pid_t retval = -1; - PACE_ERRNO_NO_SUPPORT_RETURN (retval); - } -} -#endif /* PACE_HAS_POSIX_MP_UOF */ diff --git a/PACE/tests/Cond_Var_Test.c b/PACE/tests/Cond_Var_Test.c deleted file mode 100644 index eb7a073cfc3..00000000000 --- a/PACE/tests/Cond_Var_Test.c +++ /dev/null @@ -1,136 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== */ -/* */ -/* = FILENAME */ -/* Cond_Var_Test.c */ -/* */ -/* = DESCRIPTION */ -/* Testing the platform for POSIX condition variables. This is not */ -/* meant to be an exhaustive test at this point but more a sanity */ -/* check that PACE works (at least somewhat) as advertised. */ -/* This program simply creates some threads, waits on a condition */ -/* variable, joins the threads, and then exits. */ -/* */ -/* This test is largely taken from the O'Reilly _Pthreads */ -/* Programming_ book and accompanying example code. */ -/* */ -/* = AUTHOR */ -/* Joe Hoffert */ -/* */ -/* ===================================================================== */ - -#include "pace/stdio.h" -#include "pace/stdlib.h" -#include "pace/pthread.h" - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - -#define NUM_THREADS 3 -#define TCOUNT 10 -#define COUNT_THRES 12 - -int count = 0; -int thread_ids[3] = {0,1,2}; -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -/* VxWorks does not handle the *_ININITALIZER values and we - * can not emulate it since it involves memory allocation for - * VxWorks. - */ -pace_pthread_mutex_t count_lock; -pace_pthread_cond_t count_hit_threshold; -#else -pace_pthread_mutex_t count_lock = PACE_PTHREAD_MUTEX_INITIALIZER; -pace_pthread_cond_t count_hit_threshold = PACE_PTHREAD_COND_INITIALIZER; -#endif - -void *inc_count(void *idp) -{ - int i = 0; - /*int *my_id = idp;*/ - PACE_UNUSED_ARG (idp); - - pace_sleep(1); - - for (i = 0; i < TCOUNT; i++) { - pace_pthread_mutex_lock(&count_lock); - count++; - /* pace_printf("inc_counter(): thread %d, count = %d, unlocking mutex\n", - *my_id, count); */ - if (count == COUNT_THRES) { - /* pace_printf("inc_count(): Thread %d, count %d\n", *my_id, count); */ - pace_pthread_cond_signal(&count_hit_threshold); - } - pace_pthread_mutex_unlock(&count_lock); - } - - return(NULL); -} - -void *watch_count(void *idp) -{ - /*int *my_id = idp;*/ - PACE_UNUSED_ARG (idp); - - /* pace_printf("watch_count(): thread %d\n", *my_id); */ - - pace_pthread_mutex_lock(&count_lock); - - while (count < COUNT_THRES) { - pace_pthread_cond_wait(&count_hit_threshold, &count_lock); - /* pace_printf("watch_count(): thread %d, count %d\n", *my_id, count); */ - } - - pace_pthread_mutex_unlock(&count_lock); - - return(NULL); -} - -int -main() -{ - int i; - pace_pthread_t threads[3]; - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 - /* VxWorks does not handle the *_ININITALIZER values and we - * can not emulate it since it involves memory allocation for - * VxWorks. - */ - pace_pthread_mutex_init(&count_lock, 0); - pace_pthread_cond_init(&count_hit_threshold, 0); -#endif - - pace_pthread_create(&threads[0], NULL, inc_count, (void *)&thread_ids[0]); - pace_pthread_create(&threads[1], NULL, inc_count, (void *)&thread_ids[1]); - pace_pthread_create(&threads[2], NULL, watch_count, (void *)&thread_ids[2]); - - for (i = 0; i < NUM_THREADS; i++) { - pace_pthread_join(threads[i], NULL); - } - - if (count < COUNT_THRES) - { - pace_printf ("### ERROR ###: count should be >= %d.\n", - COUNT_THRES); - pace_printf ("### ERROR ###: However, count == %d.\n", - count); - pace_exit (-1); - } - - /* pace_printf ("main(): This should be the last print statement.\n"); */ - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 - /* VxWorks does not handle the *_ININITALIZER values and we - * can not emulate it since it involves memory allocation for - * VxWorks. We need to explicitly delete the mutex and condition - * variable allocated by the init calls. - */ - pace_pthread_mutex_destroy(&count_lock); - pace_pthread_cond_destroy(&count_hit_threshold); -#endif /* PACE_VXWORKS && PACE_VXWORKS != 0 */ - - return 0; -} diff --git a/PACE/tests/Makefile b/PACE/tests/Makefile deleted file mode 100644 index 83e9eb5be83..00000000000 --- a/PACE/tests/Makefile +++ /dev/null @@ -1,204 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for all the PACE tests -#---------------------------------------------------------------------------- - -CFLAGS += -DPACE_HAS_ALL_POSIX_FUNCS - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -# Build POSIX_SP_Test conditionally. For some platforms, it doesn't build -# (which is actually the test of support for the #defines). -BIN = Cond_Var_Test \ - Pthread_Storage_Test \ - Pthreads_Test \ - Stdio_Test \ - Stat_Test - -BIN2 = mqueue_test \ - Posix_SP_Test - -#### If the PACE library wasn't built with all components, don't -#### try to build certain tests. -PACE_BUILD_COMPONENTS := $(shell sh $(ACE_ROOT)/bin/ace_components --pace) - -PSRC=$(addsuffix .c,$(BIN)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -ACELIB = - -# Don't include Posix_SP_Test and mqueue_test for a VxWorks build. -# Posix_SP_Test doesn't compile (which is the test - seeing if the symbols -# are available). So VxWorks obviously doesn't pass this test. -# SA_RESTART is not defined for VxWorks so mqueue_test doesn't build -# on that platform. -ifdef VXWORKS - ACELIB += -lPACE - LDFLAGS += -L$(PACE_ROOT)/pace/ -else - BIN += $(BIN2) -endif -INCLDIRS += -I$(PACE_ROOT) -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU - -ifndef SOEXT - SOEXT=so -endif - -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -include $(ACE_ROOT)/PACE/include/makeinclude/rules.common.GNU - -ifndef static_libs_only - ifndef shared_libs_only - static_libs_only = 1 - endif # shared_libs_only -endif # static_libs_only - -# If we are inlining the PACE functions then we don't want to include -# the PACE library (and we need to define PACE_HAS_INLINE). If we're not -# inlining then we need to include the PACE library. Inlining is the default. - -ifndef inline - CFLAGS += -DPACE_HAS_INLINE -else - ifneq (0,$(inline)) - CFLAGS += -DPACE_HAS_INLINE - else - LIBS += -L$(ACE_ROOT)/PACE/pace -lPACE - endif # ! inline -endif # ! inline - -# To compile in the PACE lib on platforms that compile c code -ifeq (1, $(emulation)) - LIBS += -L$(PACE_ROOT)/pace -lPACE -endif # emulation - -# To build multiple executables in the same directory on AIX, it works -# best to wipe out any previously-created tempinc directory. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -COMPILE.cc := $(RM) -rf tempinc; $(COMPILE.cc) -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - - -.obj/Cond_Var_Test.o .obj/Cond_Var_Test.o .obj/Cond_Var_Test.o .obj/Cond_Var_Test.o: Cond_Var_Test.c \ - $(ACE_ROOT)/PACE/pace/stdio.h \ - $(ACE_ROOT)/PACE/pace/config/defines.h \ - $(ACE_ROOT)/PACE/pace/config/platform.h \ - $(ACE_ROOT)/PACE/pace/config/config.h \ - $(ACE_ROOT)/PACE/pace/config/compiler.h \ - $(ACE_ROOT)/PACE/pace/config/constants.h \ - $(ACE_ROOT)/PACE/pace/sys/types.h \ - $(ACE_ROOT)/PACE/pace/config/defaults.h \ - $(ACE_ROOT)/PACE/pace/config/utility.h \ - $(ACE_ROOT)/PACE/pace/errno.h \ - $(ACE_ROOT)/PACE/pace/config/features.h \ - $(ACE_ROOT)/PACE/pace/stdlib.h \ - $(ACE_ROOT)/PACE/pace/unistd.h \ - $(ACE_ROOT)/PACE/pace/pthread.h - -.obj/mqueue_test.o .obj/mqueue_test.o .obj/mqueue_test.o .obj/mqueue_test.o: mqueue_test.c \ - $(ACE_ROOT)/PACE/pace/stdio.h \ - $(ACE_ROOT)/PACE/pace/config/defines.h \ - $(ACE_ROOT)/PACE/pace/config/platform.h \ - $(ACE_ROOT)/PACE/pace/config/config.h \ - $(ACE_ROOT)/PACE/pace/config/compiler.h \ - $(ACE_ROOT)/PACE/pace/config/constants.h \ - $(ACE_ROOT)/PACE/pace/sys/types.h \ - $(ACE_ROOT)/PACE/pace/config/defaults.h \ - $(ACE_ROOT)/PACE/pace/config/utility.h \ - $(ACE_ROOT)/PACE/pace/errno.h \ - $(ACE_ROOT)/PACE/pace/config/features.h \ - $(ACE_ROOT)/PACE/pace/fcntl.h \ - $(ACE_ROOT)/PACE/pace/mqueue.h \ - $(ACE_ROOT)/PACE/pace/signal.h \ - $(ACE_ROOT)/PACE/pace/stdlib.h \ - $(ACE_ROOT)/PACE/pace/unistd.h \ - $(ACE_ROOT)/PACE/pace/string.h - -.obj/Pthread_Storage_Test.o .obj/Pthread_Storage_Test.o .obj/Pthread_Storage_Test.o .obj/Pthread_Storage_Test.o: Pthread_Storage_Test.c \ - $(ACE_ROOT)/PACE/pace/stdio.h \ - $(ACE_ROOT)/PACE/pace/config/defines.h \ - $(ACE_ROOT)/PACE/pace/config/platform.h \ - $(ACE_ROOT)/PACE/pace/config/config.h \ - $(ACE_ROOT)/PACE/pace/config/compiler.h \ - $(ACE_ROOT)/PACE/pace/config/constants.h \ - $(ACE_ROOT)/PACE/pace/sys/types.h \ - $(ACE_ROOT)/PACE/pace/config/defaults.h \ - $(ACE_ROOT)/PACE/pace/config/utility.h \ - $(ACE_ROOT)/PACE/pace/errno.h \ - $(ACE_ROOT)/PACE/pace/config/features.h \ - $(ACE_ROOT)/PACE/pace/stdlib.h \ - $(ACE_ROOT)/PACE/pace/unistd.h \ - $(ACE_ROOT)/PACE/pace/time.h \ - $(ACE_ROOT)/PACE/pace/pthread.h - -.obj/Pthreads_Test.o .obj/Pthreads_Test.o .obj/Pthreads_Test.o .obj/Pthreads_Test.o: Pthreads_Test.c \ - $(ACE_ROOT)/PACE/pace/stdio.h \ - $(ACE_ROOT)/PACE/pace/config/defines.h \ - $(ACE_ROOT)/PACE/pace/config/platform.h \ - $(ACE_ROOT)/PACE/pace/config/config.h \ - $(ACE_ROOT)/PACE/pace/config/compiler.h \ - $(ACE_ROOT)/PACE/pace/config/constants.h \ - $(ACE_ROOT)/PACE/pace/sys/types.h \ - $(ACE_ROOT)/PACE/pace/config/defaults.h \ - $(ACE_ROOT)/PACE/pace/config/utility.h \ - $(ACE_ROOT)/PACE/pace/errno.h \ - $(ACE_ROOT)/PACE/pace/config/features.h \ - $(ACE_ROOT)/PACE/pace/stdlib.h \ - $(ACE_ROOT)/PACE/pace/unistd.h \ - $(ACE_ROOT)/PACE/pace/pthread.h - -.obj/Stdio_Test.o .obj/Stdio_Test.o .obj/Stdio_Test.o .obj/Stdio_Test.o: Stdio_Test.c \ - $(ACE_ROOT)/PACE/pace/stdio.h \ - $(ACE_ROOT)/PACE/pace/config/defines.h \ - $(ACE_ROOT)/PACE/pace/config/platform.h \ - $(ACE_ROOT)/PACE/pace/config/config.h \ - $(ACE_ROOT)/PACE/pace/config/compiler.h \ - $(ACE_ROOT)/PACE/pace/config/constants.h \ - $(ACE_ROOT)/PACE/pace/sys/types.h \ - $(ACE_ROOT)/PACE/pace/config/defaults.h \ - $(ACE_ROOT)/PACE/pace/config/utility.h \ - $(ACE_ROOT)/PACE/pace/errno.h \ - $(ACE_ROOT)/PACE/pace/config/features.h \ - $(ACE_ROOT)/PACE/pace/unistd.h \ - $(ACE_ROOT)/PACE/pace/string.h - -.obj/Stat_Test.o .obj/Stat_Test.o .obj/Stat_Test.o .obj/Stat_Test.o: Stat_Test.c $(ACE_ROOT)/PACE/pace/stdio.h \ - $(ACE_ROOT)/PACE/pace/config/defines.h \ - $(ACE_ROOT)/PACE/pace/config/platform.h \ - $(ACE_ROOT)/PACE/pace/config/config.h \ - $(ACE_ROOT)/PACE/pace/config/compiler.h \ - $(ACE_ROOT)/PACE/pace/config/constants.h \ - $(ACE_ROOT)/PACE/pace/sys/types.h \ - $(ACE_ROOT)/PACE/pace/config/defaults.h \ - $(ACE_ROOT)/PACE/pace/config/utility.h \ - $(ACE_ROOT)/PACE/pace/errno.h \ - $(ACE_ROOT)/PACE/pace/config/features.h \ - $(ACE_ROOT)/PACE/pace/unistd.h \ - $(ACE_ROOT)/PACE/pace/fcntl.h \ - $(ACE_ROOT)/PACE/pace/sys/stat.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/PACE/tests/Makefile.am b/PACE/tests/Makefile.am deleted file mode 100644 index af6f453c2af..00000000000 --- a/PACE/tests/Makefile.am +++ /dev/null @@ -1,54 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for all the PACE ``one-button'' tests -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -## LDFLAGS = -## Libtool will automatically link against the "proper" library. -## Do not change the "libACE.la." It is not a typographical error! -## -## We override the "LIBS" variable provided by the configure script since -## we should only need to link against the ACE library for these tests. -LDADD = $(top_builddir)/pace/libPACE.la -##LIBS = $(top_builddir)/pace/libPACE.la - -## Build the following test programs when a `make check' is -## issued by the user. -check_PROGRAMS = \ - Posix_SP_Test \ - Stdio_Test - -Posix_SP_Test_SOURCES = Posix_SP_Test.c - -Stdio_Test_SOURCES = Stdio_Test.c - -## The tests we want to run are all of the test programs we are going to build. -## Do not run them if they are cross-compiled. -if PACE_CROSS_COMPILED -TESTS = -else -TESTS = $(check_PROGRAMS) -endif - -## Set up the test environment -##TESTS_ENVIRONMENT = - -## Clean up template repositories, etc. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - -## Clean up `log' directory , etc. -distclean-local: - -rm -rf log diff --git a/PACE/tests/Posix_SP_Test.c b/PACE/tests/Posix_SP_Test.c deleted file mode 100644 index 8eccf95fc4c..00000000000 --- a/PACE/tests/Posix_SP_Test.c +++ /dev/null @@ -1,253 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== - * - * = FILENAME - * Posix_SP_Test.c - * - * = DESCRIPTION - * Testing the platform for POSIX_SINGLE_PROCESS unit of - * functionality. This consists of calls to sysconf, time, and - * uname. - * This is not meant to be an exhaustive test at this point but more - * a sanity check that PACE works (at least somewhat). - * - * = AUTHOR - * Joe Hoffert - * - * ===================================================================== - */ - -#if PACE_LYNXOS != 0x300 -#include "pace/stdio.h" -#include "pace/unistd.h" -#include "pace/time.h" -#include "pace/sys/utsname.h" - -const char * success = "SUCCEEDED"; -const char * failure = "***FAILED***"; - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - -void -check_sysconf () -{ - long retval; - int index; -#if PACE_HAS_POSIX == PACE_LYNXOS - const int confnamessize = 30; -#else - const int confnamessize = 38; -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - - int confnames[] = {_SC_AIO_LISTIO_MAX, - _SC_AIO_MAX, - _SC_AIO_PRIO_DELTA_MAX, - _SC_ARG_MAX, - _SC_CHILD_MAX, - _SC_CLK_TCK, - _SC_DELAYTIMER_MAX, -#if PACE_HAS_POSIX != PACE_LYNXOS - _SC_GETGR_R_SIZE_MAX, - _SC_GETPW_R_SIZE_MAX, - _SC_LOGIN_NAME_MAX, -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - _SC_MQ_OPEN_MAX, - _SC_MQ_PRIO_MAX, - _SC_NGROUPS_MAX, - _SC_OPEN_MAX, - _SC_PAGESIZE, - _SC_RTSIG_MAX, - _SC_SEM_NSEMS_MAX, - _SC_SEM_VALUE_MAX, - _SC_SIGQUEUE_MAX, - _SC_STREAM_MAX, -#if PACE_HAS_POSIX != PACE_LYNXOS - _SC_THREAD_DESTRUCTOR_ITERATIONS, - _SC_THREAD_KEYS_MAX, - _SC_THREAD_STACK_MIN, - _SC_THREAD_THREADS_MAX, -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - _SC_TIMER_MAX, -#if PACE_HAS_POSIX != PACE_LYNXOS - _SC_TTY_NAME_MAX, -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - _SC_TZNAME_MAX, - _SC_ASYNCHRONOUS_IO, - _SC_FSYNC, - _SC_JOB_CONTROL, - _SC_MAPPED_FILES, - _SC_MEMLOCK, - _SC_MEMLOCK_RANGE, - _SC_MEMORY_PROTECTION, - _SC_MESSAGE_PASSING, - _SC_PRIORITIZED_IO, - _SC_PRIORITY_SCHEDULING, - _SC_REALTIME_SIGNALS}; - char * confstrs[] = {"_SC_AIO_LISTIO_MAX", - "_SC_AIO_MAX", - "_SC_AIO_PRIO_DELTA_MAX", - "_SC_ARG_MAX", - "_SC_CHILD_MAX", - "_SC_CLK_TCK", - "_SC_DELAYTIMER_MAX", -#if PACE_HAS_POSIX != PACE_LYNXOS - "_SC_GETGR_R_SIZE_MAX", - "_SC_GETPW_R_SIZE_MAX", - "_SC_LOGIN_NAME_MAX", -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - "_SC_MQ_OPEN_MAX", - "_SC_MQ_PRIO_MAX", - "_SC_NGROUPS_MAX", - "_SC_OPEN_MAX", - "_SC_PAGESIZE", - "_SC_RTSIG_MAX", - "_SC_SEM_NSEMS_MAX", - "_SC_SEM_VALUE_MAX", - "_SC_SIGQUEUE_MAX", - "_SC_STREAM_MAX", -#if PACE_HAS_POSIX != PACE_LYNXOS - "_SC_THREAD_DESTRUCTOR_ITERATIONS", - "_SC_THREAD_KEYS_MAX", - "_SC_THREAD_STACK_MIN", - "_SC_THREAD_THREADS_MAX", -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - "_SC_TIMER_MAX", -#if PACE_HAS_POSIX != PACE_LYNXOS - "_SC_TTY_NAME_MAX", -#endif /* PACE_HAS_POSIX != PACE_LYNXOS */ - "_SC_TZNAME_MAX", - "_SC_ASYNCHRONOUS_IO", - "_SC_FSYNC", - "_SC_JOB_CONTROL", - "_SC_MAPPED_FILES", - "_SC_MEMLOCK", - "_SC_MEMLOCK_RANGE", - "_SC_MEMORY_PROTECTION", - "_SC_MESSAGE_PASSING", - "_SC_PRIORITIZED_IO", - "_SC_PRIORITY_SCHEDULING", - "_SC_REALTIME_SIGNALS"}; - - PACE_UNUSED_ARG (confstrs); - - /* Success indicated by compilation for this function. */ - /* printf("pace_sysconf %s\n", success); */ - for (index = 0; index < confnamessize; index++) - { - /* Call pace_sysconf() */ - errno = 0; - retval = pace_sysconf(confnames[index]); - - /* Return value of -1 indicates an invalid name or no support - for the functionality associated with the name. POSIX- - conformant platforms may not support all the names. However, - using the names above should not cause compilation errors. - */ - /* printf("pace_sysconf: name == %s\n", confstrs[index]); */ - if (retval == -1) - { - /* printf("retval == %ld\n", retval); */ - if (errno == 0) - { - /* printf("Unsupported name [errno did not change]\n"); */ - } - else - { - printf("invalid name [errno did not change]\n"); - } - } - else - { - /* printf("pace_sysconf: value == %ld\n", retval); */ - } - } - - /* printf("\n"); */ -} - -void -check_time () -{ - long retval; - time_t local_time; - - /* Call pace_time() with time_t * arg */ - local_time = 0; - errno = 0; - retval = pace_time(&local_time); - - /* printf("pace_time %s\n", success); */ - if (retval == -1) - { - printf("errno == %d\n", errno); - } - else - { - /* printf("pace_time (with time_t* arg) == %ld\n", local_time); */ - } - - /* Call pace_time() with NULL arg */ - errno = 0; - retval = pace_time(0); - - if (retval == -1) - { - printf("errno == %d\n", errno); - } - else - { - /* printf("pace_time (with NULL arg) == %ld\n\n", retval); */ - } -} - -void -check_uname () -{ - long retval; - struct utsname name; - - /* Call pace_uname() */ - errno = 0; - retval = pace_uname(&name); - /* printf("pace_uname %s\n", success); */ - - if (retval < 0) - { - printf("pace_uname error: %d\n", errno); - } - else - { - /* printf("pace_uname: uname.sysname == %s\n", name.sysname); */ - /* printf("pace_uname: uname.nodename == %s\n", name.nodename); */ - /* printf("pace_uname: uname.release == %s\n", name.release); */ - /* printf("pace_uname: uname.version == %s\n", name.version); */ - /* printf("pace_uname: uname.machine == %s\n", name.machine); */ - } -} - -int -main (int argc, char **argv) -{ - /* Check the PACE calls to the sysconf POSIX function. */ - check_sysconf(); - - /* Check the PACE calls to the time POSIX function. */ - check_time(); - - /* Check the PACE calls to the uname POSIX function. */ - check_uname(); - - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - return 0; -} -#else -int -main (int argc, char **argv) -{ - printf("PACE does not support LynxOS 3.0.0.\n"); -} -#endif /* PACE_LYNXOS == 0x300 */ diff --git a/PACE/tests/Pthread_Storage_Test.c b/PACE/tests/Pthread_Storage_Test.c deleted file mode 100644 index 726b3835c1d..00000000000 --- a/PACE/tests/Pthread_Storage_Test.c +++ /dev/null @@ -1,144 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== */ -/* */ -/* = FILENAME */ -/* Pthreads_Test.c */ -/* */ -/* = DESCRIPTION */ -/* Testing the platform for POSIX threads thread specific storage. */ -/* This is not meant to be an exhaustive test at this point but more */ -/* a sanity check that PACE works (at least somewhat) as advertised. */ -/* This program creates some threads, stores some thread specific */ -/* information in each one (some time information) and then checks */ -/* that the different threads contained different values. */ -/* */ -/* This test is largely taken from the O'Reilly _Pthreads */ -/* Programming_ book and accompanying example code. */ -/* */ -/* = AUTHOR */ -/* Joe Hoffert */ -/* */ -/* ===================================================================== */ - -#include "pace/stdio.h" -#include "pace/stdlib.h" -#include "pace/time.h" -#include "pace/pthread.h" - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - -#define NUM_THREADS 3 -/*pace_pthread_key_t saved_time_key;*/ -pace_pthread_key_t saved_ID_key; - -/*void free_time (void *arg)*/ -void free_ID (void *arg) -{ - /*pace_timespec *timep = (pace_timespec *)arg; - pace_printf("free_time:\n"); - pace_free(timep);*/ - - pace_pthread_t *threadp = (pace_pthread_t *)arg; - /* pace_printf("free_ID:\n"); */ - pace_free(threadp); -} - -/*void save_the_time (void)*/ -long save_the_ID (void) -{ - /*pace_timespec *timep; - - timep = (pace_timespec *)malloc(sizeof(pace_timespec)); - clock_gettime(1, timep); - pace_printf("save_the_time: \t\t%ld %ld\n",timep->tv_sec, timep->tv_nsec); - pace_pthread_setspecific(saved_time_key, (void *)timep);*/ - - pace_pthread_t *pace_thread = - (pace_pthread_t *)malloc(sizeof(pace_pthread_t)); - - *pace_thread = pace_pthread_self(); - /* pace_printf("save_the_ID: \t\t%ld\n", (long)*pace_thread); */ - pace_pthread_setspecific(saved_ID_key, (void *)pace_thread); - - return ((long)*pace_thread); -} - -/*void what_time_did_i_save (void)*/ -long what_ID_did_i_save (void) -{ - /*pace_timespec *timep; - - timep = pace_pthread_getspecific(saved_time_key); - printf("what_time_did_i_save: \t%ld %ld\n",timep->tv_sec, timep->tv_nsec);*/ - - pace_pthread_t *pace_thread; - - pace_thread = pace_pthread_getspecific(saved_ID_key); - /* pace_printf("what_ID_did_i_save: \t%ld\n", (long)*pace_thread); */ - return ((long)*pace_thread); -} - -void *thread_routine (void *arg) -{ - long saved_id; - long retrieved_id; - /*int *my_id=(int *)arg;*/ - PACE_UNUSED_ARG (arg); - - /* pace_printf("thread_routine %d\n", *my_id); */ - /*save_the_time(); - what_time_did_i_save();*/ - saved_id = save_the_ID(); - pace_sleep (1); - retrieved_id = what_ID_did_i_save(); - - if (saved_id != retrieved_id) - { - pace_printf ("### ERROR ###: saved id %ld does not equal retrieved - id %ld.\n", saved_id, retrieved_id); - pace_exit (-1); - } - - return (NULL); -} - -int -main (int argc, char *argv[]) -{ - int i; - int *id_arg; - pace_pthread_t threads[NUM_THREADS]; - - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - - id_arg = (int *) pace_malloc (NUM_THREADS * sizeof(int)); - - /* pace_printf("main : initializing the key\n"); */ - /*pace_pthread_key_create(&saved_time_key, free_time);*/ - pace_pthread_key_create(&saved_ID_key, free_ID); - - /* pace_printf("main : spawning the threads\n"); */ - for (i = 0; i < NUM_THREADS; i++) - { - id_arg[i] = i; - - pace_pthread_create(&(threads[i]), - NULL, - thread_routine, - (void *) &(id_arg[i])); - } - - for (i = 0; i < NUM_THREADS; i++) - { - pace_pthread_join(threads[i], NULL); - /* pace_printf("main : thread %d has finished. \n", i); */ - } - - /* pace_printf("main : goodbye\n"); */ - - return 0; -} diff --git a/PACE/tests/Pthreads_Test.c b/PACE/tests/Pthreads_Test.c deleted file mode 100644 index 7d2710f598b..00000000000 --- a/PACE/tests/Pthreads_Test.c +++ /dev/null @@ -1,110 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== */ -/* */ -/* = FILENAME */ -/* Pthreads_Test.c */ -/* */ -/* = DESCRIPTION */ -/* Testing the platform for POSIX threads. This is not meant */ -/* to be an exhaustive test at this point but more a sanity check */ -/* that PACE works (at least somewhat) as advertised. */ -/* This program simply creates some threads, joins them, and then */ -/* exits. */ -/* */ -/* This test is largely taken from the O'Reilly _Pthreads */ -/* Programming_ book and accompanying example code. */ -/* */ -/* = AUTHOR */ -/* Joe Hoffert */ -/* */ -/* ===================================================================== */ - -#include "pace/stdio.h" -#include "pace/stdlib.h" -#include "pace/pthread.h" - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - -const int FUNC1_LOOP_MAX = 5; -const int FUNC2_LOOP_MAX = 50; - -void -func1 (int *pnum_times) -{ - int i; - int j; - int x; - - for (i = 0; i < FUNC1_LOOP_MAX; i++) - { - /*pace_printf("func1\n");*/ - for (j = 0; j < 100000; j++) - x += i; - - (*pnum_times)++; - } -} - -void -func2 (int *pnum_times) -{ - int i; - int j; - int x; - - for (i = 0; i < FUNC2_LOOP_MAX; i++) - { - /*pace_printf("func2\n");*/ - for (j = 0; j < 100; j++) - x += i; - - (*pnum_times)++; - } -} - -void -join_point (int func1_times, int func2_times) -{ - int total; - - total = func1_times + func2_times; - if (total != FUNC1_LOOP_MAX + FUNC2_LOOP_MAX) - { - pace_printf ("### ERROR ###: total iterations should be %d but are %d.\n", - FUNC1_LOOP_MAX + FUNC2_LOOP_MAX, total); - pace_exit (-1); - } -} - -int -main (int argc, char **argv) -{ - /* Test creating threads and joining them. */ - pace_pthread_t thread1; - pace_pthread_t thread2; - int func1_ret = 0; - int func2_ret = 0; - - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - - pace_pthread_create(&thread1, - NULL, - (void *) func1, - (void *) &func1_ret); - - pace_pthread_create(&thread2, - NULL, - (void *) func2, - (void *) &func2_ret); - - pace_pthread_join(thread1, NULL); - pace_pthread_join(thread2, NULL); - - join_point(func1_ret, func2_ret); - - return 0; -} diff --git a/PACE/tests/README b/PACE/tests/README deleted file mode 100644 index 20d2c164084..00000000000 --- a/PACE/tests/README +++ /dev/null @@ -1,6 +0,0 @@ -Most of the tests are typical of the ACE and TAO tests in that no -output means the test ran successfully. Otherwise, error messages -are output indicating an error. - -Currently the mqueue_test executable requires user input for determing -the kind of test to run. diff --git a/PACE/tests/Stat_Test.c b/PACE/tests/Stat_Test.c deleted file mode 100644 index e221fc0c813..00000000000 --- a/PACE/tests/Stat_Test.c +++ /dev/null @@ -1,83 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== */ -/* */ -/* = FILENAME */ -/* Stat_Test.c */ -/* */ -/* = DESCRIPTION */ -/* Testing the platform for POSIX functions typically found in the */ -/* sys/stat.h file (e.g., chmod, mkdir, stat). This is not meant */ -/* to be an exhaustive test at this point but more a sanity check */ -/* that PACE works (at least somewhat) as advertised. */ -/* This program creates a directory (via mkdir), creates a temporary */ -/* file in that directory (via open), modifies the permissions of */ -/* the file (via chmod and fchmod), gets information about the file */ -/* (via stat and fstat), and checks the process' file mode creation */ -/* mask (via umask). The temporary file and directory are then */ -/* closed and deleted. */ -/* */ -/* = AUTHOR */ -/* Joe Hoffert */ -/* */ -/* ===================================================================== */ - -#include "pace/stdio.h" -#include "pace/unistd.h" -#include "pace/fcntl.h" -#include "pace/sys/stat.h" - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - - -#if PACE_LYNXOS != 0x300 -int -main (int argc, char **argv) -{ - const char * dirname = "./junk"; - const char * failure = "***FAILED***"; - - int fd; - /* - int retval; - char* retval2; - char buffer[256]; - */ - - /* Test creating a directory. */ - /*printf("Starting test...\n"); - if (pace_mkdir(dirname, mode) != 0) - { - pace_printf("pace_mkdir %s\n", failure); - return -1; - } - */ - - fd = pace_open (dirname, - O_WRONLY | O_CREAT, - 0x644); - if (fd == 0) - { - pace_printf("pace_open %s\n", failure); - pace_perror("pace_open"); - return -1; - } - else - { - pace_close (fd); - pace_unlink (dirname); - } - - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - return 0; -} -#else -int -main (int argc, char **argv) -{ - printf("PACE does not support LynxOS 3.0.0.\n"); -} -#endif /* PACE_LYNXOS == 0x300 */ diff --git a/PACE/tests/Stdio_Test.c b/PACE/tests/Stdio_Test.c deleted file mode 100644 index 469b4f433a8..00000000000 --- a/PACE/tests/Stdio_Test.c +++ /dev/null @@ -1,123 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== */ -/* */ -/* = FILENAME */ -/* Stdio_Test.c */ -/* */ -/* = DESCRIPTION */ -/* Testing the platform for POSIX standard I/O. This is not meant */ -/* to be an exhaustive test at this point but more a sanity check */ -/* that PACE works (at least somewhat) as advertised. */ -/* This program creates/opens a temporary file, writes to the file, */ -/* reads from the file to make sure it's what was written, and */ -/* then closes/deletes the file. */ -/* */ -/* = AUTHOR */ -/* Joe Hoffert */ -/* */ -/* ===================================================================== */ - -#include "pace/stdio.h" -#include "pace/unistd.h" -#include "pace/string.h" - -const char * filename = "temp"; -const char * mode = "w+"; -const char * string1 = "line 1\n"; -const char * success = "SUCCEEDED"; -const char * failure = "***FAILED***"; - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - - -#if PACE_LYNXOS != 0x300 -int -main (int argc, char **argv) -{ - /* Test creating/opening a file. */ - PACE_FILE *file; - int retval; - char* retval2; - char buffer[256]; - - file = pace_fopen (filename, - mode); - if (file == 0) - { - printf("pace_fopen %s\n", failure); - return -1; - } - - /* Test writing to a file. */ - retval = pace_fputs (string1, - file); - if (retval == EOF) - { - printf("pace_fputs %s\n", failure); - return -1; - } - - /* Test flushing a file. */ - retval = pace_fflush (file); - if (retval != 0) - { - printf("pace_fflush %s\n", failure); - return -1; - } - - /* Test seeking in a file. */ - retval = pace_fseek (file, - 0, - 0); - if (retval != 0) - { - printf("pace_fseek %s\n", failure); - return -1; - } - - /* Test reading from a file. */ - retval2 = pace_fgets (buffer, - sizeof(buffer), - file); - if (retval2 == 0) - { - printf("pace_fgets %s\n", failure); - return -1; - } - - if (pace_strcmp(buffer, string1) != 0) - { - printf("strcmp of pace_fgets %s\n", failure); - return -1; - } - - /* Test closing a file. */ - retval = pace_fclose (file); - if (retval != 0) - { - printf("pace_fclose %s\n", failure); - return -1; - } - - /* Test removing a file. */ - retval = pace_unlink (filename); - if (retval != 0) - { - printf("pace_unlink %s\n", failure); - return -1; - } - - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - return 0; -} -#else -int -main (int argc, char **argv) -{ - printf("PACE does not support LynxOS 3.0.0.\n"); -} -#endif /* PACE_LYNXOS == 0x300 */ diff --git a/PACE/tests/mqueue_test.c b/PACE/tests/mqueue_test.c deleted file mode 100644 index b8f55b46d6e..00000000000 --- a/PACE/tests/mqueue_test.c +++ /dev/null @@ -1,134 +0,0 @@ -/* $Id$ */ - -#if PACE_LYNXOS != 0x300 -#include "pace/stdio.h" -#include "pace/fcntl.h" -#include "pace/mqueue.h" -#include "pace/stdlib.h" -#include "pace/signal.h" -#include "pace/string.h" - -#if defined (PACE_VXWORKS) && PACE_VXWORKS != 0 -#include "vxworks_stub.c" -#endif /* VXWORKS */ - -/* Most of this code is borowed from Konstantin Knizhnik */ - -pace_mqd_t mqdes; - -void -msg_handler (int handler_arg) -{ - char buf[1024]; - unsigned int priority; - int len = pace_mq_receive(mqdes, buf, sizeof buf, &priority); - - PACE_UNUSED_ARG (handler_arg); - - if (len < 0) - { - perror("mq_receive"); - } - pace_printf("\nReceive message with priority %d: %s\n", priority, buf); -} - -#define QUEUE_NAME "/testmsg1" - -int -main (int argc, char** argv) -{ -#if PACE_LYNXOS > 0 - pace_printf ("mqueue_test not supported on LynxOS.\n"); - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - return EXIT_SUCCESS; -#else /* ! PACE_LYNXOS */ - char buf[1024]; - int choice, len; - unsigned int priority; - pace_sigevent notification; - static pace_sigaction_s sa; - int one = 1; - - mqdes = pace_mq_open(QUEUE_NAME, O_CREAT | O_RDWR, 0777, 0); - if (mqdes == (pace_mqd_t)-1) - { - perror("mq_open"); - return EXIT_FAILURE; - } - - notification.sigev_notify = SIGEV_SIGNAL; - notification.sigev_signo = SIGUSR1; - - sa.sa_handler = msg_handler; - sa.sa_flags = SA_RESTART; - pace_sigaction(SIGUSR1, &sa, NULL); - - while (one) - { - printf("\t1. Send\n" - "\t2. Asynchronouse receive\n" - "\t3. Synchronouse receive\n" - "\t4. Close queue and exit\n" - "\t5. Remove queue and exit\n" - "> "); - if (!pace_fgets(buf, sizeof buf, stdin)) - { - return EXIT_FAILURE; - } - if (pace_sscanf(buf, "%d", &choice) != 1) - { - pace_printf("Please select 1..5\n"); - continue; - } - switch (choice) - { - case 1: - do - { - pace_printf("Message priority: "); - pace_fgets(buf, sizeof buf, stdin); - } while (pace_sscanf(buf, "%d", &priority) != 1); - pace_printf("Message to send: "); - pace_fgets(buf, sizeof buf, stdin); - if (pace_mq_send(mqdes, buf, pace_strlen(buf)+1, priority) == -1) - { - perror("mq_send"); - return EXIT_FAILURE; - } - break; - case 2: - pace_mq_notify(mqdes, ¬ification); - pace_printf("Waiting for notifications...\n"); - break; - case 3: - len = pace_mq_receive(mqdes, buf, sizeof buf, &priority); - if (len < 0) - { - perror("mq_receive"); - } - pace_printf("Receive message with priority %d: %s\n", priority, buf); - break; - case 4: - pace_mq_close(mqdes); - return EXIT_SUCCESS; - case 5: - pace_mq_close(mqdes); - pace_mq_unlink(QUEUE_NAME); - return EXIT_SUCCESS; - default: - pace_printf("Please select 1..5\n"); - } - } - PACE_UNUSED_ARG (argc); - PACE_UNUSED_ARG (argv); - return EXIT_SUCCESS; -#endif /* ! PACE_LYNXOS */ -} -#else -int -main (int argc, char **argv) -{ - printf("PACE does not support LynxOS 3.0.0.\n"); -} -#endif /* PACE_LYNXOS == 0x300 */ diff --git a/PACE/tests/test_stdio.dsp b/PACE/tests/test_stdio.dsp deleted file mode 100644 index 198cfb45f4f..00000000000 --- a/PACE/tests/test_stdio.dsp +++ /dev/null @@ -1,162 +0,0 @@ -# Microsoft Developer Studio Project File - Name="test_stdio" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=test_stdio - Win32 Static Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "test_stdio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "test_stdio.mak" CFG="test_stdio - Win32 Static Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "test_stdio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "test_stdio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "test_stdio - Win32 Static Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "test_stdio - Win32 Static Release" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "test_stdio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "PACE_HAS_ALL_POSIX_FUNCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 pace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"../pace/win32" - -!ELSEIF "$(CFG)" == "test_stdio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /D "_DEBUG" /D "PACE_HAS_ALL_POSIX_FUNCS" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 paced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"../pace/win32" - -!ELSEIF "$(CFG)" == "test_stdio - Win32 Static Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Static_Debug" -# PROP BASE Intermediate_Dir "Static_Debug" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Static_Debug" -# PROP Intermediate_Dir "Static_Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /I ".." /D "_DEBUG" /D "PACE_HAS_ALL_POSIX_FUNCS" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /D "_DEBUG" /D "PACE_HAS_ALL_POSIX_FUNCS" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 paced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"../pace/win32" -# ADD LINK32 pacesd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"../pace/win32" - -!ELSEIF "$(CFG)" == "test_stdio - Win32 Static Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Static_Release" -# PROP BASE Intermediate_Dir "Static_Release" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Static_Release" -# PROP Intermediate_Dir "Static_Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /I ".." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "PACE_HAS_ALL_POSIX_FUNCS" /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "PACE_HAS_ALL_POSIX_FUNCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 pace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"../pace/win32" -# ADD LINK32 paces.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"../pace/win32" - -!ENDIF - -# Begin Target - -# Name "test_stdio - Win32 Release" -# Name "test_stdio - Win32 Debug" -# Name "test_stdio - Win32 Static Debug" -# Name "test_stdio - Win32 Static Release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\Stdio_Test.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/PACE/tests/tests.dsw b/PACE/tests/tests.dsw deleted file mode 100644 index 3b385f17556..00000000000 --- a/PACE/tests/tests.dsw +++ /dev/null @@ -1,59 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "PACE DLL"=..\pace\win32\pace_dll.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "PACE LIB"=..\pace\win32\pace_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "test_stdio"=.\test_stdio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name PACE DLL - End Project Dependency - Begin Project Dependency - Project_Dep_Name PACE LIB - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/PACE/tests/vxworks_stub.c b/PACE/tests/vxworks_stub.c deleted file mode 100644 index 7ec9bf3f884..00000000000 --- a/PACE/tests/vxworks_stub.c +++ /dev/null @@ -1,109 +0,0 @@ -/* $Id$ -*- C -*- */ - -/* ===================================================================== */ -/* */ -/* = FILENAME */ -/* vxworks_stub.c */ -/* */ -/* = DESCRIPTION */ -/* The file includes the special machinations that are needed to */ -/* kick off a C program in VxWorks. Every test run on VxWorks needs */ -/* to have this so it is put into this common file. */ -/* */ -/* = AUTHOR */ -/* Joe Hoffert */ -/* */ -/* ===================================================================== */ - -# define main post_pace_main -# include /**/ /* for ::sp() */ -# include /**/ "pace/pthread.h" - -int post_pace_main(); - -/* This global function can be used from the VxWorks shell to pass - * arguments to a C main () function. - * - * usage: -> spa main, "arg1", "arg2" - * - * All arguments must be quoted, even numbers. - */ -int -spa (FUNCPTR entry, ...) -{ - const unsigned int MAX_ARGS = 10; - char *argv[MAX_ARGS]; - va_list pvar; - unsigned int argc; - int ret; - - /* Hardcode a program name because the real one isn't available - * through the VxWorks shell. - */ - argv[0] = "pace_main"; - - /* Peel off arguments to spa () and put into argv. va_arg () isn't - * necessarily supposed to return 0 when done, though since the - * VxWorks shell uses a fixed number (10) of arguments, it might 0 - * the unused ones. This function could be used to increase that - * limit, but then it couldn't depend on the trailing 0. So, the - * number of arguments would have to be passed. - */ - va_start (pvar, entry); - - for (argc = 1; argc <= MAX_ARGS; ++argc) - { - argv[argc] = va_arg (pvar, char *); - - if (argv[argc] == 0) - break; - } - - if (argc > MAX_ARGS && argv[argc-1] != 0) - { - /* try to read another arg, and warn user if the limit was exceeded */ - if (va_arg (pvar, char *) != 0) - pace_fprintf (stderr, "spa(): number of arguments limited to %d\n", - MAX_ARGS); - } - else - { - /* fill unused argv slots with 0 to get rid of leftovers - * from previous invocations - */ - unsigned int i; - for (i = argc; i <= MAX_ARGS; ++i) - argv[i] = 0; - } - - /* The hard-coded options are what ::sp () uses, except for the - * larger stack size (instead of ::sp ()'s 20000). - */ - ret = taskSpawn (argv[0], /* task name */ - 100, /* task priority */ - VX_FP_TASK, /* task options */ - PTHREAD_DEFAULT_STACK_SIZE, /* stack size */ - entry, /* entry point */ - argc, /* first argument to main () */ - (int) argv, /* second argument to main () */ - 0, 0, 0, 0, 0, 0, 0, 0); - va_end (pvar); - - /* taskSpawn () returns the taskID on success: return 0 instead if - * successful - */ - return ret > 0 ? 0 : ret; -} - -int -pace_main(int argc, char* argv[]) -{ - /* Setup information for VxWorks emulation */ - if (pacevx_vxworks_init() == ERROR) - return ERROR; - - /* Call the "normal" main function now that we've done - * our bookkeeping. - */ - return post_pace_main(argc, argv); -} diff --git a/Static_Performance.dsw b/Static_Performance.dsw deleted file mode 100644 index 8e50198ea15..00000000000 --- a/Static_Performance.dsw +++ /dev/null @@ -1,263 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ACE DLL"=.\ace\ace_dll.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ACE LIB"=.\ace\ace_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "IDL_Cubit Client"=".\TAO\performance-tests\Cubit\TAO\IDL_Cubit\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "IDL_Cubit Server"=".\TAO\performance-tests\Cubit\TAO\IDL_Cubit\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MT_Cubit Client"=".\TAO\performance-tests\Cubit\TAO\MT_Cubit\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MT_Cubit Server"=".\TAO\performance-tests\Cubit\TAO\MT_Cubit\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TAO DLL"=.\TAO\tao\TAO.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TAO LIB"=.\TAO\tao\TAO_Static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TAO_IDL Compiler"=.\TAO\TAO_IDL\tao_idl.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE dynamic library - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO_IDL_BE_DLL - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO_IDL_FE_DLL - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL Compiler Static"=.\TAO\TAO_IDL\tao_idl_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name TAO_IDL_BE_LIB - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO_IDL_FE_LIB - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL_BE_DLL"=.\TAO\TAO_IDL\TAO_IDL_BE_DLL.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name TAO_IDL_FE_DLL - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL_BE_LIB"=.\TAO\TAO_IDL\TAO_IDL_BE_LIB.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name TAO_IDL_FE_LIB - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL_FE_DLL"=.\TAO\TAO_IDL\TAO_IDL_FE_DLL.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE DLL - End Project Dependency - Begin Project Dependency - Project_Dep_Name gperf - End Project Dependency - Begin Project Dependency - Project_Dep_Name gperf_lib - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL_FE_LIB"=.\TAO\TAO_IDL\TAO_IDL_FE_LIB.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE LIB - End Project Dependency - Begin Project Dependency - Project_Dep_Name gperf - End Project Dependency - Begin Project Dependency - Project_Dep_Name gperf_lib - End Project Dependency -}}} - -############################################################################### - -Project: "basic_perf"=".\performance-tests\Misc\basic_perf.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "context_switch_time"=".\performance-tests\Misc\context_switch_time.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "gperf"=.\apps\gperf\src\gperf.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE dynamic library - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/CIAO/CCF/CCF/CCF.sln b/TAO/CIAO/CCF/CCF/CCF.sln deleted file mode 100644 index 2cd44b64537..00000000000 --- a/TAO/CIAO/CCF/CCF/CCF.sln +++ /dev/null @@ -1,45 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IDL2", "IDL2\IDL2.vcproj", "{BC4A74B6-EBE7-486D-A537-B4217AE7304E}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IDL3", "IDL3\IDL3.vcproj", "{97D61986-05D8-4B2A-B8B2-5095E58909FE}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CIDL", "CIDL\CIDL.vcproj", "{39A4243B-8D97-4C1A-BC6B-C49FE4D48D4D}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CodeGenerationKit", "CodeGenerationKit\CodeGenerationKit.vcproj", "{93C22389-AD2D-45CD-98C6-D9C5D6679B09}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {BC4A74B6-EBE7-486D-A537-B4217AE7304E}.Debug.ActiveCfg = Debug|Win32 - {BC4A74B6-EBE7-486D-A537-B4217AE7304E}.Debug.Build.0 = Debug|Win32 - {BC4A74B6-EBE7-486D-A537-B4217AE7304E}.Release.ActiveCfg = Release|Win32 - {BC4A74B6-EBE7-486D-A537-B4217AE7304E}.Release.Build.0 = Release|Win32 - {97D61986-05D8-4B2A-B8B2-5095E58909FE}.Debug.ActiveCfg = Debug|Win32 - {97D61986-05D8-4B2A-B8B2-5095E58909FE}.Debug.Build.0 = Debug|Win32 - {97D61986-05D8-4B2A-B8B2-5095E58909FE}.Release.ActiveCfg = Release|Win32 - {97D61986-05D8-4B2A-B8B2-5095E58909FE}.Release.Build.0 = Release|Win32 - {39A4243B-8D97-4C1A-BC6B-C49FE4D48D4D}.Debug.ActiveCfg = Debug|Win32 - {39A4243B-8D97-4C1A-BC6B-C49FE4D48D4D}.Debug.Build.0 = Debug|Win32 - {39A4243B-8D97-4C1A-BC6B-C49FE4D48D4D}.Release.ActiveCfg = Release|Win32 - {39A4243B-8D97-4C1A-BC6B-C49FE4D48D4D}.Release.Build.0 = Release|Win32 - {93C22389-AD2D-45CD-98C6-D9C5D6679B09}.Debug.ActiveCfg = Debug|Win32 - {93C22389-AD2D-45CD-98C6-D9C5D6679B09}.Debug.Build.0 = Debug|Win32 - {93C22389-AD2D-45CD-98C6-D9C5D6679B09}.Release.ActiveCfg = Release|Win32 - {93C22389-AD2D-45CD-98C6-D9C5D6679B09}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL.cpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL.cpp deleted file mode 100644 index cfa1da318d3..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL.cpp +++ /dev/null @@ -1 +0,0 @@ -// $Id$ diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL.vcproj b/TAO/CIAO/CCF/CCF/CIDL/CIDL.vcproj deleted file mode 100644 index f658c5476fc..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL.vcproj +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_LexicalAnalyzer.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_LexicalAnalyzer.hpp deleted file mode 100644 index 9d2570d9c84..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_LexicalAnalyzer.hpp +++ /dev/null @@ -1,57 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_LEXICAL_ANALYZER_HPP -#define CCF_CIDL_LEXICAL_ANALYZER_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/IDL3/IDL3_LexicalAnalyzer.hpp" - -#include - -namespace CIDL -{ - class LexicalAnalyzer : public virtual IDL3::LexicalAnalyzer - { - public: - virtual - ~LexicalAnalyzer () throw () {} - - public: - - // Keywords (alphabetic order). - - KeywordPtr composition; - KeywordPtr entity; - KeywordPtr executor; - KeywordPtr implements; - KeywordPtr process; - KeywordPtr service; - KeywordPtr session; - - - - LexicalAnalyzer (CCF::TokenStream& is) - : IDL2::LexicalAnalyzer (is), - IDL3::LexicalAnalyzer (is), - - composition (new Keyword), - entity (new Keyword), - executor (new Keyword), - implements (new Keyword), - process (new Keyword), - service (new Keyword), - session (new Keyword) - { - - keyword_table_["composition"] = composition; - keyword_table_["entity" ] = entity; - keyword_table_["executor" ] = executor; - keyword_table_["implements" ] = implements; - keyword_table_["process" ] = process; - keyword_table_["service" ] = service; - keyword_table_["session" ] = session; - } - }; -} - -#endif // CCF_CIDL_LEXICAL_ANALYZER_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_Parser.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_Parser.hpp deleted file mode 100644 index cd1bee26496..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_Parser.hpp +++ /dev/null @@ -1,202 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_PARSER_HPP -#define CCF_CIDL_PARSER_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/IDL3/IDL3_Parser.hpp" -#include "CCF/CIDL/CIDL_LexicalAnalyzer.hpp" -#include "CCF/CIDL/CIDL_SemanticAction.hpp" - -namespace CIDL -{ - class Parser : public virtual IDL3::Parser - { - public: - virtual - ~Parser () throw () {} - - protected: - - // - // Semanic action types - // - typedef - SemanticAction::Composition - Composition; - - typedef - SemanticAction::HomeExecutor - HomeExecutor; - - protected: - LexicalAnalyzer const& lexer_; - SemanticActionFactory& actions_; - - // - // Primitives (alphabetic order). - // - - KeywordParser COMPOSITION; - KeywordParser ENTITY; - KeywordParser EXECUTOR; - KeywordParser IMPLEMENTS; - KeywordParser PROCESS; - KeywordParser SERVICE; - KeywordParser SESSION; - - // - // Language - // - - Rule extension; - - // Composition - Rule composition_decl; - Rule composition_header; - Rule composition_category; - - // Home executor - Rule home_executor_decl; - Rule home_executor_header; - Rule home_executor_body; - Rule home_executor_home_impl_decl; - Rule home_executor_executor_decl; - - public: - - Parser (LexicalAnalyzer const& l, SemanticActionFactory& f) - : IDL2::Parser (l, f), - IDL3::Parser (l, f), - lexer_ (l), - actions_ (f), - - COMPOSITION (l.composition), - ENTITY (l.entity), - EXECUTOR (l.executor), - IMPLEMENTS (l.implements), - PROCESS (l.process), - SERVICE (l.service), - SESSION (l.session), - - act_composition_begin (this, &Parser::act_composition_begin_core), - act_composition_open_scope (f.composition (), &Scope::open_scope), - act_composition_close_scope (f.composition (), &Scope::close_scope), - act_composition_end (f.composition (), &Composition::end), - - act_home_executor_begin (f.home_executor (), - &HomeExecutor::begin), - act_home_executor_open_scope (f.home_executor (), - &Scope::open_scope), - act_home_executor_implements (f.home_executor (), - &HomeExecutor::implements), - act_home_executor_manages (f.home_executor (), - &HomeExecutor::manages), - act_home_executor_close_scope (f.home_executor (), - &Scope::open_scope), - act_home_executor_end (f.home_executor (), - &HomeExecutor::end) - - { - IDL3::Parser::extension = - composition_decl - | extension - ; - - // - // Composition - // - composition_decl = - composition_header - >> LBRACE[act_composition_open_scope] - >> home_executor_decl - >> RBRACE[act_composition_close_scope] - >> SEMI[act_composition_end] - ; - - composition_header = - COMPOSITION - >> (composition_category >> simple_identifier)[act_composition_begin] - ; - - composition_category = - ENTITY - | PROCESS - | SERVICE - | SESSION - ; - - // - // Home executor - // - home_executor_decl = - home_executor_header - >> LBRACE[act_home_executor_open_scope] - >> home_executor_home_impl_decl - >> home_executor_executor_decl - >> RBRACE[act_home_executor_close_scope] - >> SEMI[act_home_executor_end] - ; - - home_executor_header = - HOME - >> EXECUTOR - >> simple_identifier[act_home_executor_begin] - ; - - home_executor_home_impl_decl = - IMPLEMENTS - >> identifier[act_home_executor_implements] - >> SEMI - ; - - home_executor_executor_decl = - MANAGES - >> simple_identifier[act_home_executor_manages] - >> SEMI - ; - } - - protected: - void - act_composition_begin_core (Iterator begin, Iterator end) const - { - Composition::Category::Value c; - - if(identical (lexer_.entity, *begin)) - { - c = Composition::Category::ENTITY; - } - else if (identical (lexer_.process, *begin)) - { - c = Composition::Category::PROCESS; - } - else if (identical (lexer_.service, *begin)) - { - c = Composition::Category::SERVICE; - } - else - { - c = Composition::Category::SESSION; - } - - begin++; - - actions_.composition ().begin (typical(*begin), c); - } - - ActionExecutor act_composition_begin; - ScopeAction act_composition_open_scope; - ScopeAction act_composition_close_scope; - NoArgAction act_composition_end; - - OneArgAction act_home_executor_begin; - ScopeAction act_home_executor_open_scope; - OneArgAction act_home_executor_implements; - OneArgAction act_home_executor_manages; - ScopeAction act_home_executor_close_scope; - NoArgAction act_home_executor_end; - }; -} - -#endif // CCF_CIDL_PARSER_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticAction.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticAction.hpp deleted file mode 100644 index 714a6fa2722..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticAction.hpp +++ /dev/null @@ -1,74 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_SEMANTIC_ACTION_HPP -#define CCF_CIDL_SEMANTIC_ACTION_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/IDL3/IDL3_SemanticAction.hpp" - -namespace CIDL -{ - namespace SemanticAction - { - using namespace IDL3::SemanticAction; - - class Composition : public virtual Scope - { - public: - struct Category - { - enum Value - { - ENTITY, - PROCESS, - SERVICE, - SESSION - }; - - friend std::ostream& - operator<< (std::ostream& o, Value v) - { - if (v == ENTITY) o << "entity"; - else if (v == PROCESS) o << "process"; - else if (v == SERVICE) o << "service"; - else o << "session"; - return o; - } - }; - - virtual void - begin (SimpleIdentifierPtr const& id, Category::Value category) = 0; - - virtual void - end () = 0; - }; - - class HomeExecutor : public virtual Scope - { - public: - virtual void - begin (SimpleIdentifierPtr const& id) = 0; - - virtual void - implements (IdentifierPtr const& id) = 0; - - virtual void - manages (SimpleIdentifierPtr const& id) = 0; - - virtual void - end () = 0; - }; - } - - class SemanticActionFactory : public virtual IDL3::SemanticActionFactory - { - public: - virtual SemanticAction::Composition& - composition () = 0; - - virtual SemanticAction::HomeExecutor& - home_executor () = 0; - }; -} - -#endif // CCF_CIDL_SEMANTIC_ACTION_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticActionImpl.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticActionImpl.hpp deleted file mode 100644 index 17a809784a7..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SemanticActionImpl.hpp +++ /dev/null @@ -1,251 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_SEMANTIC_ACTION_IMPL_HPP -#define CCF_CIDL_SEMANTIC_ACTION_IMPL_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/CIDL/CIDL_SyntaxTree.hpp" -#include "CCF/CIDL/CIDL_SemanticAction.hpp" -#include "CCF/IDL3/IDL3_SemanticActionImpl.hpp" - -namespace CIDL -{ - namespace SemanticAction - { - namespace Impl - { - using IDL2::SemanticAction::Impl::ScopeBase; - - class Composition : public virtual SemanticAction::Composition, - public virtual ScopeBase - { - public: - virtual - ~Composition () throw () {} - - Composition (SyntaxTree::ScopePtr& scope) - : ScopeBase (scope) - { - } - - virtual void - begin (SimpleIdentifierPtr const& id, Category::Value c) - { - cerr << "composition " << c << " " << id << endl; - - SyntaxTree::SimpleName name (id->value ()); - - SyntaxTree::Composition::Category::Value category = - SyntaxTree::Composition::Category::SESSION; - - if (c == Category::ENTITY) - { - category = SyntaxTree::Composition::Category::ENTITY; - } - else if (c == Category::PROCESS) - { - category = SyntaxTree::Composition::Category::PROCESS; - } - else if (c == Category::SERVICE) - { - category = SyntaxTree::Composition::Category::SERVICE; - } - - SyntaxTree::CompositionPtr cp ( - new SyntaxTree::Composition (name, category, scope_)); - - scope_->insert (cp); - push (cp); - } - - virtual void - open_scope () - { - scope_ = top (); - } - - virtual void - close_scope () - { - scope_ = scope_->scope (); - } - - virtual void - end () - { - pop (); - cerr << "end" << endl; - } - }; - - class HomeExecutor : - public virtual SemanticAction::HomeExecutor, - public virtual ScopeBase - { - public: - virtual - ~HomeExecutor () throw () {} - - HomeExecutor (SyntaxTree::ScopePtr& scope) - : ScopeBase (scope), - name_ (""), - implements_ (""), - manages_ ("") - - { - } - - virtual void - begin (SimpleIdentifierPtr const& id) - { - cerr << "home executor " << id << endl; - name_ = SyntaxTree::SimpleName (id->value ()); - } - - virtual void - open_scope () - { - // Note: nothing is expected to go to home executor scope - // so watch for grammar changes. - } - - virtual void - implements (IdentifierPtr const& id) - { - cerr << "implements " << id << endl; - - using namespace SyntaxTree; - - Name name (id->value ()); - - struct ImplementsPredicate : - public DeclarationTable::ResolvePredicate - { - struct IncompatibleType : - public DeclarationTable::ResolutionFailure - { - IncompatibleType (std::string const& t) : type (t) {} - std::string type; - }; - - virtual bool - test (DeclarationPtr const& d) - throw (IncompatibleType) - { - std::string type = d->declaration_type (); - - if (type != "home") throw IncompatibleType (type); - - return strict_cast (d)->defined (); - } - } p; - - try - { - ScopedName sn = scope_->table ().resolve ( - name, - scope_->name (), - scope_->peek_order (), - p); - - implements_ = sn; - } - catch (ImplementsPredicate::IncompatibleType const& e) - { - cerr << "error: invalid implements specification" << endl; - - cerr << "specifying " << e.type << " \'" << name - << "\' in home executor implements clause is illegal" - << endl; - } - catch (DeclarationTable::NameNotFound const&) - { - cerr << "error: invalid implements specification" << endl; - cerr << "no home with name \'" - << name << "\' visible from scope \'" - << scope_->name () << "\'" << endl; - } - catch (DeclarationTable::PredicateNotMet const&) - { - cerr << "error: invalid implements specification" << endl; - cerr << "no defined home with name \'" - << name << "\' visible from scope \'" - << scope_->name () << "\'" << endl; - cerr << "implementing forward-declared home is illegal" - << endl; - } - - } - - virtual void - manages (SimpleIdentifierPtr const& id) - { - cerr << "manages " << id << endl; - manages_ = SyntaxTree::SimpleName (id->value ()); - } - - virtual void - close_scope () - { - // Note: nothing is expected to go to home executor scope - // so watch for grammar changes. - } - - virtual void - end () - { - cerr << "end" << endl; - - using namespace SyntaxTree; - - HomeExecutorPtr he (new SyntaxTree::HomeExecutor ( - name_, - scope_, - implements_, - manages_)); - scope_->insert (he); - } - private: - SyntaxTree::SimpleName name_; - SyntaxTree::ScopedName implements_; - SyntaxTree::SimpleName manages_; - }; - } - } - - //@@ Maybe I should bring this class back in to Impl namespace. - class SemanticActionFactoryImpl : - public virtual CIDL::SemanticActionFactory, - public virtual IDL3::SemanticActionFactoryImpl - { - public: - virtual - ~SemanticActionFactoryImpl () throw () {} - - SemanticActionFactoryImpl (SyntaxTree::TranslationRegionPtr const& r) - : IDL2::SemanticActionFactoryImpl (r), - IDL3::SemanticActionFactoryImpl (r), - composition_ (scope_), - home_executor_ (scope_) - { - } - public: - virtual SemanticAction::Composition& - composition () - { - return composition_; - } - - virtual SemanticAction::HomeExecutor& - home_executor () - { - return home_executor_; - } - - private: - SemanticAction::Impl::Composition composition_; - SemanticAction::Impl::HomeExecutor home_executor_; - }; -} - -#endif // CCF_CIDL_SEMANTIC_ACTION_IMPL_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp deleted file mode 100644 index 577b426e73c..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ -#include "CIDL_Traversal.hpp" -#include "CIDL_SyntaxTree.hpp" - -namespace CIDL -{ - namespace SyntaxTree - { - using CCF::Traversal::try_visit; - - namespace - { - //@@ repetition of what's already in IDL2 & IDL3 - bool - try_visit_scope (CCF::Traversal::Visitor* v, - ScopePtr const& node) - { - return try_visit ( - &Traversal::Scope::visit_scope, - v, - node); - } - } - - // - // Composition - // - - void Composition:: - accept (CCF::Traversal::Visitor* v) - { - CompositionPtr self (ReferenceCounting::add_ref (this)); - - if (!try_visit ( - &Traversal::Composition::visit_composition, - v, - self)) - { - try_visit_scope (v, self); - } - } - - // - // Home - // - - void HomeExecutor:: - accept (CCF::Traversal::Visitor* v) - { - HomeExecutorPtr self (ReferenceCounting::add_ref (this)); - - if (!try_visit ( - &Traversal::HomeExecutor::visit_home_executor, - v, - self)) - { - try_visit_scope (v, self); - } - } - } -} diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.hpp deleted file mode 100644 index 6b1e9df4f66..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.hpp +++ /dev/null @@ -1,141 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_SYNTAX_TREE_HPP -#define CCF_CIDL_SYNTAX_TREE_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/IDL3/IDL3_SyntaxTree.hpp" - -namespace CIDL -{ - namespace SyntaxTree - { - - // Import all nodes of IDL3 - using namespace IDL3::SyntaxTree; - - - class Composition : public virtual Scope - { - public: - struct Category - { - enum Value - { - ENTITY, - PROCESS, - SERVICE, - SESSION - }; - - friend std::ostream& - operator<< (std::ostream& o, Value v) - { - if (v == ENTITY) o << "entity"; - else if (v == PROCESS) o << "process"; - else if (v == SERVICE) o << "service"; - else o << "session"; - return o; - } - }; - - public: - virtual - ~Composition () throw () {} - - Composition (SimpleName const& name, - Category::Value category, - ScopePtr const& scope) - : Declaration (name, scope), - Scope (name, scope), - category_ (category) - { - } - - public: - Category::Value - category () const - { - return category_; - } - - // Runtime declaration type information - public: - virtual std::string - declaration_type () - { - return "composition"; - } - - // Traversal - public: - virtual void - accept (CCF::Traversal::Visitor* v); - - private: - Category::Value category_; - }; - - typedef - StrictPtr - CompositionPtr; - - typedef - DeclarationOrderComparator - CompositionOrderComparator; - - class HomeExecutor : public virtual Scope - { - public: - virtual - ~HomeExecutor () throw () {} - - HomeExecutor (SimpleName const& name, - ScopePtr const& scope, - ScopedName implements, - SimpleName manages) - : Declaration (name, scope), - Scope (name, scope), - implements_ (scope->table (), implements), - manages_ (manages) - { - } - - public: - HomeDefPtr - implements () const - { - return implements_.resolve (); - } - - SimpleName - manages () const - { - return manages_; - } - - // Runtime declaration type information - public: - virtual std::string - declaration_type () - { - return "home executor"; - } - - // Traversal - public: - virtual void - accept (CCF::Traversal::Visitor* v); - - private: - HomeDefRef implements_; - SimpleName manages_; - }; - - typedef - StrictPtr - HomeExecutorPtr; - } -} - -#endif // CCF_CIDL_SYNTAX_TREE_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTreeFwd.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTreeFwd.hpp deleted file mode 100644 index 80229bb5722..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTreeFwd.hpp +++ /dev/null @@ -1,29 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_SYNTAX_TREE_FWD_HPP -#define CCF_CIDL_SYNTAX_TREE_FWD_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/IDL3/IDL3_SyntaxTreeFwd.hpp" - -namespace CIDL -{ - namespace SyntaxTree - { - - // Import all nodes of IDL3 - using namespace IDL3::SyntaxTree; - - class Composition; - typedef - StrictPtr - CompositionPtr; - - class HomeExecutor; - typedef - StrictPtr - HomeExecutorPtr; - } -} - -#endif // CCF_CIDL_SYNTAX_TREE_FWD_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.cpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.cpp deleted file mode 100644 index 22c635605f0..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.cpp +++ /dev/null @@ -1,79 +0,0 @@ -// $Id$ -#include "CIDL_Traversal.hpp" -#include "CIDL_SyntaxTree.hpp" - -namespace CIDL -{ - namespace Traversal - { - namespace - { - //@@ code duplication - void - iterate_scope (SyntaxTree::ScopePtr const& s, - CCF::Traversal::Visitor* v) - { - for (SyntaxTree::Scope::Iterator i = s->begin (); i != s->end (); i++) - { - (*i)->accept (v); - } - } - } - - // - // Composition - // - - void Composition:: - visit_composition (NodePtr const& c) - { - visit_composition_pre (c); - visit_composition_scope (c); - visit_composition_post (c); - } - - void Composition:: - visit_composition_pre (NodePtr const&) - { - } - - void Composition:: - visit_composition_scope (NodePtr const& c) - { - iterate_scope (c, this); - } - - void Composition:: - visit_composition_post (NodePtr const&) - { - } - - // - // HomeExecutor - // - - void HomeExecutor:: - visit_home_executor (NodePtr const& he) - { - visit_home_executor_pre (he); - visit_home_executor_scope (he); - visit_home_executor_post (he); - } - - void HomeExecutor:: - visit_home_executor_pre (NodePtr const&) - { - } - - void HomeExecutor:: - visit_home_executor_scope (NodePtr const& he) - { - iterate_scope (he, this); - } - - void HomeExecutor:: - visit_home_executor_post (NodePtr const&) - { - } - } -} diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.hpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.hpp deleted file mode 100644 index c562ecd4d42..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_Traversal.hpp +++ /dev/null @@ -1,50 +0,0 @@ -// $Id$ -#ifndef CCF_CIDL_TRAVERSAL_HPP -#define CCF_CIDL_TRAVERSAL_HPP - -#include "MSVC_Pragmas.hpp" - -#include "CCF/IDL3/IDL3_Traversal.hpp" -#include "CCF/CIDL/CIDL_SyntaxTreeFwd.hpp" - -namespace CIDL -{ - namespace Traversal - { - // Import visitors from IDL3 - using namespace IDL3::Traversal; - - // - // Composition - // - struct Composition : virtual CCF::Traversal::Visitor - { - typedef - SyntaxTree::CompositionPtr - NodePtr; - - virtual void visit_composition (NodePtr const& c); - virtual void visit_composition_pre (NodePtr const& c); - virtual void visit_composition_scope (NodePtr const& c); - virtual void visit_composition_post (NodePtr const& c); - }; - - // - // HomeExecutor - // - struct HomeExecutor : virtual CCF::Traversal::Visitor - { - typedef - SyntaxTree::HomeExecutorPtr - NodePtr; - - virtual void visit_home_executor (NodePtr const& he); - virtual void visit_home_executor_pre (NodePtr const& he); - virtual void visit_home_executor_scope (NodePtr const& he); - virtual void visit_home_executor_post (NodePtr const& he); - - }; - } -} - -#endif // CCF_CIDL_TRAVERSAL_HPP diff --git a/TAO/CIAO/CCF/CCF/CIDL/MSVC_Pragmas.hpp b/TAO/CIAO/CCF/CCF/CIDL/MSVC_Pragmas.hpp deleted file mode 100644 index 724b5b52646..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/MSVC_Pragmas.hpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ -#ifndef MSVC_PRAGMAS_HPP -#define MSVC_PRAGMAS_HPP - - -// Various warnings that have to be disabled for MSVC. - -// 'this' : used in base member initializer list -#pragma warning(disable:4355) -// 'class1' : inherits 'class2::member' via dominance -#pragma warning(disable:4250) -// C++ Exception Specification ignored -#pragma warning(disable:4290) - - -#endif /* MSVC_PRAGMAS_HPP */ \ No newline at end of file diff --git a/TAO/CIAO/CCF/CCF/CIDL/Makefile b/TAO/CIAO/CCF/CCF/CIDL/Makefile deleted file mode 100644 index 8df971662da..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# File : Makefile -# Author : Boris Kolpackov -# $Id$ - -root = ../../External/Utility - -include $(root)/Config/Archive.pre.rules - -cxx_translation_units := CIDL.cpp \ - CIDL_SyntaxTree.cpp \ - CIDL_Traversal.cpp - -module_base := CIDL -module_prefix := -module_suffix := - -CXX_PREPROCESS_FLAGS += -I../.. \ - -I../../External/Utility \ - -I../../External/boost \ - -include $(root)/Config/Archive.post.rules diff --git a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.cpp b/TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.cpp deleted file mode 100644 index cfa1da318d3..00000000000 --- a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.cpp +++ /dev/null @@ -1 +0,0 @@ -// $Id$ diff --git a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.vcproj b/TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.vcproj deleted file mode 100644 index 857c5bfd741..00000000000 --- a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CodeGenerationKit.vcproj +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.cpp b/TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.cpp deleted file mode 100644 index f07dd8c10bc..00000000000 --- a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// File : CommandLine.cpp -// Author : Boris Kolpackov -// $Id$ - -#include "CCF/CodeGenerationKit/CommandLine.hpp" diff --git a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp b/TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp deleted file mode 100644 index 94c05320287..00000000000 --- a/TAO/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp +++ /dev/null @@ -1,202 +0,0 @@ -// File : CommandLine.hpp -// Author : Boris Kolpackov -// $Id$ - -#ifndef COMMAND_LINE_H -#define COMMAND_LINE_H - -#include "MSVC_Pragmas.hpp" - -#include -#include -#include - -using namespace std; - -//@@ this stuff needs proper reimplementation - -class CommandLine -{ -public: - - CommandLine () throw () : separator (false) {} - - - // Option constrain checking -public: - - bool - require (std::string option) const throw () - { - return std::find_if (options.begin (), - options.end (), - OptionNamePredicat (option)) != options.end (); - } - - bool - depends (std::string dependant, - std::string principal) const throw () - { - Options::const_iterator begin = options.begin (); - Options::const_iterator end = options.end (); - - if (std::find_if (begin, end, OptionNamePredicat (dependant)) != end) - { - return std::find_if (begin, end, OptionNamePredicat (principal)) != end; - } - else - { - return true; - } - } - - bool - inconsistent (std::string a, - std::string b) const throw () - { - Options::const_iterator begin = options.begin (); - Options::const_iterator end = options.end (); - - if (std::find_if (begin, end, OptionNamePredicat (a)) != end) - { - return std::find_if (begin, end, OptionNamePredicat (b)) == end; - } - else - { - return true; - } - } - - std::string - get_value (std::string name, std::string const& not_found_value) const - { - Options::const_iterator i = std::find_if ( - options.begin (), - options.end (), - OptionNamePredicat (name)); - - if (i != options.end () && !(i->value_.empty ())) - { - return i->value_; - } - else - { - return not_found_value; - } - } - - std::string - get_value (std::string name, char const* not_found_value) const - { - Options::const_iterator i = std::find_if ( - options.begin (), - options.end (), - OptionNamePredicat (name)); - - if (i != options.end () && !(i->value_.empty ())) - { - return i->value_; - } - else - { - return std::string (not_found_value); - } - } - - bool - get_value (std::string name, bool not_found_value) const - { - Options::const_iterator i = std::find_if ( - options.begin (), - options.end (), - OptionNamePredicat (name)); - - if (i != options.end ()) - { - return true; - } - else - { - return not_found_value; - } - } - - // Arguments - // - // - - typedef - std::vector - Arguments; - - typedef - Arguments::const_iterator - ArgumentIterator; - - ArgumentIterator - argument_begin () const - { - return arguments.begin (); - } - - - ArgumentIterator - argument_end () const - { - return arguments.end (); - } - - -public: - - struct Option - { - enum OptionType - { - EQUATIONAL, - COMPOSITE - }; - - Option (OptionType type, - std::string const& name, - std::string const& value) throw () - : type_ (type), - name_ (name), - value_ (value) - { - } - - OptionType type_; - std::string name_; - std::string value_; - }; - - - - struct OptionNamePredicat - { - OptionNamePredicat (std::string const& name) - : name_ (name) - { - } - - bool operator ()(Option const& option) throw () - { - return name_ == option.name_; - } - - private: - std::string const name_; - }; - - typedef std::vector