diff options
author | gonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-31 22:55:22 +0000 |
---|---|---|
committer | gonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-31 22:55:22 +0000 |
commit | 2dcdd3b6a1806cf231a4ccdca59a106132d9e1be (patch) | |
tree | 7774cf0fef5bbe805a0e0817bb55ff8ad5489c7f | |
parent | 85b30f9d091af39e1e61fa92ce8f351ee520bc31 (diff) | |
download | ATCD-2dcdd3b6a1806cf231a4ccdca59a106132d9e1be.tar.gz |
Added ACE_RCSID to examples/
222 files changed, 736 insertions, 97 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 5369c439fba..716a6cba952 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,3 +1,216 @@ +Fri Jul 31 17:50:01 1998 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu> + + * ace/TP_Reactor.cpp: + Added ACE_RCSID to this file, and all the .cpp files in examples, + listed below. + + * examples/ASX/CCM_App/CCM_App.cpp: + * examples/ASX/CCM_App/SC_Client.cpp: + * examples/ASX/CCM_App/SC_Server.cpp: + * examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp: + * examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp: + * examples/ASX/Event_Server/Event_Server/Options.cpp: + * examples/ASX/Event_Server/Event_Server/Peer_Router.cpp: + * examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp: + * examples/ASX/Event_Server/Event_Server/event_server.cpp: + * examples/ASX/Event_Server/Transceiver/transceiver.cpp: + * examples/ASX/Message_Queue/bounded_buffer.cpp: + * examples/ASX/Message_Queue/buffer_stream.cpp: + * examples/ASX/Message_Queue/priority_buffer.cpp: + * examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp: + * examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp: + * examples/ASX/UPIPE_Event_Server/Options.cpp: + * examples/ASX/UPIPE_Event_Server/Peer_Router.cpp: + * examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp: + * examples/ASX/UPIPE_Event_Server/event_server.cpp: + * examples/CORBA/Test_i.cpp: + * examples/CORBA/client.cpp: + * examples/CORBA/server.cpp: + * examples/Connection/blocking/SPIPE-acceptor.cpp: + * examples/Connection/blocking/SPIPE-connector.cpp: + * examples/Connection/blocking/test_spipe_acceptor.cpp: + * examples/Connection/blocking/test_spipe_connector.cpp: + * examples/Connection/misc/Connection_Handler.cpp: + * examples/Connection/misc/test_upipe.cpp: + * examples/Connection/non_blocking/CPP-acceptor.cpp: + * examples/Connection/non_blocking/CPP-connector.cpp: + * examples/Connection/non_blocking/test_lsock_acceptor.cpp: + * examples/Connection/non_blocking/test_lsock_connector.cpp: + * examples/Connection/non_blocking/test_sock_acceptor.cpp: + * examples/Connection/non_blocking/test_sock_connector.cpp: + * examples/Connection/non_blocking/test_spipe_acceptor.cpp: + * examples/Connection/non_blocking/test_spipe_connector.cpp: + * examples/Connection/non_blocking/test_tli_acceptor.cpp: + * examples/Connection/non_blocking/test_tli_connector.cpp: + * examples/IOStream/client/iostream_client.cpp: + * examples/IOStream/server/iostream_server.cpp: + * examples/IPC_SAP/DEV_SAP/reader/reader.cpp: + * examples/IPC_SAP/DEV_SAP/writer/writer.cpp: + * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp: + * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp: + * examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp: + * examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp: + * examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp: + * examples/IPC_SAP/FILE_SAP/client.cpp: + * examples/IPC_SAP/SOCK_SAP/C-inclient.cpp: + * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp: + * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: + * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp: + * examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp: + * examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp: + * examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp: + * examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp: + * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp: + * examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp: + * examples/IPC_SAP/SPIPE_SAP/NPClient.cpp: + * examples/IPC_SAP/SPIPE_SAP/NPServer.cpp: + * examples/IPC_SAP/SPIPE_SAP/client.cpp: + * examples/IPC_SAP/SPIPE_SAP/consumer_msg.cpp: + * examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp: + * examples/IPC_SAP/SPIPE_SAP/producer_msg.cpp: + * examples/IPC_SAP/SPIPE_SAP/producer_read.cpp: + * examples/IPC_SAP/SPIPE_SAP/server.cpp: + * examples/IPC_SAP/TLI_SAP/CPP-client.cpp: + * examples/IPC_SAP/TLI_SAP/CPP-server.cpp: + * examples/IPC_SAP/TLI_SAP/db-client.cpp: + * examples/IPC_SAP/TLI_SAP/db-server.cpp: + * examples/IPC_SAP/TLI_SAP/ftp-client.cpp: + * examples/IPC_SAP/TLI_SAP/ftp-server.cpp: + * examples/IPC_SAP/UPIPE_SAP/ex1.cpp: + * examples/IPC_SAP/UPIPE_SAP/ex2.cpp: + * examples/IPC_SAP/UPIPE_SAP/ex3.cpp: + * examples/Log_Msg/test_log_msg.cpp: + * examples/Logger/Acceptor-server/server_loggerd.cpp: + * examples/Logger/client/logging_app.cpp: + * examples/Logger/simple-server/Logging_Acceptor.cpp: + * examples/Logger/simple-server/Logging_Handler.cpp: + * examples/Logger/simple-server/server_loggerd.cpp: + * examples/Map_Manager/test_hash_map_manager.cpp: + * examples/Mem_Map/IO-tests/IO_Test.cpp: + * examples/Mem_Map/IO-tests/test_io.cpp: + * examples/Mem_Map/file-reverse/file-reverse.cpp: + * examples/Misc/test_XtReactor1.cpp: + * examples/Misc/test_XtReactor2.cpp: + * examples/Misc/test_dump.cpp: + * examples/Misc/test_get_opt.cpp: + * examples/Misc/test_profile_timer.cpp: + * examples/Misc/test_read_buffer.cpp: + * examples/Misc/test_set.cpp: + * examples/Misc/test_sstring.cpp: + * examples/Misc/test_trace.cpp: + * examples/Naming/test_multiple_contexts.cpp: + * examples/Naming/test_non_existent.cpp: + * examples/Naming/test_open.cpp: + * examples/Naming/test_writers.cpp: + * examples/OS/Process/imore.cpp: + * examples/OS/Process/process.cpp: + * examples/Reactor/Dgram/CODgram.cpp: + * examples/Reactor/Dgram/Dgram.cpp: + * examples/Reactor/FIFO/client.cpp: + * examples/Reactor/FIFO/server.cpp: + * examples/Reactor/Misc/notification.cpp: + * examples/Reactor/Misc/pingpong.cpp: + * examples/Reactor/Misc/test_demuxing.cpp: + * examples/Reactor/Misc/test_event_handler_t.cpp: + * examples/Reactor/Misc/test_reactors.cpp: + * examples/Reactor/Misc/test_signals_1.cpp: + * examples/Reactor/Misc/test_signals_2.cpp: + * examples/Reactor/Misc/test_time_value.cpp: + * examples/Reactor/Misc/test_timer_queue.cpp: + * examples/Reactor/Multicast/Log_Wrapper.cpp: + * examples/Reactor/Multicast/client.cpp: + * examples/Reactor/Multicast/server.cpp: + * examples/Reactor/Ntalker/ntalker.cpp: + * examples/Reactor/Proactor/test_multiple_loops.cpp: + * examples/Reactor/Proactor/test_proactor.cpp: + * examples/Reactor/Proactor/test_proactor_with_aio.cpp: + * examples/Reactor/Proactor/test_timeout.cpp: + * examples/Reactor/ReactorEx/test_abandoned.cpp: + * examples/Reactor/ReactorEx/test_apc.cpp: + * examples/Reactor/ReactorEx/test_console_input.cpp: + * examples/Reactor/ReactorEx/test_directory_changes.cpp: + * examples/Reactor/ReactorEx/test_exceptions.cpp: + * examples/Reactor/ReactorEx/test_multithreading.cpp: + * examples/Reactor/ReactorEx/test_network_events.cpp: + * examples/Reactor/ReactorEx/test_prerun_state_changes.cpp: + * examples/Reactor/ReactorEx/test_registration.cpp: + * examples/Reactor/ReactorEx/test_registry_changes.cpp: + * examples/Reactor/ReactorEx/test_removals.cpp: + * examples/Reactor/ReactorEx/test_talker.cpp: + * examples/Reactor/ReactorEx/test_timeouts.cpp: + * examples/Reactor/ReactorEx/test_window_messages.cpp: + * examples/Registry/test_registry_iterator.cpp: + * examples/Registry/test_registry_update.cpp: + * examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp: + * examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp: + * examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp: + * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.cpp: + * examples/Service_Configurator/IPC-tests/server/server_test.cpp: + * examples/Service_Configurator/Misc/Timer_Service.cpp: + * examples/Service_Configurator/Misc/main.cpp: + * examples/Shared_Malloc/Malloc.cpp: + * examples/Shared_Malloc/Options.cpp: + * examples/Shared_Malloc/test_malloc.cpp: + * examples/Shared_Malloc/test_multiple_mallocs.cpp: + * examples/Shared_Malloc/test_persistence.cpp: + * examples/Shared_Memory/test_MM.cpp: + * examples/Shared_Memory/test_SV.cpp: + * examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp: + * examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp: + * examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp: + * examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp: + * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp: + * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp: + * examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.cpp: + * examples/Threads/auto_event.cpp: + * examples/Threads/barrier1.cpp: + * examples/Threads/barrier2.cpp: + * examples/Threads/cancel.cpp: + * examples/Threads/future1.cpp: + * examples/Threads/future2.cpp: + * examples/Threads/manual_event.cpp: + * examples/Threads/process_manager.cpp: + * examples/Threads/process_mutex.cpp: + * examples/Threads/process_semaphore.cpp: + * examples/Threads/reader_writer.cpp: + * examples/Threads/recursive_mutex.cpp: + * examples/Threads/task_five.cpp: + * examples/Threads/task_four.cpp: + * examples/Threads/task_one.cpp: + * examples/Threads/task_three.cpp: + * examples/Threads/task_two.cpp: + * examples/Threads/thread_manager.cpp: + * examples/Threads/thread_pool.cpp: + * examples/Threads/thread_specific.cpp: + * examples/Threads/token.cpp: + * examples/Threads/tss1.cpp: + * examples/Threads/tss2.cpp: + * examples/Threads/wfmo.cpp: + * examples/Timer_Queue/Async_Timer_Queue_Test.cpp: + * examples/Timer_Queue/Driver.cpp: + * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp: + * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: + * examples/Timer_Queue/main_async.cpp: + * examples/Timer_Queue/main_reactor.cpp: + * examples/Timer_Queue/main_thread.cpp: + Fri Jul 31 12:07:16 1998 Irfan Pyarali <irfan@cs.wustl.edu> * ace/XtReactor.cpp (XtWaitForMultipleEvents): The first select() diff --git a/ace/TP_Reactor.cpp b/ace/TP_Reactor.cpp index 0bfb6608235..a972cde702f 100644 --- a/ace/TP_Reactor.cpp +++ b/ace/TP_Reactor.cpp @@ -9,6 +9,8 @@ #include "ace/TP_Reactor.i" #endif /* __ACE_INLINE__ */ +ACE_RCSID(ace, TP_Reactor, "$Id$") + ACE_ALLOC_HOOK_DEFINE (ACE_TP_Reactor) ACE_TP_Reactor::ACE_TP_Reactor (ACE_Sig_Handler *sh, diff --git a/examples/ASX/CCM_App/CCM_App.cpp b/examples/ASX/CCM_App/CCM_App.cpp index e0330cf53de..33950fc4015 100644 --- a/examples/ASX/CCM_App/CCM_App.cpp +++ b/examples/ASX/CCM_App/CCM_App.cpp @@ -1,10 +1,13 @@ -#define ACE_BUILD_SVC_DLL // $Id$ +#define ACE_BUILD_SVC_DLL + #include "ace/Stream.h" #include "ace/Task.h" #include "ace/Module.h" +ACE_RCSID(CCM_App, CCM_App, "$Id$") + typedef ACE_Task<ACE_SYNCH> MT_Task; typedef ACE_Stream<ACE_SYNCH> MT_Stream; typedef ACE_Module<ACE_SYNCH> MT_Module; diff --git a/examples/ASX/CCM_App/SC_Client.cpp b/examples/ASX/CCM_App/SC_Client.cpp index b1dc59ae2ee..41453b3eb5d 100644 --- a/examples/ASX/CCM_App/SC_Client.cpp +++ b/examples/ASX/CCM_App/SC_Client.cpp @@ -1,6 +1,10 @@ -// Pretty simple, eh? ;-) // $Id$ +#include "ace/ACE.h" + +ACE_RCSID(CCM_App, SC_Client, "$Id$") + +// Pretty simple, eh? ;-) int main (int, char *[]) diff --git a/examples/ASX/CCM_App/SC_Server.cpp b/examples/ASX/CCM_App/SC_Server.cpp index 0261cb39282..189a46ab98c 100644 --- a/examples/ASX/CCM_App/SC_Server.cpp +++ b/examples/ASX/CCM_App/SC_Server.cpp @@ -1,12 +1,14 @@ -// Simple driver program for the server. // $Id$ +// Simple driver program for the server. #include "ace/Service_Config.h" #include "ace/Thread_Manager.h" #include "ace/Synch.h" #include "ace/Signal.h" +ACE_RCSID(CCM_App, SC_Server, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: @@ -44,9 +46,9 @@ main (int argc, char *argv[]) Event_Handler handler; ACE_Sig_Adapter shutdown_handler ((ACE_Sig_Handler_Ex) ACE_Reactor::end_event_loop); - if (ACE::register_stdin_handler (&handler, - ACE_Reactor::instance (), - ACE_Thread_Manager::instance ()) == -1) + if (ACE_Event_Handler::register_stdin_handler (&handler, + ACE_Reactor::instance (), + ACE_Thread_Manager::instance ()) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "register_stdin_handler")); if (loggerd.open (argc, argv) == -1 && errno != ENOENT) diff --git a/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp b/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp index 27788af3719..165e370e87b 100644 --- a/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp +++ b/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp @@ -3,6 +3,8 @@ #include "Consumer_Router.h" #include "Options.h" +ACE_RCSID(Event_Server, Consumer_Router, "$Id$") + Consumer_Router::Consumer_Router (Peer_Router_Context *prc) : Peer_Router (prc) { diff --git a/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp b/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp index 5a796f31bd8..4e4bce2f993 100644 --- a/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp +++ b/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp @@ -3,6 +3,8 @@ #include "Options.h" #include "Event_Analyzer.h" +ACE_RCSID(Event_Server, Event_Analyzer, "$Id$") + int Event_Analyzer::open (void *) { diff --git a/examples/ASX/Event_Server/Event_Server/Options.cpp b/examples/ASX/Event_Server/Event_Server/Options.cpp index 3febf822a22..96c6073d76a 100644 --- a/examples/ASX/Event_Server/Event_Server/Options.cpp +++ b/examples/ASX/Event_Server/Event_Server/Options.cpp @@ -6,6 +6,8 @@ #include "Options.h" +ACE_RCSID(Event_Server, Options, "$Id$") + /* static */ Options *Options::instance_ = 0; diff --git a/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp b/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp index 5ddf9e1b78a..b01611b14d6 100644 --- a/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp +++ b/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp @@ -8,6 +8,8 @@ #include "Options.h" #include "Peer_Router.h" +ACE_RCSID(Event_Server, Peer_Router, "$Id$") + // Send the <ACE_Message_Block> to all the peers. Note that in a // "real" application this logic would most likely be more selective, // i.e., it would actually do "routing" based on addressing diff --git a/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp b/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp index e42c9371eed..7e2018a3d56 100644 --- a/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp +++ b/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp @@ -3,6 +3,8 @@ #include "Supplier_Router.h" #include "Options.h" +ACE_RCSID(Event_Server, Supplier_Router, "$Id$") + // Handle outgoing messages in a separate thread. int diff --git a/examples/ASX/Event_Server/Event_Server/event_server.cpp b/examples/ASX/Event_Server/Event_Server/event_server.cpp index 023d2427e14..dd4cdc87b3f 100644 --- a/examples/ASX/Event_Server/Event_Server/event_server.cpp +++ b/examples/ASX/Event_Server/Event_Server/event_server.cpp @@ -9,6 +9,8 @@ #include "Event_Analyzer.h" #include "Supplier_Router.h" +ACE_RCSID(Event_Server, event_server, "$Id$") + // Typedef these components to handle multi-threading correctly. typedef ACE_Stream<ACE_SYNCH> MT_Stream; typedef ACE_Module<ACE_SYNCH> MT_Module; diff --git a/examples/ASX/Event_Server/Transceiver/transceiver.cpp b/examples/ASX/Event_Server/Transceiver/transceiver.cpp index 640955c1f8c..a53530d0942 100644 --- a/examples/ASX/Event_Server/Transceiver/transceiver.cpp +++ b/examples/ASX/Event_Server/Transceiver/transceiver.cpp @@ -9,6 +9,8 @@ #include "ace/SOCK_Connector.h" #include "ace/Get_Opt.h" +ACE_RCSID(Transceiver, transceiver, "$Id$") + class Event_Transceiver : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> { // = TITLE diff --git a/examples/ASX/Message_Queue/bounded_buffer.cpp b/examples/ASX/Message_Queue/bounded_buffer.cpp index e0ea691d433..338b83dd5d9 100644 --- a/examples/ASX/Message_Queue/bounded_buffer.cpp +++ b/examples/ASX/Message_Queue/bounded_buffer.cpp @@ -7,6 +7,8 @@ #include "ace/Message_Queue.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Message_Queue, bounded_buffer, "$Id$") + #if defined (ACE_HAS_THREADS) // Global thread manager. diff --git a/examples/ASX/Message_Queue/buffer_stream.cpp b/examples/ASX/Message_Queue/buffer_stream.cpp index 4d8c86b9703..a3132c0beac 100644 --- a/examples/ASX/Message_Queue/buffer_stream.cpp +++ b/examples/ASX/Message_Queue/buffer_stream.cpp @@ -14,6 +14,8 @@ #include "ace/Module.h" #include "ace/Task.h" +ACE_RCSID(Message_Queue, buffer_stream, "$Id$") + #if defined (ACE_HAS_THREADS) typedef ACE_Stream<ACE_MT_SYNCH> MT_Stream; diff --git a/examples/ASX/Message_Queue/priority_buffer.cpp b/examples/ASX/Message_Queue/priority_buffer.cpp index 52976df02d5..9b20e8b36a3 100644 --- a/examples/ASX/Message_Queue/priority_buffer.cpp +++ b/examples/ASX/Message_Queue/priority_buffer.cpp @@ -9,6 +9,8 @@ #include "ace/Thread_Manager.h" #include "ace/Service_Config.h" +ACE_RCSID(Message_Queue, priority_buffer, "$Id$") + #if defined (ACE_HAS_THREADS) // Global thread manager. diff --git a/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp b/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp index 71c152b0687..5e15bdf137a 100644 --- a/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp +++ b/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp @@ -1,8 +1,10 @@ -#include "Consumer_Router.h" // $Id$ +#include "Consumer_Router.h" #include "Options.h" +ACE_RCSID(UPIPE_Event_Server, Consumer_Router, "$Id$") + #if defined (ACE_HAS_THREADS) typedef Acceptor_Factory<Consumer_Handler, CONSUMER_KEY> CONSUMER_FACTORY; diff --git a/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp b/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp index 10133b3c90e..9568788e417 100644 --- a/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp +++ b/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp @@ -1,6 +1,8 @@ -#include "Event_Analyzer.h" // $Id$ +#include "Event_Analyzer.h" + +ACE_RCSID(UPIPE_Event_Server, Event_Analyzer, "$Id$") #if defined (ACE_HAS_THREADS) diff --git a/examples/ASX/UPIPE_Event_Server/Options.cpp b/examples/ASX/UPIPE_Event_Server/Options.cpp index f77333da2a3..1865bc84b08 100644 --- a/examples/ASX/UPIPE_Event_Server/Options.cpp +++ b/examples/ASX/UPIPE_Event_Server/Options.cpp @@ -1,10 +1,12 @@ -#include "ace/Get_Opt.h" // $Id$ +#include "ace/Get_Opt.h" #include "ace/Synch.h" #include "Options.h" +ACE_RCSID(UPIPE_Event_Server, Options, "$Id$") + #if defined (ACE_HAS_THREADS) Options::Options (void) diff --git a/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp b/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp index d87ed2b263f..325456c46d4 100644 --- a/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp +++ b/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp @@ -1,6 +1,7 @@ -#if !defined (_PEER_ROUTER_C) // $Id$ +#if !defined (_PEER_ROUTER_C) + #define _PEER_ROUTER_C #include "ace/Get_Opt.h" @@ -9,6 +10,8 @@ #include "Peer_Router.h" #include "Options.h" +ACE_RCSID(UPIPE_Event_Server, Peer_Router, "$Id$") + #if defined (ACE_HAS_THREADS) // Define some short-hand macros to deal with long templates diff --git a/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp b/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp index b12f30a411f..8acac06b97b 100644 --- a/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp +++ b/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp @@ -3,6 +3,8 @@ #include "Options.h" #include "Supplier_Router.h" +ACE_RCSID(UPIPE_Event_Server, Supplier_Router, "$Id$") + #if defined (ACE_HAS_THREADS) typedef Acceptor_Factory<Supplier_Handler, SUPPLIER_KEY> SUPPLIER_FACTORY; diff --git a/examples/ASX/UPIPE_Event_Server/event_server.cpp b/examples/ASX/UPIPE_Event_Server/event_server.cpp index 08a339b4b03..0aecd9b992d 100644 --- a/examples/ASX/UPIPE_Event_Server/event_server.cpp +++ b/examples/ASX/UPIPE_Event_Server/event_server.cpp @@ -1,15 +1,18 @@ -// Test the event server. // $Id$ +// Test the event server. + #include "ace/Stream.h" #include "ace/Service_Config.h" +#include "ace/UPIPE_Acceptor.h" +#include "ace/UPIPE_Connector.h" +#include "ace/streams.h" #include "Options.h" #include "Consumer_Router.h" #include "Event_Analyzer.h" #include "Supplier_Router.h" -#include "ace/UPIPE_Acceptor.h" -#include "ace/UPIPE_Connector.h" -#include "ace/streams.h" + +ACE_RCSID(UPIPE_Event_Server, event_server, "$Id$") #if defined (ACE_HAS_THREADS) diff --git a/examples/CORBA/Test_i.cpp b/examples/CORBA/Test_i.cpp index e665287d142..03c969a6a0d 100644 --- a/examples/CORBA/Test_i.cpp +++ b/examples/CORBA/Test_i.cpp @@ -1,6 +1,8 @@ -#include "Test_i.h" // $Id$ +#include "Test_i.h" + +ACE_RCSID(CORBA, Test_i, "$Id$") void Test_i::method (long input, diff --git a/examples/CORBA/client.cpp b/examples/CORBA/client.cpp index 06052eeaa2a..620bcf978af 100644 --- a/examples/CORBA/client.cpp +++ b/examples/CORBA/client.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "Test.hh" +ACE_RCSID(CORBA, client, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/CORBA/server.cpp b/examples/CORBA/server.cpp index 1270573a451..c7f9abee77c 100644 --- a/examples/CORBA/server.cpp +++ b/examples/CORBA/server.cpp @@ -4,6 +4,8 @@ #include "ace/CORBA_Handler.h" #include "Test_i.h" +ACE_RCSID(CORBA, server, "$Id$") + #if defined (ACE_HAS_ORBIX) && (ACE_HAS_ORBIX != 0) #if defined (ACE_HAS_MT_ORBIX) && (ACE_HAS_MT_ORBIX != 0) diff --git a/examples/Connection/blocking/SPIPE-acceptor.cpp b/examples/Connection/blocking/SPIPE-acceptor.cpp index 68324ae2aee..2e1f81e5675 100644 --- a/examples/Connection/blocking/SPIPE-acceptor.cpp +++ b/examples/Connection/blocking/SPIPE-acceptor.cpp @@ -9,6 +9,8 @@ #include "ace/Get_Opt.h" #include "SPIPE-acceptor.h" +ACE_RCSID(blocking, SPIPE_acceptor, "$Id$") + Svc_Handler::Svc_Handler (void) : mb_ (BUFSIZ + 1) { diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp index aed898737e5..7dd88874adc 100644 --- a/examples/Connection/blocking/SPIPE-connector.cpp +++ b/examples/Connection/blocking/SPIPE-connector.cpp @@ -1,6 +1,7 @@ -#if !defined (SPIPE_CONNECTOR_C) // $Id$ +#if !defined (SPIPE_CONNECTOR_C) + #define SPIPE_CONNECTOR_C #include "ace/SPIPE_Addr.h" @@ -9,6 +10,8 @@ #include "ace/Get_Opt.h" #include "SPIPE-connector.h" +ACE_RCSID(blocking, SPIPE_connector, "$Id$") + Peer_Handler::Peer_Handler (int iterations) : iterations_ (iterations) { diff --git a/examples/Connection/blocking/test_spipe_acceptor.cpp b/examples/Connection/blocking/test_spipe_acceptor.cpp index 3be8810c22e..60543f0ef25 100644 --- a/examples/Connection/blocking/test_spipe_acceptor.cpp +++ b/examples/Connection/blocking/test_spipe_acceptor.cpp @@ -4,6 +4,8 @@ #include "SPIPE-acceptor.h" +ACE_RCSID(blocking, test_spipe_acceptor, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/Connection/blocking/test_spipe_connector.cpp b/examples/Connection/blocking/test_spipe_connector.cpp index 566c2d2c6ed..24156ca862e 100644 --- a/examples/Connection/blocking/test_spipe_connector.cpp +++ b/examples/Connection/blocking/test_spipe_connector.cpp @@ -4,6 +4,8 @@ #include "SPIPE-connector.h" +ACE_RCSID(blocking, test_spipe_connector, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/Connection/misc/Connection_Handler.cpp b/examples/Connection/misc/Connection_Handler.cpp index 071882c8d6b..ebbbc0108a3 100644 --- a/examples/Connection/misc/Connection_Handler.cpp +++ b/examples/Connection/misc/Connection_Handler.cpp @@ -21,6 +21,8 @@ #include "ace/Service_Config.h" #include "ace/Thread.h" +ACE_RCSID(misc, Connection_Handler, "$Id$") + class Connection_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> { public: diff --git a/examples/Connection/misc/test_upipe.cpp b/examples/Connection/misc/test_upipe.cpp index 8f91ea0e5c5..147ea4a8f1e 100644 --- a/examples/Connection/misc/test_upipe.cpp +++ b/examples/Connection/misc/test_upipe.cpp @@ -11,6 +11,8 @@ #include "ace/UPIPE_Connector.h" #include "ace/UPIPE_Addr.h" +ACE_RCSID(misc, test_upipe, "$Id$") + #if defined (ACE_HAS_THREADS) typedef ACE_Svc_Handler <ACE_UPIPE_STREAM, ACE_NULL_SYNCH> SVC_HANDLER; diff --git a/examples/Connection/non_blocking/CPP-acceptor.cpp b/examples/Connection/non_blocking/CPP-acceptor.cpp index cdb0745c17a..d72a740cdee 100644 --- a/examples/Connection/non_blocking/CPP-acceptor.cpp +++ b/examples/Connection/non_blocking/CPP-acceptor.cpp @@ -1,11 +1,14 @@ -#if !defined (CPP_ACCEPTOR_C) // $Id$ +#if !defined (CPP_ACCEPTOR_C) + #define CPP_ACCEPTOR_C #include "ace/Service_Config.h" #include "CPP-acceptor.h" +ACE_RCSID(non_blocking, CPP_acceptor, "$Id$") + #define PR_ST_1 ACE_PEER_STREAM_1 #define PR_ST_2 ACE_PEER_STREAM_2 #define PR_AC_1 ACE_PEER_ACCEPTOR_1 diff --git a/examples/Connection/non_blocking/CPP-connector.cpp b/examples/Connection/non_blocking/CPP-connector.cpp index c8005d94190..7e2669d3bcc 100644 --- a/examples/Connection/non_blocking/CPP-connector.cpp +++ b/examples/Connection/non_blocking/CPP-connector.cpp @@ -5,6 +5,8 @@ #include "CPP-connector.h" +ACE_RCSID(non_blocking, CPP_connector, "$Id$") + #define PR_ST_1 ACE_PEER_STREAM_1 #define PR_ST_2 ACE_PEER_STREAM_2 #define PR_CO_1 ACE_PEER_CONNECTOR_1 diff --git a/examples/Connection/non_blocking/test_lsock_acceptor.cpp b/examples/Connection/non_blocking/test_lsock_acceptor.cpp index 90b2d43e92f..95c23487c2f 100644 --- a/examples/Connection/non_blocking/test_lsock_acceptor.cpp +++ b/examples/Connection/non_blocking/test_lsock_acceptor.cpp @@ -6,6 +6,8 @@ #include "ace/UNIX_Addr.h" #include "CPP-acceptor.h" +ACE_RCSID(non_blocking, test_lsock_acceptor, "$Id$") + typedef Svc_Handler<ACE_LSOCK_STREAM> SVC_HANDLER; typedef IPC_Server<SVC_HANDLER, ACE_LSOCK_ACCEPTOR> IPC_SERVER; diff --git a/examples/Connection/non_blocking/test_lsock_connector.cpp b/examples/Connection/non_blocking/test_lsock_connector.cpp index 09f1242a1ff..7cdefe9b7b1 100644 --- a/examples/Connection/non_blocking/test_lsock_connector.cpp +++ b/examples/Connection/non_blocking/test_lsock_connector.cpp @@ -4,6 +4,8 @@ #include "ace/UNIX_Addr.h" #include "CPP-connector.h" +ACE_RCSID(non_blocking, test_lsock_connector, "$Id$") + typedef Peer_Handler<ACE_LSOCK_STREAM> PEER_HANDLER; typedef IPC_Client<PEER_HANDLER, ACE_LSOCK_CONNECTOR> IPC_CLIENT; diff --git a/examples/Connection/non_blocking/test_sock_acceptor.cpp b/examples/Connection/non_blocking/test_sock_acceptor.cpp index 43dd9ec5194..80b621e8963 100644 --- a/examples/Connection/non_blocking/test_sock_acceptor.cpp +++ b/examples/Connection/non_blocking/test_sock_acceptor.cpp @@ -6,6 +6,8 @@ #include "ace/INET_Addr.h" #include "CPP-acceptor.h" +ACE_RCSID(non_blocking, test_sock_acceptor, "$Id$") + typedef Svc_Handler<ACE_SOCK_STREAM> SVC_HANDLER; typedef IPC_Server<SVC_HANDLER, ACE_SOCK_ACCEPTOR> IPC_SERVER; diff --git a/examples/Connection/non_blocking/test_sock_connector.cpp b/examples/Connection/non_blocking/test_sock_connector.cpp index cbd8293d6e7..0a409f36177 100644 --- a/examples/Connection/non_blocking/test_sock_connector.cpp +++ b/examples/Connection/non_blocking/test_sock_connector.cpp @@ -2,9 +2,11 @@ #include "ace/SOCK_Connector.h" #include "ace/INET_Addr.h" -#include "CPP-connector.h" #include "ace/Reactor.h" #include "ace/WFMO_Reactor.h" +#include "CPP-connector.h" + +ACE_RCSID(non_blocking, test_sock_connector, "$Id$") typedef Peer_Handler<ACE_SOCK_STREAM> PEER_HANDLER; typedef IPC_Client<PEER_HANDLER, ACE_SOCK_CONNECTOR> IPC_CLIENT; diff --git a/examples/Connection/non_blocking/test_spipe_acceptor.cpp b/examples/Connection/non_blocking/test_spipe_acceptor.cpp index 4378969516d..961df14cb33 100644 --- a/examples/Connection/non_blocking/test_spipe_acceptor.cpp +++ b/examples/Connection/non_blocking/test_spipe_acceptor.cpp @@ -1,10 +1,13 @@ -// ACE_SPIPE Server. // $Id$ +// ACE_SPIPE Server. + #include "ace/SPIPE_Acceptor.h" #include "ace/SPIPE_Addr.h" #include "CPP-acceptor.h" +ACE_RCSID(non_blocking, test_spipe_acceptor, "$Id$") + #if !defined (ACE_WIN32) typedef Svc_Handler<ACE_SPIPE_STREAM> SVC_HANDLER; typedef IPC_Server<SVC_HANDLER, ACE_SPIPE_ACCEPTOR> IPC_SERVER; diff --git a/examples/Connection/non_blocking/test_spipe_connector.cpp b/examples/Connection/non_blocking/test_spipe_connector.cpp index 87c5b852bfb..399686a1ece 100644 --- a/examples/Connection/non_blocking/test_spipe_connector.cpp +++ b/examples/Connection/non_blocking/test_spipe_connector.cpp @@ -1,10 +1,13 @@ -// ACE_SPIPE Client. // $Id$ +// ACE_SPIPE Client. + #include "ace/SPIPE_Connector.h" #include "ace/SPIPE_Addr.h" #include "CPP-connector.h" +ACE_RCSID(non_blocking, test_spipe_connector, "$Id$") + #if !defined (ACE_WIN32) typedef Peer_Handler<ACE_SPIPE_STREAM> PEER_HANDLER; typedef IPC_Client<PEER_HANDLER, ACE_SPIPE_CONNECTOR> IPC_CLIENT; diff --git a/examples/Connection/non_blocking/test_tli_acceptor.cpp b/examples/Connection/non_blocking/test_tli_acceptor.cpp index 7eeb9abb0c9..aabe50786e4 100644 --- a/examples/Connection/non_blocking/test_tli_acceptor.cpp +++ b/examples/Connection/non_blocking/test_tli_acceptor.cpp @@ -1,11 +1,13 @@ -// ACE_TLI Server. // $Id$ +// ACE_TLI Server. #include "ace/TLI_Acceptor.h" #include "ace/INET_Addr.h" #include "CPP-acceptor.h" +ACE_RCSID(non_blocking, test_tli_acceptor, "$Id$") + #if defined (ACE_HAS_TLI) typedef Svc_Handler<ACE_TLI_STREAM> SVC_HANDLER; typedef IPC_Server<SVC_HANDLER, ACE_TLI_ACCEPTOR> IPC_SERVER; diff --git a/examples/Connection/non_blocking/test_tli_connector.cpp b/examples/Connection/non_blocking/test_tli_connector.cpp index 2d31186981e..4e261157202 100644 --- a/examples/Connection/non_blocking/test_tli_connector.cpp +++ b/examples/Connection/non_blocking/test_tli_connector.cpp @@ -1,11 +1,13 @@ -// ACE_TLI Client. // $Id$ +// ACE_TLI Client. #include "ace/TLI_Connector.h" #include "ace/INET_Addr.h" #include "CPP-connector.h" +ACE_RCSID(non_blocking, test_tli_connector, "$Id$") + #if defined (ACE_HAS_TLI) typedef Peer_Handler<ACE_TLI_STREAM> PEER_HANDLER; diff --git a/examples/IOStream/client/iostream_client.cpp b/examples/IOStream/client/iostream_client.cpp index 9e7004397b6..068b02e476f 100644 --- a/examples/IOStream/client/iostream_client.cpp +++ b/examples/IOStream/client/iostream_client.cpp @@ -3,6 +3,8 @@ #include "ace/SOCK_Connector.h" #include "ace/IOStream.h" +ACE_RCSID(client, iostream_client, "$Id$") + // This client is a simple example of using the ACE_IOStream and // ACE_Streambuf_T templates to create an object based on ACE_*_Stream // classes, which mimic a C++ iostream. diff --git a/examples/IOStream/server/iostream_server.cpp b/examples/IOStream/server/iostream_server.cpp index 7be43e2cffa..c832ede2b2f 100644 --- a/examples/IOStream/server/iostream_server.cpp +++ b/examples/IOStream/server/iostream_server.cpp @@ -9,6 +9,8 @@ #include "ace/Service_Config.h" #include "ace/IOStream.h" +ACE_RCSID(server, iostream_server, "$Id$") + #if !defined (ACE_LACKS_ACE_IOSTREAM) // Declare a new type which will case an ACE_SOCK_Stream to behave diff --git a/examples/IPC_SAP/DEV_SAP/reader/reader.cpp b/examples/IPC_SAP/DEV_SAP/reader/reader.cpp index 1741c209c13..95eb2ea98e9 100644 --- a/examples/IPC_SAP/DEV_SAP/reader/reader.cpp +++ b/examples/IPC_SAP/DEV_SAP/reader/reader.cpp @@ -1,4 +1,3 @@ - // $Id$ #include "ace/OS.h" @@ -7,6 +6,8 @@ #include "ace/DEV_IO.h" #include "ace/TTY_IO.h" +ACE_RCSID(reader, reader, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/IPC_SAP/DEV_SAP/writer/writer.cpp b/examples/IPC_SAP/DEV_SAP/writer/writer.cpp index 2f0216c2c25..fa119dc0ee0 100644 --- a/examples/IPC_SAP/DEV_SAP/writer/writer.cpp +++ b/examples/IPC_SAP/DEV_SAP/writer/writer.cpp @@ -1,9 +1,10 @@ - // $Id$ #include "ace/DEV_Connector.h" #include "ace/TTY_IO.h" +ACE_RCSID(writer, writer, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp b/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp index 80a67ef2515..962b28d1a11 100644 --- a/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp +++ b/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp @@ -1,6 +1,8 @@ -#include "ace/FIFO_Send_Msg.h" // $Id$ +#include "ace/FIFO_Send_Msg.h" + +ACE_RCSID(FIFO_SAP, FIFO_Msg_client, "$Id$") #if defined (ACE_HAS_STREAM_PIPES) diff --git a/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp b/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp index 60990c5242b..8b6b76d7f26 100644 --- a/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp +++ b/examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp @@ -1,6 +1,8 @@ -#include "ace/FIFO_Recv_Msg.h" // $Id$ +#include "ace/FIFO_Recv_Msg.h" + +ACE_RCSID(FIFO_SAP, FIFO_Msg_server, "$Id$") #if defined (ACE_HAS_STREAM_PIPES) diff --git a/examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp b/examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp index 1cb80dbb527..15d021b720e 100644 --- a/examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp +++ b/examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "ace/FIFO_Send.h" +ACE_RCSID(FIFO_SAP, FIFO_client, "$Id$") + int main (int, char *[]) { diff --git a/examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp b/examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp index 205ff83501d..1bc4f6c3f01 100644 --- a/examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp +++ b/examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "ace/FIFO_Recv.h" +ACE_RCSID(FIFO_SAP, FIFO_server, "$Id$") + int main (int, char *[]) { diff --git a/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp b/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp index 85a28644c55..02dd75036d2 100644 --- a/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp +++ b/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp @@ -9,6 +9,8 @@ #include "ace/FIFO_Recv.h" #include "ace/FIFO_Send.h" +ACE_RCSID(FIFO_SAP, FIFO_test, "$Id$") + #define PERMS 0666 #define EXEC_NAME "more" #define EXEC_COMMAND_ARG "more" diff --git a/examples/IPC_SAP/FILE_SAP/client.cpp b/examples/IPC_SAP/FILE_SAP/client.cpp index 9868bf813a7..bc3cf82a61a 100644 --- a/examples/IPC_SAP/FILE_SAP/client.cpp +++ b/examples/IPC_SAP/FILE_SAP/client.cpp @@ -1,11 +1,12 @@ -#include "ace/OS.h" // $Id$ - +#include "ace/OS.h" #include "ace/FILE_Addr.h" #include "ace/FILE_Connector.h" #include "ace/FILE_IO.h" +ACE_RCSID(FILE_SAP, client, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/IPC_SAP/SOCK_SAP/C-inclient.cpp b/examples/IPC_SAP/SOCK_SAP/C-inclient.cpp index 137bd81aa19..cc0256f7ec7 100644 --- a/examples/IPC_SAP/SOCK_SAP/C-inclient.cpp +++ b/examples/IPC_SAP/SOCK_SAP/C-inclient.cpp @@ -2,6 +2,8 @@ #include "ace/OS.h" +ACE_RCSID(SOCK_SAP, C_inclient, "$Id$") + /* BSD socket client */ int diff --git a/examples/IPC_SAP/SOCK_SAP/C-inserver.cpp b/examples/IPC_SAP/SOCK_SAP/C-inserver.cpp index ba0b0707ff1..376a2bbb248 100644 --- a/examples/IPC_SAP/SOCK_SAP/C-inserver.cpp +++ b/examples/IPC_SAP/SOCK_SAP/C-inserver.cpp @@ -2,6 +2,8 @@ #include "ace/OS.h" +ACE_RCSID(SOCK_SAP, C_inserver, "$Id$") + /* BSD socket server. */ int main (int argc, char *argv[]) diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp index 1dbc7fc8f25..316fe7c9db5 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp @@ -10,6 +10,8 @@ #include "ace/Get_Opt.h" #include "ace/Synch.h" +ACE_RCSID(SOCK_SAP, CPP_inclient, "$Id$") + // ACE SOCK_SAP client. class Options diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp index 4a5d1ab00c1..9db8ff4c0eb 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp @@ -9,6 +9,8 @@ #include "ace/Svc_Handler.h" #include "ace/Profile_Timer.h" +ACE_RCSID(SOCK_SAP, CPP_inserver_fancy, "$Id$") + // Forward declaration. class Handler; diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp index aa4645e34ec..a15100a1dc7 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp @@ -9,6 +9,8 @@ #include "ace/SOCK_Stream.h" #include "ace/INET_Addr.h" +ACE_RCSID(SOCK_SAP, CPP_inserver_poll, "$Id$") + #if defined (ACE_HAS_POLL) // Should we be verbose? diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp index 0d8c588adbb..8ca15d11bcb 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp @@ -9,6 +9,8 @@ #include "ace/Handle_Set.h" #include "ace/Profile_Timer.h" +ACE_RCSID(SOCK_SAP, CPP_inserver, "$Id$") + // Are we running verbosely? static int verbose = 0; diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp index bd96b418be5..09bd2ad7e12 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp @@ -5,6 +5,8 @@ #include "ace/LSOCK_Connector.h" #include "ace/UNIX_Addr.h" +ACE_RCSID(SOCK_SAP, CPP_unclient, "$Id$") + #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) int diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp index 10c67bd92d2..3f65dfce07d 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp @@ -7,6 +7,8 @@ #include "ace/LSOCK_Acceptor.h" #include "ace/Thread_Manager.h" +ACE_RCSID(SOCK_SAP, CPP_unserver, "$Id$") + #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) // Are we running verbosely? diff --git a/examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp b/examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp index 1735223065e..8593b619860 100644 --- a/examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp +++ b/examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp @@ -3,6 +3,8 @@ #include "ace/LSOCK_Connector.h" #include "ace/UNIX_Addr.h" +ACE_RCSID(SOCK_SAP, FD_unclient, "$Id$") + #if defined (ACE_HAS_MSG) && !defined (ACE_HAS_UNIX_DOMAIN_SOCKETS) // ACE_LSOCK Client. diff --git a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp index 378d50b7393..ae87537fd99 100644 --- a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp +++ b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp @@ -4,6 +4,8 @@ #include "ace/LSOCK_Stream.h" #include "ace/UNIX_Addr.h" +ACE_RCSID(SOCK_SAP, FD_unserver, "$Id$") + #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) // ACE_LSOCK Server diff --git a/examples/IPC_SAP/SPIPE_SAP/NPClient.cpp b/examples/IPC_SAP/SPIPE_SAP/NPClient.cpp index a4594064882..e0e76d4a4c9 100644 --- a/examples/IPC_SAP/SPIPE_SAP/NPClient.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/NPClient.cpp @@ -1,9 +1,10 @@ - // $Id$ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Connector.h" +ACE_RCSID(SPIPE_SAP, NPClient, "$Id$") + #if defined (ACE_WIN32) #define MAKE_PIPE_NAME(X) \\\\.\\pipe\\#X #else diff --git a/examples/IPC_SAP/SPIPE_SAP/NPServer.cpp b/examples/IPC_SAP/SPIPE_SAP/NPServer.cpp index 39b8e0ff358..5d860ffa226 100644 --- a/examples/IPC_SAP/SPIPE_SAP/NPServer.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/NPServer.cpp @@ -3,6 +3,8 @@ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Acceptor.h" +ACE_RCSID(SPIPE_SAP, NPServer, "$Id$") + #if defined (ACE_WIN32) #define MAKE_PIPE_NAME(X) \\\\.\\pipe\\#X #else diff --git a/examples/IPC_SAP/SPIPE_SAP/client.cpp b/examples/IPC_SAP/SPIPE_SAP/client.cpp index ff18c2e95a6..2a8b43e8860 100644 --- a/examples/IPC_SAP/SPIPE_SAP/client.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/client.cpp @@ -1,9 +1,10 @@ - // $Id$ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Connector.h" +ACE_RCSID(SPIPE_SAP, client, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) #include "shared.h" diff --git a/examples/IPC_SAP/SPIPE_SAP/consumer_msg.cpp b/examples/IPC_SAP/SPIPE_SAP/consumer_msg.cpp index b6f08843f97..7c65ac672eb 100644 --- a/examples/IPC_SAP/SPIPE_SAP/consumer_msg.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/consumer_msg.cpp @@ -3,6 +3,8 @@ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Acceptor.h" +ACE_RCSID(SPIPE_SAP, consumer_msg, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) #include "shared.h" diff --git a/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp b/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp index 710372d42cb..7b45cbdb3ba 100644 --- a/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp @@ -3,6 +3,8 @@ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Acceptor.h" +ACE_RCSID(SPIPE_SAP, consumer_read, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) #include "shared.h" diff --git a/examples/IPC_SAP/SPIPE_SAP/producer_msg.cpp b/examples/IPC_SAP/SPIPE_SAP/producer_msg.cpp index 29954517bff..5f52e3159db 100644 --- a/examples/IPC_SAP/SPIPE_SAP/producer_msg.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/producer_msg.cpp @@ -1,9 +1,10 @@ - // $Id$ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Connector.h" +ACE_RCSID(SPIPE_SAP, producer_msg, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) #include "shared.h" diff --git a/examples/IPC_SAP/SPIPE_SAP/producer_read.cpp b/examples/IPC_SAP/SPIPE_SAP/producer_read.cpp index 65756632343..a43e50734a3 100644 --- a/examples/IPC_SAP/SPIPE_SAP/producer_read.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/producer_read.cpp @@ -1,9 +1,10 @@ - // $Id$ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Connector.h" +ACE_RCSID(SPIPE_SAP, producer_read, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) #include "shared.h" diff --git a/examples/IPC_SAP/SPIPE_SAP/server.cpp b/examples/IPC_SAP/SPIPE_SAP/server.cpp index bacb3b46158..9313a4d99cb 100644 --- a/examples/IPC_SAP/SPIPE_SAP/server.cpp +++ b/examples/IPC_SAP/SPIPE_SAP/server.cpp @@ -3,6 +3,8 @@ #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Acceptor.h" +ACE_RCSID(SPIPE_SAP, server, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) #include "shared.h" diff --git a/examples/IPC_SAP/TLI_SAP/CPP-client.cpp b/examples/IPC_SAP/TLI_SAP/CPP-client.cpp index 2d67c1f6ccb..cd5734c5e51 100644 --- a/examples/IPC_SAP/TLI_SAP/CPP-client.cpp +++ b/examples/IPC_SAP/TLI_SAP/CPP-client.cpp @@ -3,6 +3,8 @@ #include "ace/TLI_Connector.h" #include "ace/INET_Addr.h" +ACE_RCSID(TLI_SAP, CPP_client, "$Id$") + #if defined (ACE_HAS_TLI) /* ACE_TLI Client */ diff --git a/examples/IPC_SAP/TLI_SAP/CPP-server.cpp b/examples/IPC_SAP/TLI_SAP/CPP-server.cpp index 81eef30b56b..ee89a2fc96f 100644 --- a/examples/IPC_SAP/TLI_SAP/CPP-server.cpp +++ b/examples/IPC_SAP/TLI_SAP/CPP-server.cpp @@ -1,9 +1,10 @@ - // $Id$ #include "ace/TLI_Acceptor.h" #include "ace/INET_Addr.h" +ACE_RCSID(TLI_SAP, CPP_server, "$Id$") + #if defined (ACE_HAS_TLI) /* ACE_TLI Server */ diff --git a/examples/IPC_SAP/TLI_SAP/db-client.cpp b/examples/IPC_SAP/TLI_SAP/db-client.cpp index e883d022aab..6855b1bbc69 100644 --- a/examples/IPC_SAP/TLI_SAP/db-client.cpp +++ b/examples/IPC_SAP/TLI_SAP/db-client.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "ace/TLI_Connector.h" +ACE_RCSID(TLI_SAP, db_client, "$Id$") + #if defined (ACE_HAS_TLI) const int MAXLINE = 255; diff --git a/examples/IPC_SAP/TLI_SAP/db-server.cpp b/examples/IPC_SAP/TLI_SAP/db-server.cpp index 465f3a2daf7..5ebe8a3b909 100644 --- a/examples/IPC_SAP/TLI_SAP/db-server.cpp +++ b/examples/IPC_SAP/TLI_SAP/db-server.cpp @@ -1,9 +1,12 @@ -/* Simple multi-threaded database server example. */ // $Id$ +/* Simple multi-threaded database server example. */ + #include "ace/TLI_Acceptor.h" #include "ace/Thread_Manager.h" +ACE_RCSID(TLI_SAP, db_server, "$Id$") + #if defined (ACE_HAS_THREADS) && defined (ACE_HAS_TLI) /* Global thread manager. */ diff --git a/examples/IPC_SAP/TLI_SAP/ftp-client.cpp b/examples/IPC_SAP/TLI_SAP/ftp-client.cpp index 8c41b44ed13..03427c37224 100644 --- a/examples/IPC_SAP/TLI_SAP/ftp-client.cpp +++ b/examples/IPC_SAP/TLI_SAP/ftp-client.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "ace/TLI_Connector.h" +ACE_RCSID(TLI_SAP, ftp_client, "$Id$") + #if defined (ACE_HAS_TLI) int diff --git a/examples/IPC_SAP/TLI_SAP/ftp-server.cpp b/examples/IPC_SAP/TLI_SAP/ftp-server.cpp index 1111cdbc664..9f887d8bf49 100644 --- a/examples/IPC_SAP/TLI_SAP/ftp-server.cpp +++ b/examples/IPC_SAP/TLI_SAP/ftp-server.cpp @@ -1,9 +1,12 @@ // $Id$ + /* Simple file transfer example */ #include "ace/Thread_Manager.h" #include "ace/TLI_Acceptor.h" +ACE_RCSID(TLI_SAP, ftp_server, "$Id$") + #if defined (ACE_HAS_THREADS) && defined (ACE_HAS_TLI) ACE_Thread_Manager thr_mgr; diff --git a/examples/IPC_SAP/UPIPE_SAP/ex1.cpp b/examples/IPC_SAP/UPIPE_SAP/ex1.cpp index 5c98f6ed624..71cebb90f83 100644 --- a/examples/IPC_SAP/UPIPE_SAP/ex1.cpp +++ b/examples/IPC_SAP/UPIPE_SAP/ex1.cpp @@ -1,15 +1,16 @@ -// Example for using ACE_UPIPE_SAP and ACE_Thread for intra-process // $Id$ +// Example for using ACE_UPIPE_SAP and ACE_Thread for intra-process // communication. // // Author : Gerhard Lenzer and Douglas C. Schmidt - #include "ace/Stream.h" #include "ace/UPIPE_Acceptor.h" #include "ace/UPIPE_Connector.h" +ACE_RCSID(UPIPE_SAP, ex1, "$Id$") + #if defined (ACE_HAS_THREADS) // Global thread manager. diff --git a/examples/IPC_SAP/UPIPE_SAP/ex2.cpp b/examples/IPC_SAP/UPIPE_SAP/ex2.cpp index 8fac8c3ffca..7bd48ba2ec4 100644 --- a/examples/IPC_SAP/UPIPE_SAP/ex2.cpp +++ b/examples/IPC_SAP/UPIPE_SAP/ex2.cpp @@ -5,10 +5,12 @@ // // Author : Gerhard Lenzer and Douglas C. Schmidt +#include <fstream.h> #include "ace/UPIPE_Connector.h" #include "ace/UPIPE_Acceptor.h" #include "auto_builtin_ptr.h" -#include <fstream.h> + +ACE_RCSID(UPIPE_SAP, ex2, "$Id$") #if defined (ACE_HAS_THREADS) diff --git a/examples/IPC_SAP/UPIPE_SAP/ex3.cpp b/examples/IPC_SAP/UPIPE_SAP/ex3.cpp index bc86b5d5377..eaa645d0c44 100644 --- a/examples/IPC_SAP/UPIPE_SAP/ex3.cpp +++ b/examples/IPC_SAP/UPIPE_SAP/ex3.cpp @@ -1,6 +1,6 @@ -// Example for using ACE_UPIPE_SAP and ACE_Thread for intra-process // $Id$ +// Example for using ACE_UPIPE_SAP and ACE_Thread for intra-process // communication. This example uses char buffers as input/output // interface to the ACE_UPIPE_Stream // @@ -12,6 +12,8 @@ #include "ace/UPIPE_Acceptor.h" #include "auto_builtin_ptr.h" +ACE_RCSID(UPIPE_SAP, ex3, "$Id$") + #if defined (ACE_HAS_THREADS) // Global thread manager. diff --git a/examples/Log_Msg/test_log_msg.cpp b/examples/Log_Msg/test_log_msg.cpp index e10614392bb..676871b0697 100644 --- a/examples/Log_Msg/test_log_msg.cpp +++ b/examples/Log_Msg/test_log_msg.cpp @@ -21,6 +21,8 @@ #include "ace/OS.h" #include "ace/streams.h" +ACE_RCSID(Log_Msg, test_log_msg, "$Id$") + static void cleanup (void) { diff --git a/examples/Logger/Acceptor-server/server_loggerd.cpp b/examples/Logger/Acceptor-server/server_loggerd.cpp index e6629bc4eae..bc9e179878f 100644 --- a/examples/Logger/Acceptor-server/server_loggerd.cpp +++ b/examples/Logger/Acceptor-server/server_loggerd.cpp @@ -13,6 +13,8 @@ #include "ace/Singleton.h" #include "ace/streams.h" +ACE_RCSID(Acceptor_server, server_loggerd, "$Id$") + // ---------------------------------------- class Options diff --git a/examples/Logger/client/logging_app.cpp b/examples/Logger/client/logging_app.cpp index be6c6bfed68..ba393c644b8 100644 --- a/examples/Logger/client/logging_app.cpp +++ b/examples/Logger/client/logging_app.cpp @@ -4,9 +4,10 @@ // than going through the client logging daemon. #include "ace/SOCK_Connector.h" - #include "ace/Log_Record.h" +ACE_RCSID(client, logging_app, "$Id$") + static u_short LOGGER_PORT = ACE_DEFAULT_SERVER_PORT; static const char *const LOGGER_HOST = ACE_DEFAULT_SERVER_HOST; static const int MAX_ITERATIONS = 10; diff --git a/examples/Logger/simple-server/Logging_Acceptor.cpp b/examples/Logger/simple-server/Logging_Acceptor.cpp index 64a17340bdd..e7a73fbe07d 100644 --- a/examples/Logger/simple-server/Logging_Acceptor.cpp +++ b/examples/Logger/simple-server/Logging_Acceptor.cpp @@ -1,9 +1,12 @@ // $Id$ +#include "ace/WFMO_Reactor.h" + #include "Logging_Acceptor.h" #include "Logging_Handler.h" #include "Reactor_Singleton.h" -#include "ace/WFMO_Reactor.h" + +ACE_RCSID(simple_server, Logging_Acceptor, "$Id$") // Initialize peer_acceptor object. diff --git a/examples/Logger/simple-server/Logging_Handler.cpp b/examples/Logger/simple-server/Logging_Handler.cpp index ff519df39ec..58d9853156b 100644 --- a/examples/Logger/simple-server/Logging_Handler.cpp +++ b/examples/Logger/simple-server/Logging_Handler.cpp @@ -3,6 +3,8 @@ #include "Logging_Handler.h" #include "Reactor_Singleton.h" +ACE_RCSID(simple_server, Logging_Handler, "$Id$") + // Default constructor. Logging_Handler::Logging_Handler (void) diff --git a/examples/Logger/simple-server/server_loggerd.cpp b/examples/Logger/simple-server/server_loggerd.cpp index eb223750af0..a375c98be35 100644 --- a/examples/Logger/simple-server/server_loggerd.cpp +++ b/examples/Logger/simple-server/server_loggerd.cpp @@ -12,6 +12,8 @@ #include "Logging_Acceptor.h" #include "Reactor_Singleton.h" +ACE_RCSID(simple_server, server_loggerd, "$Id$") + static sig_atomic_t finished = 0; extern "C" void diff --git a/examples/Map_Manager/test_hash_map_manager.cpp b/examples/Map_Manager/test_hash_map_manager.cpp index 752f5af1940..5c61758a65c 100644 --- a/examples/Map_Manager/test_hash_map_manager.cpp +++ b/examples/Map_Manager/test_hash_map_manager.cpp @@ -5,6 +5,8 @@ #include "ace/SString.h" #include "ace/Synch.h" +ACE_RCSID(Map_Manager, test_hash_map_manager, "$Id$") + const int MAX_KEY_LEN = 1000; typedef ACE_Hash_Map_Manager<ACE_CString, ACE_CString, ACE_RW_Mutex> MAP_MANAGER; diff --git a/examples/Mem_Map/IO-tests/IO_Test.cpp b/examples/Mem_Map/IO-tests/IO_Test.cpp index 12dde886e25..2376b7b1ec6 100644 --- a/examples/Mem_Map/IO-tests/IO_Test.cpp +++ b/examples/Mem_Map/IO-tests/IO_Test.cpp @@ -4,6 +4,8 @@ #include "ace/Mem_Map.h" #include "IO_Test.h" +ACE_RCSID(IO_tests, IO_Test, "$Id$") + IO_Test::IO_Test (const char *name, ACE_Profile_Timer &tm) : name_ (name), tm_ (tm) { diff --git a/examples/Mem_Map/IO-tests/test_io.cpp b/examples/Mem_Map/IO-tests/test_io.cpp index c12a8a654d6..15c0b131e9d 100644 --- a/examples/Mem_Map/IO-tests/test_io.cpp +++ b/examples/Mem_Map/IO-tests/test_io.cpp @@ -8,6 +8,8 @@ #include "ace/Signal.h" #include "IO_Test.h" +ACE_RCSID(IO_tests, test_io, "$Id$") + // Name of program. static const char *program_name; diff --git a/examples/Mem_Map/file-reverse/file-reverse.cpp b/examples/Mem_Map/file-reverse/file-reverse.cpp index e6d7395f8f4..34bce895db7 100644 --- a/examples/Mem_Map/file-reverse/file-reverse.cpp +++ b/examples/Mem_Map/file-reverse/file-reverse.cpp @@ -5,6 +5,8 @@ #include "ace/Mem_Map.h" +ACE_RCSID(file_reverse, file_reverse, "$Id$") + static void putline (const char *s) { diff --git a/examples/Misc/test_XtReactor1.cpp b/examples/Misc/test_XtReactor1.cpp index f6b57acaf5e..d2d94036285 100644 --- a/examples/Misc/test_XtReactor1.cpp +++ b/examples/Misc/test_XtReactor1.cpp @@ -7,6 +7,8 @@ #include "ace/Reactor.h" #include "ace/Message_Block.h" +ACE_RCSID(Misc, test_XtReactor1, "$Id$") + #if defined (ACE_HAS_XT) #define String XtString #include <Xm/PushB.h> diff --git a/examples/Misc/test_XtReactor2.cpp b/examples/Misc/test_XtReactor2.cpp index 3b153e32de4..a2412cae18d 100644 --- a/examples/Misc/test_XtReactor2.cpp +++ b/examples/Misc/test_XtReactor2.cpp @@ -7,6 +7,8 @@ #include "ace/Reactor.h" #include "ace/Message_Block.h" +ACE_RCSID(Misc, test_XtReactor2, "$Id$") + #if defined (ACE_HAS_XT) #define String XtString #include <Xm/PushB.h> diff --git a/examples/Misc/test_dump.cpp b/examples/Misc/test_dump.cpp index c9a59dd9ce6..a15eac9360c 100644 --- a/examples/Misc/test_dump.cpp +++ b/examples/Misc/test_dump.cpp @@ -6,6 +6,8 @@ #include "ace/Dump.h" +ACE_RCSID(Misc, test_dump, "$Id$") + class SOCK { public: diff --git a/examples/Misc/test_get_opt.cpp b/examples/Misc/test_get_opt.cpp index c68928b6e57..ba6f0c8af1f 100644 --- a/examples/Misc/test_get_opt.cpp +++ b/examples/Misc/test_get_opt.cpp @@ -4,6 +4,7 @@ #include "ace/Get_Opt.h" +ACE_RCSID(Misc, test_get_opt, "$Id$") int main (int argc, char *argv[]) diff --git a/examples/Misc/test_profile_timer.cpp b/examples/Misc/test_profile_timer.cpp index 366876a42a5..3da092e9954 100644 --- a/examples/Misc/test_profile_timer.cpp +++ b/examples/Misc/test_profile_timer.cpp @@ -1,7 +1,8 @@ -#include "ace/Profile_Timer.h" // $Id$ +#include "ace/Profile_Timer.h" +ACE_RCSID(Misc, test_profile_timer, "$Id$") static const int DEFAULT_ITERATIONS = 100000000; diff --git a/examples/Misc/test_read_buffer.cpp b/examples/Misc/test_read_buffer.cpp index 005509d3896..59bfe4f92b4 100644 --- a/examples/Misc/test_read_buffer.cpp +++ b/examples/Misc/test_read_buffer.cpp @@ -3,6 +3,8 @@ #include "ace/Service_Config.h" #include "ace/Read_Buffer.h" +ACE_RCSID(Misc, test_read_buffer, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/Misc/test_set.cpp b/examples/Misc/test_set.cpp index b06f3d0fd76..4ec0cb948ba 100644 --- a/examples/Misc/test_set.cpp +++ b/examples/Misc/test_set.cpp @@ -2,6 +2,8 @@ #include "ace/Containers.h" +ACE_RCSID(Misc, test_set, "$Id$") + int main (int, char *[]) { diff --git a/examples/Misc/test_sstring.cpp b/examples/Misc/test_sstring.cpp index 55e797c3851..4764d907784 100644 --- a/examples/Misc/test_sstring.cpp +++ b/examples/Misc/test_sstring.cpp @@ -2,6 +2,8 @@ #include "ace/SString.h" +ACE_RCSID(Misc, test_sstring, "$Id$") + int main (int, char *[]) { diff --git a/examples/Misc/test_trace.cpp b/examples/Misc/test_trace.cpp index 16c7cd627e7..0163224c6ea 100644 --- a/examples/Misc/test_trace.cpp +++ b/examples/Misc/test_trace.cpp @@ -1,11 +1,13 @@ -// Enable tracing // $Id$ +// Enable tracing #define ACE_NTRACE 0 #include "ace/Thread.h" #include "ace/Signal.h" +ACE_RCSID(Misc, test_trace, "$Id$") + static void foo (int max_depth) { diff --git a/examples/Naming/test_multiple_contexts.cpp b/examples/Naming/test_multiple_contexts.cpp index f98d6582c72..5bd6e2cc383 100644 --- a/examples/Naming/test_multiple_contexts.cpp +++ b/examples/Naming/test_multiple_contexts.cpp @@ -2,6 +2,8 @@ #include "ace/Naming_Context.h" +ACE_RCSID(Naming, test_multiple_contexts, "$Id$") + int main (int, char *[]) { diff --git a/examples/Naming/test_non_existent.cpp b/examples/Naming/test_non_existent.cpp index d476a0bf217..17c035237af 100644 --- a/examples/Naming/test_non_existent.cpp +++ b/examples/Naming/test_non_existent.cpp @@ -2,6 +2,8 @@ #include "ace/Naming_Context.h" +ACE_RCSID(Naming, test_non_existent, "$Id$") + int main (int, char *[]) { int i; diff --git a/examples/Naming/test_open.cpp b/examples/Naming/test_open.cpp index 104f864da0c..ca64a01ddda 100644 --- a/examples/Naming/test_open.cpp +++ b/examples/Naming/test_open.cpp @@ -2,6 +2,8 @@ #include "ace/Naming_Context.h" +ACE_RCSID(Naming, test_open, "$Id$") + int main (int argc, char **argv) { diff --git a/examples/Naming/test_writers.cpp b/examples/Naming/test_writers.cpp index 00d90bc2f8a..bfd8eb85e8f 100644 --- a/examples/Naming/test_writers.cpp +++ b/examples/Naming/test_writers.cpp @@ -2,6 +2,8 @@ #include "ace/Naming_Context.h" +ACE_RCSID(Naming, test_writers, "$Id$") + int main (int, char *[]) { int i; diff --git a/examples/OS/Process/imore.cpp b/examples/OS/Process/imore.cpp index 09c841e2569..11b9bc83455 100644 --- a/examples/OS/Process/imore.cpp +++ b/examples/OS/Process/imore.cpp @@ -30,6 +30,8 @@ #include "ace/Process.h" #include "ace/Signal.h" +ACE_RCSID(Process, imore, "$Id$") + #if defined (ACE_WIN32) static const char * executable = "MORE.COM"; #else diff --git a/examples/OS/Process/process.cpp b/examples/OS/Process/process.cpp index e5342f320b7..c4c835ad770 100644 --- a/examples/OS/Process/process.cpp +++ b/examples/OS/Process/process.cpp @@ -21,6 +21,8 @@ #include "ace/Get_Opt.h" #include "ace/Process.h" +ACE_RCSID(Process, process, "$Id$") + #if defined (ACE_WIN32) #define EXEC_NAME "MORE.COM" const char *DATE_PATH = "date.exe"; diff --git a/examples/Reactor/Dgram/CODgram.cpp b/examples/Reactor/Dgram/CODgram.cpp index 254b6237325..761adc8d495 100644 --- a/examples/Reactor/Dgram/CODgram.cpp +++ b/examples/Reactor/Dgram/CODgram.cpp @@ -9,6 +9,8 @@ #include "ace/INET_Addr.h" #include "ace/Process.h" +ACE_RCSID(Dgram, CODgram, "$Id$") + // Port used to receive for dgrams. static u_short port1; diff --git a/examples/Reactor/Dgram/Dgram.cpp b/examples/Reactor/Dgram/Dgram.cpp index 3c6e18dd3a5..f3058c2e5eb 100644 --- a/examples/Reactor/Dgram/Dgram.cpp +++ b/examples/Reactor/Dgram/Dgram.cpp @@ -9,6 +9,8 @@ #include "ace/SOCK_Dgram.h" #include "ace/INET_Addr.h" +ACE_RCSID(Dgram, Dgram, "$Id$") + // Port used to receive for dgrams. static u_short port1; diff --git a/examples/Reactor/FIFO/client.cpp b/examples/Reactor/FIFO/client.cpp index 2c6b4ef7a7a..f9a4e00e789 100644 --- a/examples/Reactor/FIFO/client.cpp +++ b/examples/Reactor/FIFO/client.cpp @@ -2,6 +2,8 @@ #include "ace/FIFO_Send_Msg.h" +ACE_RCSID(FIFO, client, "$Id$") + int main (int, char *[]) { diff --git a/examples/Reactor/FIFO/server.cpp b/examples/Reactor/FIFO/server.cpp index a040023c94d..f90db6ab9f8 100644 --- a/examples/Reactor/FIFO/server.cpp +++ b/examples/Reactor/FIFO/server.cpp @@ -3,6 +3,8 @@ #include "ace/Service_Config.h" #include "ace/FIFO_Recv_Msg.h" +ACE_RCSID(FIFO, server, "$Id$") + class FIFO_Recv_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/Misc/notification.cpp b/examples/Reactor/Misc/notification.cpp index d172ec4936f..dfa08bf72a8 100644 --- a/examples/Reactor/Misc/notification.cpp +++ b/examples/Reactor/Misc/notification.cpp @@ -5,6 +5,8 @@ #include "ace/Thread.h" #include "ace/Synch_T.h" +ACE_RCSID(Misc, notification, "$Id$") + #if defined (ACE_HAS_THREADS) #if defined (CHORUS) // Chorus does not have signal, so we'll stop after a number of rounds. diff --git a/examples/Reactor/Misc/pingpong.cpp b/examples/Reactor/Misc/pingpong.cpp index a07cccbd25b..f000648021b 100644 --- a/examples/Reactor/Misc/pingpong.cpp +++ b/examples/Reactor/Misc/pingpong.cpp @@ -39,6 +39,8 @@ #include "ace/Reactor.h" #include "ace/Pipe.h" +ACE_RCSID(Misc, pingpong, "$Id$") + class Ping_Pong : public ACE_Test_and_Set<ACE_Null_Mutex, sig_atomic_t> { public: diff --git a/examples/Reactor/Misc/test_demuxing.cpp b/examples/Reactor/Misc/test_demuxing.cpp index 6974ed2509a..51602fb42d7 100644 --- a/examples/Reactor/Misc/test_demuxing.cpp +++ b/examples/Reactor/Misc/test_demuxing.cpp @@ -11,6 +11,8 @@ #include "ace/Service_Config.h" #include "ace/Task.h" +ACE_RCSID(Misc, test_demuxing, "$Id$") + // Default is to have a 2 second timeout. static int timeout = 2; diff --git a/examples/Reactor/Misc/test_event_handler_t.cpp b/examples/Reactor/Misc/test_event_handler_t.cpp index ea068b64b58..610be07a253 100644 --- a/examples/Reactor/Misc/test_event_handler_t.cpp +++ b/examples/Reactor/Misc/test_event_handler_t.cpp @@ -2,6 +2,8 @@ #include "ace/Event_Handler_T.h" +ACE_RCSID(Misc, test_event_handler_t, "$Id$") + #if defined (ACE_HAS_TEMPLATE_TYPEDEFS) class ACE_Test_Sig_Handler diff --git a/examples/Reactor/Misc/test_reactors.cpp b/examples/Reactor/Misc/test_reactors.cpp index 4458ee5ec6a..75467c2d4e4 100644 --- a/examples/Reactor/Misc/test_reactors.cpp +++ b/examples/Reactor/Misc/test_reactors.cpp @@ -8,6 +8,8 @@ #include "ace/Service_Config.h" #include "ace/Task.h" +ACE_RCSID(Misc, test_reactors, "$Id$") + #if defined (ACE_HAS_THREADS) static const int NUM_INVOCATIONS = 10; diff --git a/examples/Reactor/Misc/test_signals_1.cpp b/examples/Reactor/Misc/test_signals_1.cpp index ede1a917fd9..15eb4a99581 100644 --- a/examples/Reactor/Misc/test_signals_1.cpp +++ b/examples/Reactor/Misc/test_signals_1.cpp @@ -7,6 +7,8 @@ #include "ace/Service_Config.h" +ACE_RCSID(Misc, test_signals_1, "$Id$") + // Number of times to allow signal to execute until we quit. static size_t count = 10; diff --git a/examples/Reactor/Misc/test_signals_2.cpp b/examples/Reactor/Misc/test_signals_2.cpp index f2cfb6d1a56..bd1196e7fda 100644 --- a/examples/Reactor/Misc/test_signals_2.cpp +++ b/examples/Reactor/Misc/test_signals_2.cpp @@ -101,6 +101,8 @@ #include "ace/WFMO_Reactor.h" #include "ace/Select_Reactor.h" +ACE_RCSID(Misc, test_signals_2, "$Id$") + class Sig_Handler_1 : public ACE_Event_Handler { public: diff --git a/examples/Reactor/Misc/test_time_value.cpp b/examples/Reactor/Misc/test_time_value.cpp index 2e6253ca680..48bf0729f34 100644 --- a/examples/Reactor/Misc/test_time_value.cpp +++ b/examples/Reactor/Misc/test_time_value.cpp @@ -3,6 +3,8 @@ #include "ace/OS.h" #include "ace/streams.h" +ACE_RCSID(Misc, test_time_value, "$Id$") + inline int my_abs (int d) { return d > 0 ? d : -d; } ostream & diff --git a/examples/Reactor/Misc/test_timer_queue.cpp b/examples/Reactor/Misc/test_timer_queue.cpp index b2af98395ec..0eda39b495c 100644 --- a/examples/Reactor/Misc/test_timer_queue.cpp +++ b/examples/Reactor/Misc/test_timer_queue.cpp @@ -4,6 +4,8 @@ #include "ace/Timer_List.h" #include "ace/Timer_Queue.h" +ACE_RCSID(Misc, test_timer_queue, "$Id$") + class Example_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/Multicast/Log_Wrapper.cpp b/examples/Reactor/Multicast/Log_Wrapper.cpp index 9b98aca7990..bf78aaadd6a 100644 --- a/examples/Reactor/Multicast/Log_Wrapper.cpp +++ b/examples/Reactor/Multicast/Log_Wrapper.cpp @@ -4,6 +4,8 @@ #include "Log_Wrapper.h" +ACE_RCSID(Multicast, Log_Wrapper, "$Id$") + Log_Wrapper::Log_Wrapper (void) { sequence_number_ = 0; diff --git a/examples/Reactor/Multicast/client.cpp b/examples/Reactor/Multicast/client.cpp index db85cc16a8f..d194ce6bf79 100644 --- a/examples/Reactor/Multicast/client.cpp +++ b/examples/Reactor/Multicast/client.cpp @@ -6,6 +6,8 @@ #include "ace/Get_Opt.h" #include "Log_Wrapper.h" +ACE_RCSID(Multicast, client, "$Id$") + // Multi-cast address. static const char *MCAST_ADDR = ACE_DEFAULT_MULTICAST_ADDR; diff --git a/examples/Reactor/Multicast/server.cpp b/examples/Reactor/Multicast/server.cpp index 35ef14b0312..bff975c74ed 100644 --- a/examples/Reactor/Multicast/server.cpp +++ b/examples/Reactor/Multicast/server.cpp @@ -11,6 +11,8 @@ #include "ace/Reactor.h" #include "Log_Wrapper.h" +ACE_RCSID(Multicast, server, "$Id$") + #if defined (ACE_HAS_IP_MULTICAST) class Server_Events : public ACE_Event_Handler { diff --git a/examples/Reactor/Ntalker/ntalker.cpp b/examples/Reactor/Ntalker/ntalker.cpp index 04fd808b0a2..26b2566c467 100644 --- a/examples/Reactor/Ntalker/ntalker.cpp +++ b/examples/Reactor/Ntalker/ntalker.cpp @@ -11,6 +11,8 @@ #include "ace/Service_Config.h" #include "ace/streams.h" +ACE_RCSID(Ntalker, ntalker, "$Id$") + #if defined (ACE_HAS_IP_MULTICAST) // Network interface to subscribe to. This is hardware specific. use // netstat(1M) to find whether your interface is le0 or ie0 diff --git a/examples/Reactor/Proactor/test_multiple_loops.cpp b/examples/Reactor/Proactor/test_multiple_loops.cpp index 9ffbf72f596..cd262b39fef 100644 --- a/examples/Reactor/Proactor/test_multiple_loops.cpp +++ b/examples/Reactor/Proactor/test_multiple_loops.cpp @@ -22,6 +22,8 @@ #include "ace/Synch.h" #include "ace/Task.h" +ACE_RCSID(Proactor, test_multiple_loops, "$Id$") + class Timeout_Handler : public ACE_Handler, public ACE_Event_Handler // = TITLE // Generic timeout handler. diff --git a/examples/Reactor/Proactor/test_proactor.cpp b/examples/Reactor/Proactor/test_proactor.cpp index 3ffa51deb8e..734b448b3cb 100644 --- a/examples/Reactor/Proactor/test_proactor.cpp +++ b/examples/Reactor/Proactor/test_proactor.cpp @@ -30,6 +30,8 @@ #include "ace/Get_Opt.h" #include "ace/streams.h" +ACE_RCSID(Proactor, test_proactor, "$Id$") + static char *host = 0; static u_short port = ACE_DEFAULT_SERVER_PORT; static char *file = "test_proactor.cpp"; diff --git a/examples/Reactor/Proactor/test_proactor_with_aio.cpp b/examples/Reactor/Proactor/test_proactor_with_aio.cpp index 1c7a2283b66..edb4a0f26bc 100644 --- a/examples/Reactor/Proactor/test_proactor_with_aio.cpp +++ b/examples/Reactor/Proactor/test_proactor_with_aio.cpp @@ -34,6 +34,8 @@ #include "ace/Svc_Handler.h" #include "ace/SOCK_Acceptor.h" +ACE_RCSID(Proactor, test_proactor_with_aio, "$Id$") + static char *host = 0; static u_short port = ACE_DEFAULT_SERVER_PORT; static char *file = "test_proactor.cpp"; diff --git a/examples/Reactor/Proactor/test_timeout.cpp b/examples/Reactor/Proactor/test_timeout.cpp index 94a8915d777..bc1ab9c5e5e 100644 --- a/examples/Reactor/Proactor/test_timeout.cpp +++ b/examples/Reactor/Proactor/test_timeout.cpp @@ -23,6 +23,8 @@ #include "ace/Synch.h" #include "ace/Task.h" +ACE_RCSID(Proactor, test_timeout, "$Id$") + class Timeout_Handler : public ACE_Handler // = TITLE // Generic timeout handler. diff --git a/examples/Reactor/ReactorEx/test_abandoned.cpp b/examples/Reactor/ReactorEx/test_abandoned.cpp index 79eaef0377a..6a9f8cbbfa5 100644 --- a/examples/Reactor/ReactorEx/test_abandoned.cpp +++ b/examples/Reactor/ReactorEx/test_abandoned.cpp @@ -22,6 +22,8 @@ #include "ace/Synch.h" #include "ace/Thread_Manager.h" +ACE_RCSID(ReactorEx, test_abandoned, "$Id$") + static int abandon = 1; void *worker (void *); diff --git a/examples/Reactor/ReactorEx/test_apc.cpp b/examples/Reactor/ReactorEx/test_apc.cpp index 00a1f4a9b1c..492e7e31c7b 100644 --- a/examples/Reactor/ReactorEx/test_apc.cpp +++ b/examples/Reactor/ReactorEx/test_apc.cpp @@ -21,6 +21,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_apc, "$Id$") + void queue_apc (void); class Event_Handler : public ACE_Event_Handler diff --git a/examples/Reactor/ReactorEx/test_console_input.cpp b/examples/Reactor/ReactorEx/test_console_input.cpp index f76f678d9df..3747705e3aa 100644 --- a/examples/Reactor/ReactorEx/test_console_input.cpp +++ b/examples/Reactor/ReactorEx/test_console_input.cpp @@ -20,6 +20,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_console_input, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/ReactorEx/test_directory_changes.cpp b/examples/Reactor/ReactorEx/test_directory_changes.cpp index 37a66afa5c6..0fabfd97fe4 100644 --- a/examples/Reactor/ReactorEx/test_directory_changes.cpp +++ b/examples/Reactor/ReactorEx/test_directory_changes.cpp @@ -20,6 +20,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_directory_changes, "$Id$") + static int stop_test = 0; static LPCTSTR directory = __TEXT ("."); static LPCTSTR temp_file = __TEXT ("foo"); diff --git a/examples/Reactor/ReactorEx/test_exceptions.cpp b/examples/Reactor/ReactorEx/test_exceptions.cpp index 1c7ca508978..fdec647d8b2 100644 --- a/examples/Reactor/ReactorEx/test_exceptions.cpp +++ b/examples/Reactor/ReactorEx/test_exceptions.cpp @@ -25,6 +25,8 @@ #include "ace/WFMO_Reactor.h" +ACE_RCSID(ReactorEx, test_exceptions, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/ReactorEx/test_multithreading.cpp b/examples/Reactor/ReactorEx/test_multithreading.cpp index 62eaa01212e..6a070924f2c 100644 --- a/examples/Reactor/ReactorEx/test_multithreading.cpp +++ b/examples/Reactor/ReactorEx/test_multithreading.cpp @@ -27,6 +27,8 @@ #include "ace/WFMO_Reactor.h" #include "ace/Get_Opt.h" +ACE_RCSID(ReactorEx, test_multithreading, "$Id$") + static int concurrent_threads = 1; static int number_of_handles = ACE_Reactor::instance ()->size (); static int number_of_handles_to_signal = 1; diff --git a/examples/Reactor/ReactorEx/test_network_events.cpp b/examples/Reactor/ReactorEx/test_network_events.cpp index cdb3070b550..99b89ccdf51 100644 --- a/examples/Reactor/ReactorEx/test_network_events.cpp +++ b/examples/Reactor/ReactorEx/test_network_events.cpp @@ -37,6 +37,8 @@ #include "ace/SOCK_Stream.h" #include "ace/SOCK_Acceptor.h" +ACE_RCSID(ReactorEx, test_network_events, "$Id$") + // Globals for this test int stop_test = 0; ACE_Reactor reactor; diff --git a/examples/Reactor/ReactorEx/test_prerun_state_changes.cpp b/examples/Reactor/ReactorEx/test_prerun_state_changes.cpp index 139d3915072..182ed6d3e2c 100644 --- a/examples/Reactor/ReactorEx/test_prerun_state_changes.cpp +++ b/examples/Reactor/ReactorEx/test_prerun_state_changes.cpp @@ -21,6 +21,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_prerun_state_changes, "$Id$") + class Event_Handler : public ACE_Event_Handler // = TITLE // Generic Event Handler. diff --git a/examples/Reactor/ReactorEx/test_registration.cpp b/examples/Reactor/ReactorEx/test_registration.cpp index 82456387966..9bebc0a7a22 100644 --- a/examples/Reactor/ReactorEx/test_registration.cpp +++ b/examples/Reactor/ReactorEx/test_registration.cpp @@ -35,6 +35,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_registration, "$Id$") + // Globals for this test int stop_test = 0; ACE_Reactor reactor; diff --git a/examples/Reactor/ReactorEx/test_registry_changes.cpp b/examples/Reactor/ReactorEx/test_registry_changes.cpp index b4ae55edab9..b5e5fce1e4c 100644 --- a/examples/Reactor/ReactorEx/test_registry_changes.cpp +++ b/examples/Reactor/ReactorEx/test_registry_changes.cpp @@ -21,6 +21,8 @@ #include "ace/Reactor.h" #include "ace/Registry.h" +ACE_RCSID(ReactorEx, test_registry_changes, "$Id$") + static int stop_test = 0; static HKEY context_to_monitor = HKEY_CURRENT_USER; static LPCTSTR temp_context_name = __TEXT ("ACE temporary context"); diff --git a/examples/Reactor/ReactorEx/test_removals.cpp b/examples/Reactor/ReactorEx/test_removals.cpp index 3f24213e561..d1731b746ba 100644 --- a/examples/Reactor/ReactorEx/test_removals.cpp +++ b/examples/Reactor/ReactorEx/test_removals.cpp @@ -24,6 +24,8 @@ #include "ace/Service_Config.h" #include "ace/Synch.h" +ACE_RCSID(ReactorEx, test_removals, "$Id$") + class Event_Handler : public ACE_Event_Handler // = TITLE // Generic Event Handler. diff --git a/examples/Reactor/ReactorEx/test_talker.cpp b/examples/Reactor/ReactorEx/test_talker.cpp index 828747852c9..c82450880ba 100644 --- a/examples/Reactor/ReactorEx/test_talker.cpp +++ b/examples/Reactor/ReactorEx/test_talker.cpp @@ -141,6 +141,8 @@ #include "ace/Synch.h" #include "ace/Task.h" +ACE_RCSID(ReactorEx, test_talker, "$Id$") + typedef ACE_Task<ACE_MT_SYNCH> MT_TASK; class Peer_Handler : public MT_TASK, public ACE_Handler diff --git a/examples/Reactor/ReactorEx/test_timeouts.cpp b/examples/Reactor/ReactorEx/test_timeouts.cpp index c6d228fe2b6..d23a55aa089 100644 --- a/examples/Reactor/ReactorEx/test_timeouts.cpp +++ b/examples/Reactor/ReactorEx/test_timeouts.cpp @@ -28,6 +28,8 @@ #include "ace/Service_Config.h" #include "ace/OS.h" +ACE_RCSID(ReactorEx, test_timeouts, "$Id$") + class Timeout_Handler : public ACE_Event_Handler // = TITLE // Generic timeout handler. diff --git a/examples/Reactor/ReactorEx/test_window_messages.cpp b/examples/Reactor/ReactorEx/test_window_messages.cpp index dc9f4e9cf45..9b82c6d0bf1 100644 --- a/examples/Reactor/ReactorEx/test_window_messages.cpp +++ b/examples/Reactor/ReactorEx/test_window_messages.cpp @@ -22,6 +22,8 @@ #include "ace/Msg_WFMO_Reactor.h" #include "ace/Auto_Ptr.h" +ACE_RCSID(ReactorEx, test_window_messages, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/WFMO_Reactor/test_abandoned.cpp b/examples/Reactor/WFMO_Reactor/test_abandoned.cpp index 79eaef0377a..6a9f8cbbfa5 100644 --- a/examples/Reactor/WFMO_Reactor/test_abandoned.cpp +++ b/examples/Reactor/WFMO_Reactor/test_abandoned.cpp @@ -22,6 +22,8 @@ #include "ace/Synch.h" #include "ace/Thread_Manager.h" +ACE_RCSID(ReactorEx, test_abandoned, "$Id$") + static int abandon = 1; void *worker (void *); diff --git a/examples/Reactor/WFMO_Reactor/test_apc.cpp b/examples/Reactor/WFMO_Reactor/test_apc.cpp index 00a1f4a9b1c..492e7e31c7b 100644 --- a/examples/Reactor/WFMO_Reactor/test_apc.cpp +++ b/examples/Reactor/WFMO_Reactor/test_apc.cpp @@ -21,6 +21,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_apc, "$Id$") + void queue_apc (void); class Event_Handler : public ACE_Event_Handler diff --git a/examples/Reactor/WFMO_Reactor/test_console_input.cpp b/examples/Reactor/WFMO_Reactor/test_console_input.cpp index f76f678d9df..3747705e3aa 100644 --- a/examples/Reactor/WFMO_Reactor/test_console_input.cpp +++ b/examples/Reactor/WFMO_Reactor/test_console_input.cpp @@ -20,6 +20,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_console_input, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp b/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp index 37a66afa5c6..0fabfd97fe4 100644 --- a/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp +++ b/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp @@ -20,6 +20,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_directory_changes, "$Id$") + static int stop_test = 0; static LPCTSTR directory = __TEXT ("."); static LPCTSTR temp_file = __TEXT ("foo"); diff --git a/examples/Reactor/WFMO_Reactor/test_exceptions.cpp b/examples/Reactor/WFMO_Reactor/test_exceptions.cpp index 1c7ca508978..fdec647d8b2 100644 --- a/examples/Reactor/WFMO_Reactor/test_exceptions.cpp +++ b/examples/Reactor/WFMO_Reactor/test_exceptions.cpp @@ -25,6 +25,8 @@ #include "ace/WFMO_Reactor.h" +ACE_RCSID(ReactorEx, test_exceptions, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: diff --git a/examples/Reactor/WFMO_Reactor/test_multithreading.cpp b/examples/Reactor/WFMO_Reactor/test_multithreading.cpp index 62eaa01212e..6a070924f2c 100644 --- a/examples/Reactor/WFMO_Reactor/test_multithreading.cpp +++ b/examples/Reactor/WFMO_Reactor/test_multithreading.cpp @@ -27,6 +27,8 @@ #include "ace/WFMO_Reactor.h" #include "ace/Get_Opt.h" +ACE_RCSID(ReactorEx, test_multithreading, "$Id$") + static int concurrent_threads = 1; static int number_of_handles = ACE_Reactor::instance ()->size (); static int number_of_handles_to_signal = 1; diff --git a/examples/Reactor/WFMO_Reactor/test_network_events.cpp b/examples/Reactor/WFMO_Reactor/test_network_events.cpp index cdb3070b550..99b89ccdf51 100644 --- a/examples/Reactor/WFMO_Reactor/test_network_events.cpp +++ b/examples/Reactor/WFMO_Reactor/test_network_events.cpp @@ -37,6 +37,8 @@ #include "ace/SOCK_Stream.h" #include "ace/SOCK_Acceptor.h" +ACE_RCSID(ReactorEx, test_network_events, "$Id$") + // Globals for this test int stop_test = 0; ACE_Reactor reactor; diff --git a/examples/Reactor/WFMO_Reactor/test_prerun_state_changes.cpp b/examples/Reactor/WFMO_Reactor/test_prerun_state_changes.cpp index 139d3915072..182ed6d3e2c 100644 --- a/examples/Reactor/WFMO_Reactor/test_prerun_state_changes.cpp +++ b/examples/Reactor/WFMO_Reactor/test_prerun_state_changes.cpp @@ -21,6 +21,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_prerun_state_changes, "$Id$") + class Event_Handler : public ACE_Event_Handler // = TITLE // Generic Event Handler. diff --git a/examples/Reactor/WFMO_Reactor/test_registration.cpp b/examples/Reactor/WFMO_Reactor/test_registration.cpp index 82456387966..9bebc0a7a22 100644 --- a/examples/Reactor/WFMO_Reactor/test_registration.cpp +++ b/examples/Reactor/WFMO_Reactor/test_registration.cpp @@ -35,6 +35,8 @@ #include "ace/Reactor.h" +ACE_RCSID(ReactorEx, test_registration, "$Id$") + // Globals for this test int stop_test = 0; ACE_Reactor reactor; diff --git a/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp b/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp index b4ae55edab9..b5e5fce1e4c 100644 --- a/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp +++ b/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp @@ -21,6 +21,8 @@ #include "ace/Reactor.h" #include "ace/Registry.h" +ACE_RCSID(ReactorEx, test_registry_changes, "$Id$") + static int stop_test = 0; static HKEY context_to_monitor = HKEY_CURRENT_USER; static LPCTSTR temp_context_name = __TEXT ("ACE temporary context"); diff --git a/examples/Reactor/WFMO_Reactor/test_removals.cpp b/examples/Reactor/WFMO_Reactor/test_removals.cpp index 3f24213e561..d1731b746ba 100644 --- a/examples/Reactor/WFMO_Reactor/test_removals.cpp +++ b/examples/Reactor/WFMO_Reactor/test_removals.cpp @@ -24,6 +24,8 @@ #include "ace/Service_Config.h" #include "ace/Synch.h" +ACE_RCSID(ReactorEx, test_removals, "$Id$") + class Event_Handler : public ACE_Event_Handler // = TITLE // Generic Event Handler. diff --git a/examples/Reactor/WFMO_Reactor/test_talker.cpp b/examples/Reactor/WFMO_Reactor/test_talker.cpp index 828747852c9..c82450880ba 100644 --- a/examples/Reactor/WFMO_Reactor/test_talker.cpp +++ b/examples/Reactor/WFMO_Reactor/test_talker.cpp @@ -141,6 +141,8 @@ #include "ace/Synch.h" #include "ace/Task.h" +ACE_RCSID(ReactorEx, test_talker, "$Id$") + typedef ACE_Task<ACE_MT_SYNCH> MT_TASK; class Peer_Handler : public MT_TASK, public ACE_Handler diff --git a/examples/Reactor/WFMO_Reactor/test_timeouts.cpp b/examples/Reactor/WFMO_Reactor/test_timeouts.cpp index c6d228fe2b6..d23a55aa089 100644 --- a/examples/Reactor/WFMO_Reactor/test_timeouts.cpp +++ b/examples/Reactor/WFMO_Reactor/test_timeouts.cpp @@ -28,6 +28,8 @@ #include "ace/Service_Config.h" #include "ace/OS.h" +ACE_RCSID(ReactorEx, test_timeouts, "$Id$") + class Timeout_Handler : public ACE_Event_Handler // = TITLE // Generic timeout handler. diff --git a/examples/Reactor/WFMO_Reactor/test_window_messages.cpp b/examples/Reactor/WFMO_Reactor/test_window_messages.cpp index dc9f4e9cf45..9b82c6d0bf1 100644 --- a/examples/Reactor/WFMO_Reactor/test_window_messages.cpp +++ b/examples/Reactor/WFMO_Reactor/test_window_messages.cpp @@ -22,6 +22,8 @@ #include "ace/Msg_WFMO_Reactor.h" #include "ace/Auto_Ptr.h" +ACE_RCSID(ReactorEx, test_window_messages, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: diff --git a/examples/Registry/test_registry_iterator.cpp b/examples/Registry/test_registry_iterator.cpp index da3e89344e7..7794a02e42f 100644 --- a/examples/Registry/test_registry_iterator.cpp +++ b/examples/Registry/test_registry_iterator.cpp @@ -7,10 +7,11 @@ // // This examples points the cool iterators in ACE_Registry - #include "ace/Registry.h" #include "ace/streams.h" +ACE_RCSID(Registry, test_registry_iterator, "$Id$") + // Indentation while printing names static const u_long INDENTATION_LEVEL = 3; diff --git a/examples/Registry/test_registry_update.cpp b/examples/Registry/test_registry_update.cpp index e45a2e7f051..88c6aff96f5 100644 --- a/examples/Registry/test_registry_update.cpp +++ b/examples/Registry/test_registry_update.cpp @@ -16,6 +16,8 @@ #include "ace/Registry.h" #include "ace/streams.h" +ACE_RCSID(Registry, test_registry_update, "$Id$") + // Name for application's naming context static ACE_Registry::Name application_context_name; diff --git a/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp index 3fc4cde16f0..a58558e0536 100644 --- a/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp @@ -1,13 +1,14 @@ -/* Tests out the broadcast service of the // $Id$ - Internet domain IPC-SAP dgram abstraction. */ +// Tests out the broadcast service of the +// Internet domain IPC-SAP dgram abstraction. #include "ace/INET_Addr.h" #include "ace/SOCK_Dgram_Bcast.h" - #include "ace/Get_Opt.h" +ACE_RCSID(client, broadcast_client_test, "$Id$") + /* Name of the program. */ static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp index 98f7d59ec44..f4f5430f925 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp @@ -1,4 +1,5 @@ // $Id$ + // Tests out the UNIX domain IPC-SAP abstraction. #include "ace/LSOCK_CODgram.h" @@ -6,6 +7,8 @@ #include "ace/UNIX_Addr.h" #include "ace/Get_Opt.h" +ACE_RCSID(client, local_dgram_client_test, "$Id$") + #if defined (ACE_HAS_MSG) && !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) // Name of the program. static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp index f02e1bf2a74..d75ca07e5ed 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp @@ -1,13 +1,14 @@ -/* Send a file through ACE_FIFO communication channel by // $Id$ - break it (the file) into pieces. */ +// Send a file through ACE_FIFO communication channel by +// breaking it (the file) into pieces. #include "ace/Mem_Map.h" #include "ace/FIFO_Send_Msg.h" - #include "ace/Get_Opt.h" +ACE_RCSID(client, local_fifo_client_test, "$Id$") + // Name of the program. static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp index a145a602fad..aaa3cda4d38 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp @@ -1,14 +1,15 @@ -// Another test of UNIX domain IPC-SAP abstraction. This one opens 2 // $Id$ +// Another test of UNIX domain IPC-SAP abstraction. This one opens 2 // pipes and then ships certain ends over to the server to act as a // filter! #include "ace/LSOCK_Connector.h" #include "ace/UNIX_Addr.h" - #include "ace/Get_Opt.h" +ACE_RCSID(client, local_pipe_client_test, "$Id$") + #if defined (ACE_HAS_MSG) && !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) /* Name of the program. */ static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp index 2776139c802..c2ced0e670f 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp @@ -1,13 +1,14 @@ -/* Send a file through ACE_SPIPE communication channel by // $Id$ - break it (the file) into pieces. */ +// Send a file through ACE_SPIPE communication channel by +// breaking it (the file) into pieces. #include "ace/Mem_Map.h" #include "ace/SPIPE_Connector.h" - #include "ace/Get_Opt.h" +ACE_RCSID(client, local_spipe_client_test, "$Id$") + #if defined (ACE_HAS_STREAM_PIPES) static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp index ff5a500c022..80d4915741b 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp @@ -1,11 +1,13 @@ -/* Tests out the UNIX domain IPC-SAP abstraction. */ // $Id$ +// Tests out the UNIX domain IPC-SAP abstraction. + #include "ace/LSOCK_Connector.h" #include "ace/UNIX_Addr.h" - #include "ace/Get_Opt.h" +ACE_RCSID(client, local_stream_client_test, "$Id$") + #if defined (ACE_HAS_MSG) && !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) /* Name of the program. */ static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp index a193106be53..d433bdc938b 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp @@ -1,13 +1,14 @@ -/* Tests out the Internet domain IPC-SAP dgram abstraction. */ // $Id$ +// Tests out the Internet domain IPC-SAP dgram abstraction. #include "ace/Mem_Map.h" #include "ace/SOCK_Dgram.h" - #include "ace/INET_Addr.h" #include "ace/Get_Opt.h" +ACE_RCSID(client, remote_dgram_client_test, "$Id$") + /* Name of the program. */ static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp index dc99a8c0176..b9af737a42d 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp @@ -1,12 +1,13 @@ -// Test program for the INET IPC-SAPs... // $Id$ - +// Test program for the INET IPC-SAPs... #include "ace/SOCK_Connector.h" #include "ace/INET_Addr.h" #include "ace/Get_Opt.h" +ACE_RCSID(client, remote_service_directory_test, "$Id$") + // Port number to use. static unsigned short port_number = ACE_DEFAULT_SERVICE_PORT; diff --git a/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp index d439ea9ae88..8a7b2be7fcd 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp @@ -1,14 +1,15 @@ -/* Test program for the INET IPC-SAPs... */ // $Id$ +// Test program for the INET IPC-SAPs... #include "ace/Mem_Map.h" - #include "ace/SOCK_Connector.h" #include "ace/SOCK_CODgram.h" #include "ace/INET_Addr.h" #include "ace/Get_Opt.h" +ACE_RCSID(client, remote_stream_client_test, "$Id$") + /* Name of the program. */ static char *program_name; diff --git a/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp index 80931b584d4..62c1b522cf7 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp @@ -1,14 +1,14 @@ -/* Test program for the INET ACE_TLI-SAPs... */ // $Id$ +// Test program for the INET ACE_TLI-SAPs... #include "ace/Mem_Map.h" #include "ace/TLI_Connector.h" #include "ace/INET_Addr.h" - - #include "ace/Get_Opt.h" +ACE_RCSID(client, remote_thr_stream_client_test, "$Id$") + #if defined (ACE_HAS_TLI) /* Name of the program. */ diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.cpp index af490402337..8e385e411b5 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.cpp @@ -1,6 +1,8 @@ -#include "Handle_Broadcast.h" // $Id$ +#include "Handle_Broadcast.h" + +ACE_RCSID(server, Handle_Broadcast, "$Id$") #if defined (SunOS4) extern "C" diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp index c9224635829..2aae0279cb2 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp @@ -1,6 +1,8 @@ -#include "Handle_L_CODgram.h" // $Id$ +#include "Handle_L_CODgram.h" + +ACE_RCSID(server, Handle_L_CODgram, "$Id$") #if defined (SunOS4) extern "C" diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.cpp index 007630279f2..4d381a6d34b 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.cpp @@ -1,6 +1,8 @@ -#include "Handle_L_Dgram.h" // $Id$ +#include "Handle_L_Dgram.h" + +ACE_RCSID(server, Handle_L_Dgram, "$Id$") #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp index 79fd3c65331..42e6f2cd46f 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp @@ -1,6 +1,9 @@ -#include "Handle_L_FIFO.h" // $Id$ +#include "Handle_L_FIFO.h" + +ACE_RCSID(server, Handle_L_FIFO, "$Id$") + #if defined (SunOS4) extern "C" { diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp index c216e03cecb..02c567897b4 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp @@ -1,6 +1,8 @@ -#include "Handle_L_Pipe.h" // $Id$ +#include "Handle_L_Pipe.h" + +ACE_RCSID(server, Handle_L_Pipe, "$Id$") #if defined (SunOS4) extern "C" diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.cpp index d2ccc95b439..35830522cdd 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.cpp @@ -1,6 +1,8 @@ -#include "Handle_L_SPIPE.h" // $Id$ +#include "Handle_L_SPIPE.h" + +ACE_RCSID(server, Handle_L_SPIPE, "$Id$") #if !defined (__ACE_INLINE__) #include "Handle_L_SPIPE.i" diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.cpp index d7f84013629..0fe72fd79a7 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.cpp @@ -1,8 +1,11 @@ -#if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) // $Id$ #include "Handle_L_Stream.h" +ACE_RCSID(server, Handle_L_Stream, "$Id$") + +#if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) + /* Static variables. */ const char *Handle_L_Stream::DEFAULT_RENDEZVOUS = "/tmp/foo_stream"; @@ -14,4 +17,5 @@ char *Handle_L_Stream::login_name = 0; Handle_L_Stream local_stream; ACE_Service_Object_Type ls (&local_stream, "Local_Stream"); + #endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */ diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.cpp index a2f8db96fb5..37649b16566 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.cpp @@ -1,6 +1,8 @@ -#include "Handle_R_Dgram.h" // $Id$ +#include "Handle_R_Dgram.h" + +ACE_RCSID(server, Handle_R_Dgram, "$Id$") #if defined (SunOS4) extern "C" diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.cpp index 294386ec53d..908ffdf5d56 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.cpp @@ -1,6 +1,8 @@ -#include "Handle_R_Stream.h" // $Id$ +#include "Handle_R_Stream.h" + +ACE_RCSID(server, Handle_R_Stream, "$Id$") #if defined (SunOS4) extern "C" diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp index c4102aa31f9..c1e8cd8af9c 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp @@ -8,6 +8,8 @@ #include "ace/TLI_Acceptor.h" #include "Handle_Thr_Stream.h" +ACE_RCSID(server, Handle_Thr_Stream, "$Id$") + #if defined (ACE_HAS_THREADS) #if !defined (__ACE_INLINE__) diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.cpp index ffe00503856..74081e1581e 100644 --- a/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.cpp +++ b/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.cpp @@ -1,6 +1,8 @@ -#include "Handle_Timeout.h" // $Id$ +#include "Handle_Timeout.h" + +ACE_RCSID(server, Handle_Timeout, "$Id$") #if defined (SunOS4) extern "C" diff --git a/examples/Service_Configurator/IPC-tests/server/server_test.cpp b/examples/Service_Configurator/IPC-tests/server/server_test.cpp index a1dd1e36ce4..29dc76b5792 100644 --- a/examples/Service_Configurator/IPC-tests/server/server_test.cpp +++ b/examples/Service_Configurator/IPC-tests/server/server_test.cpp @@ -4,6 +4,8 @@ #include "ace/Service_Config.h" +ACE_RCSID(server, server_test, "$Id$") + int main (int argc, char *argv[]) { diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp index d26432df012..e86ce56f6ad 100644 --- a/examples/Service_Configurator/Misc/Timer_Service.cpp +++ b/examples/Service_Configurator/Misc/Timer_Service.cpp @@ -2,6 +2,8 @@ #include "Timer_Service.h" +ACE_RCSID(Misc, Timer_Service, "$Id$") + int Timer_Service_1::init (int argc, char *argv[]) { diff --git a/examples/Service_Configurator/Misc/main.cpp b/examples/Service_Configurator/Misc/main.cpp index 9b04215fe71..df1a99a2575 100644 --- a/examples/Service_Configurator/Misc/main.cpp +++ b/examples/Service_Configurator/Misc/main.cpp @@ -21,6 +21,8 @@ #include "ace/Service_Config.h" #include "Timer_Service.h" +ACE_RCSID(Misc, main, "$Id$") + // Create an object that will insert the <Timer_Service> into the list // of statically linked services that the <ACE_Service_Config> will // process at run-time. diff --git a/examples/Shared_Malloc/Malloc.cpp b/examples/Shared_Malloc/Malloc.cpp index 3543c99cdb7..4e0bf8d224b 100644 --- a/examples/Shared_Malloc/Malloc.cpp +++ b/examples/Shared_Malloc/Malloc.cpp @@ -1,8 +1,10 @@ -#include "Options.h" // $Id$ +#include "Options.h" #include "Malloc.h" +ACE_RCSID(Shared_Malloc, Malloc, "$Id$") + // Strategic typedefs for memory allocation. typedef ACE_Malloc <ACE_LOCAL_MEMORY_POOL, ACE_SYNCH_MUTEX> L_ALLOCATOR; diff --git a/examples/Shared_Malloc/Options.cpp b/examples/Shared_Malloc/Options.cpp index 2a9b0d341ae..133df2a2ae5 100644 --- a/examples/Shared_Malloc/Options.cpp +++ b/examples/Shared_Malloc/Options.cpp @@ -1,9 +1,10 @@ -#include "ace/Get_Opt.h" // $Id$ - +#include "ace/Get_Opt.h" #include "Options.h" +ACE_RCSID(Shared_Malloc, Options, "$Id$") + // Static Singleton instance. Options *Options::instance_ = 0; diff --git a/examples/Shared_Malloc/test_malloc.cpp b/examples/Shared_Malloc/test_malloc.cpp index db5afd283d8..ed55cc0ebb7 100644 --- a/examples/Shared_Malloc/test_malloc.cpp +++ b/examples/Shared_Malloc/test_malloc.cpp @@ -8,6 +8,8 @@ #include "Malloc.h" #include "Options.h" +ACE_RCSID(Shared_Malloc, test_malloc, "$Id$") + static int gen_size (void) { diff --git a/examples/Shared_Malloc/test_multiple_mallocs.cpp b/examples/Shared_Malloc/test_multiple_mallocs.cpp index 0c8daeeaf2c..4a1c8e7d3b4 100644 --- a/examples/Shared_Malloc/test_multiple_mallocs.cpp +++ b/examples/Shared_Malloc/test_multiple_mallocs.cpp @@ -7,6 +7,8 @@ #include "ace/Malloc.h" #include "ace/Synch.h" +ACE_RCSID(Shared_Malloc, test_multiple_mallocs, "$Id$") + typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex> MALLOC; // Default address for shared memory mapped files and SYSV shared diff --git a/examples/Shared_Malloc/test_persistence.cpp b/examples/Shared_Malloc/test_persistence.cpp index a90a3a0743a..f9176a18a59 100644 --- a/examples/Shared_Malloc/test_persistence.cpp +++ b/examples/Shared_Malloc/test_persistence.cpp @@ -5,6 +5,8 @@ #include "ace/Malloc.h" #include "ace/streams.h" +ACE_RCSID(Shared_Malloc, test_persistence, "$Id$") + typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC; typedef ACE_Malloc_Iterator <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC_ITERATOR; diff --git a/examples/Shared_Memory/test_MM.cpp b/examples/Shared_Memory/test_MM.cpp index b165ab9fb8a..b71a978ce89 100644 --- a/examples/Shared_Memory/test_MM.cpp +++ b/examples/Shared_Memory/test_MM.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "ace/Shared_Memory_MM.h" +ACE_RCSID(Shared_Memory, test_MM, "$Id$") + #define SHMSZ 27 char shm_key[] = "/tmp/fooXXXXXX"; diff --git a/examples/Shared_Memory/test_SV.cpp b/examples/Shared_Memory/test_SV.cpp index 0fe2fbfa7af..90499dd994d 100644 --- a/examples/Shared_Memory/test_SV.cpp +++ b/examples/Shared_Memory/test_SV.cpp @@ -1,8 +1,9 @@ - // $Id$ #include "ace/Shared_Memory_SV.h" +ACE_RCSID(Shared_Memory, test_SV, "$Id$") + #define SHMSZ 27 #define SHM_KEY 5678 diff --git a/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp b/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp index ef33c5f3be7..140d5f491e7 100644 --- a/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp @@ -1,10 +1,11 @@ -/* -*- C++ -*- */ // $Id$ #include "ace/SV_Message_Queue.h" #include "test.h" #include "ace/streams.h" +ACE_RCSID(SV_Message_Queues, MQ_Client, "$Id$") + int main (int, char *[]) { diff --git a/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp b/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp index 905f4db2ce5..531604bcb1b 100644 --- a/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp @@ -1,4 +1,3 @@ -/* -*- C++ -*- */ // $Id$ #include "ace/Signal.h" @@ -6,6 +5,8 @@ #include "ace/streams.h" #include "test.h" +ACE_RCSID(SV_Message_Queues, MQ_Server, "$Id$") + // Must be global for signal Message... static ACE_SV_Message_Queue ace_sv_message_queue (SRV_KEY, ACE_SV_Message_Queue::ACE_CREATE); diff --git a/examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp b/examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp index 7144d7fd5ca..f8008f372ce 100644 --- a/examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp @@ -1,8 +1,10 @@ -#include "ace/Typed_SV_Message_Queue.h" // $Id$ -#include "test.h" +#include "ace/Typed_SV_Message_Queue.h" #include "ace/streams.h" +#include "test.h" + +ACE_RCSID(SV_Message_Queues, TMQ_Client, "$Id$") int main (int, char *[]) diff --git a/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp b/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp index 6e2d97d3fbd..0fa793e2b9f 100644 --- a/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp @@ -6,6 +6,8 @@ #include "test.h" #include "ace/streams.h" +ACE_RCSID(SV_Message_Queues, TMQ_Server, "$Id$") + // Must be global for signal Message... static ACE_Typed_SV_Message_Queue<Message_Data> ace_sv_message_queue (SRV_KEY, ACE_Typed_SV_Message_Queue<Message_Data>::ACE_CREATE); diff --git a/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp b/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp index 1e5e01c8266..a6127daabaa 100644 --- a/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp +++ b/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp @@ -4,6 +4,8 @@ #include "ace/SV_Semaphore_Simple.h" #include "ace/Malloc.h" +ACE_RCSID(SV_Semaphores, Semaphores_1, "$Id$") + #if defined (ACE_HAS_SYSV_IPC) // Shared memory allocator (note that this chews up the diff --git a/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp b/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp index bd7b95231a9..f9fb597889d 100644 --- a/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp +++ b/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp @@ -10,6 +10,8 @@ #include "ace/Malloc.h" #include "ace/SV_Semaphore_Complex.h" +ACE_RCSID(SV_Semaphores, Semaphores_2, "$Id$") + #if defined (ACE_HAS_SYSV_IPC) // Shared memory allocator (note that this chews up the diff --git a/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.cpp b/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.cpp index d980ae1b62c..e0aae71f3fc 100644 --- a/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.cpp +++ b/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.cpp @@ -1,8 +1,10 @@ -#include "ace/SV_Shared_Memory.h" // $Id$ +#include "ace/SV_Shared_Memory.h" #include "SV_Shared_Memory_Test.h" +ACE_RCSID(SV_Shared_Memory, SV_Shared_Memory_Test, "$Id$") + static void client (void) { diff --git a/examples/Threads/auto_event.cpp b/examples/Threads/auto_event.cpp index 2fb1140540d..463eecd29fd 100644 --- a/examples/Threads/auto_event.cpp +++ b/examples/Threads/auto_event.cpp @@ -12,6 +12,8 @@ #include "ace/Singleton.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Threads, auto_event, "$Id$") + #if defined (ACE_HAS_THREADS) // Shared event between reader and writer. The ACE_Thread_Mutex is // necessary to make sure that only one ACE_Auto_Event is created. diff --git a/examples/Threads/barrier1.cpp b/examples/Threads/barrier1.cpp index bc8a3c22c7a..2a387359e9e 100644 --- a/examples/Threads/barrier1.cpp +++ b/examples/Threads/barrier1.cpp @@ -1,13 +1,14 @@ -// This test program illustrates how the ACE barrier synchronization // $Id$ +// This test program illustrates how the ACE barrier synchronization // mechanisms work. - #include "ace/Synch.h" #include "ace/Thread_Manager.h" #include "ace/Service_Config.h" +ACE_RCSID(Threads, barrier1, "$Id$") + #if defined (ACE_HAS_THREADS) struct Tester_Args diff --git a/examples/Threads/barrier2.cpp b/examples/Threads/barrier2.cpp index 5bcdde3c15c..c621190ad0b 100644 --- a/examples/Threads/barrier2.cpp +++ b/examples/Threads/barrier2.cpp @@ -13,6 +13,8 @@ #include "ace/Task.h" #include "ace/Service_Config.h" +ACE_RCSID(Threads, barrier2, "$Id$") + #if defined (ACE_HAS_THREADS) #define BARRIER_TYPE ACE_Null_Barrier diff --git a/examples/Threads/cancel.cpp b/examples/Threads/cancel.cpp index 919922a8208..d19457e0915 100644 --- a/examples/Threads/cancel.cpp +++ b/examples/Threads/cancel.cpp @@ -1,11 +1,13 @@ -// Test out the cooperative thread cancellation mechanisms provided by // $Id$ +// Test out the cooperative thread cancellation mechanisms provided by // the ACE_Thread_Manager. #include "ace/Service_Config.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Threads, cancel, "$Id$") + #if defined (ACE_HAS_THREADS) static void * diff --git a/examples/Threads/future1.cpp b/examples/Threads/future1.cpp index 1f63bd14246..192fd2a9fc2 100644 --- a/examples/Threads/future1.cpp +++ b/examples/Threads/future1.cpp @@ -26,6 +26,8 @@ #include "ace/Activation_Queue.h" #include "ace/Auto_Ptr.h" +ACE_RCSID(Threads, future1, "$Id$") + #if defined (ACE_HAS_THREADS) typedef ACE_Atomic_Op<ACE_Thread_Mutex, int> ATOMIC_INT; diff --git a/examples/Threads/future2.cpp b/examples/Threads/future2.cpp index 708ec6c5d03..21b823e3966 100644 --- a/examples/Threads/future2.cpp +++ b/examples/Threads/future2.cpp @@ -34,6 +34,8 @@ #include "ace/Activation_Queue.h" #include "ace/Auto_Ptr.h" +ACE_RCSID(Threads, future2, "$Id$") + #if defined (ACE_HAS_THREADS) typedef ACE_Atomic_Op<ACE_Thread_Mutex, int> ATOMIC_INT; diff --git a/examples/Threads/manual_event.cpp b/examples/Threads/manual_event.cpp index 0ccf520b54b..455b2cc0328 100644 --- a/examples/Threads/manual_event.cpp +++ b/examples/Threads/manual_event.cpp @@ -1,6 +1,6 @@ -// The test shows the use of an ACE_Manual_Event to create a // $Id$ +// The test shows the use of an ACE_Manual_Event to create a // Pseudo_Barrier. Multiple threads are created which do the // following: // @@ -15,6 +15,8 @@ #include "ace/Synch.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Threads, manual_event, "$Id$") + #if defined (ACE_HAS_THREADS) static ACE_Atomic_Op <ACE_Thread_Mutex, int> amount_of_work = 0; diff --git a/examples/Threads/process_manager.cpp b/examples/Threads/process_manager.cpp index 1298cc4fa9b..b8f74a63345 100644 --- a/examples/Threads/process_manager.cpp +++ b/examples/Threads/process_manager.cpp @@ -7,6 +7,8 @@ #include "ace/Process_Manager.h" #include "ace/Get_Opt.h" +ACE_RCSID(Threads, process_manager, "$Id$") + #if !defined (ACE_WIN32) && defined (ACE_HAS_THREADS) // Global process manager. diff --git a/examples/Threads/process_mutex.cpp b/examples/Threads/process_mutex.cpp index 99a15b0b68c..a500c4ce9b3 100644 --- a/examples/Threads/process_mutex.cpp +++ b/examples/Threads/process_mutex.cpp @@ -6,6 +6,8 @@ #include "ace/Synch.h" #include "ace/Signal.h" +ACE_RCSID(Threads, process_mutex, "$Id$") + #if defined (ACE_HAS_THREADS) static sig_atomic_t done; diff --git a/examples/Threads/process_semaphore.cpp b/examples/Threads/process_semaphore.cpp index d6ad0c76159..be84ca89fcd 100644 --- a/examples/Threads/process_semaphore.cpp +++ b/examples/Threads/process_semaphore.cpp @@ -6,6 +6,8 @@ #include "ace/Synch.h" #include "ace/Signal.h" +ACE_RCSID(Threads, process_semaphore, "$Id$") + static sig_atomic_t done; extern "C" void diff --git a/examples/Threads/reader_writer.cpp b/examples/Threads/reader_writer.cpp index e7706bea56c..ca7d40da8a0 100644 --- a/examples/Threads/reader_writer.cpp +++ b/examples/Threads/reader_writer.cpp @@ -8,6 +8,8 @@ #include "ace/Thread_Manager.h" #include "ace/Get_Opt.h" +ACE_RCSID(Threads, reader_writer, "$Id$") + #if defined (ACE_HAS_THREADS) // Default number of iterations. diff --git a/examples/Threads/recursive_mutex.cpp b/examples/Threads/recursive_mutex.cpp index 4583ebd1e7a..2a37bfaa13a 100644 --- a/examples/Threads/recursive_mutex.cpp +++ b/examples/Threads/recursive_mutex.cpp @@ -8,6 +8,8 @@ #include "ace/Get_Opt.h" #include "ace/Synch.h" +ACE_RCSID(Threads, recursive_mutex, "$Id$") + #if defined (ACE_HAS_THREADS) // Total number of iterations. diff --git a/examples/Threads/task_five.cpp b/examples/Threads/task_five.cpp index bfad4efa251..27a17253eda 100644 --- a/examples/Threads/task_five.cpp +++ b/examples/Threads/task_five.cpp @@ -9,6 +9,8 @@ #include "ace/Thread_Manager.h" #include "ace/Task.h" +ACE_RCSID(Threads, task_five, "$Id$") + static const int DEFAULT_TASKS = 1000; static size_t default_stack_size = // Default stack size #if defined (ACE_WIN32) diff --git a/examples/Threads/task_four.cpp b/examples/Threads/task_four.cpp index a121d310ece..177a9950b7b 100644 --- a/examples/Threads/task_four.cpp +++ b/examples/Threads/task_four.cpp @@ -34,6 +34,8 @@ #include "ace/Task.h" #include "ace/Service_Config.h" +ACE_RCSID(Threads, task_four, "$Id$") + #if defined (ACE_HAS_THREADS) #include "ace/Task.h" diff --git a/examples/Threads/task_one.cpp b/examples/Threads/task_one.cpp index 0730f9c3c1d..14016f795dc 100644 --- a/examples/Threads/task_one.cpp +++ b/examples/Threads/task_one.cpp @@ -8,6 +8,8 @@ #include "ace/Task.h" #include "ace/Service_Config.h" +ACE_RCSID(Threads, task_one, "$Id$") + #if defined (ACE_HAS_THREADS) #include "ace/Task.h" diff --git a/examples/Threads/task_three.cpp b/examples/Threads/task_three.cpp index c84107b3145..5a4b8f1e6e3 100644 --- a/examples/Threads/task_three.cpp +++ b/examples/Threads/task_three.cpp @@ -17,6 +17,8 @@ #include "ace/Task.h" #include "ace/streams.h" +ACE_RCSID(Threads, task_three, "$Id$") + #if defined (ACE_HAS_THREADS) static ofstream *out_stream = 0; diff --git a/examples/Threads/task_two.cpp b/examples/Threads/task_two.cpp index 9d01e504f39..29c0840a28f 100644 --- a/examples/Threads/task_two.cpp +++ b/examples/Threads/task_two.cpp @@ -9,6 +9,8 @@ #include "ace/Service_Config.h" #include "ace/Synch.h" +ACE_RCSID(Threads, task_two, "$Id$") + #if defined (ACE_HAS_THREADS) typedef ACE_Atomic_Op<ACE_Thread_Mutex, int> ATOMIC_INT; diff --git a/examples/Threads/thread_manager.cpp b/examples/Threads/thread_manager.cpp index e740ff9bcc6..1bea4d676a3 100644 --- a/examples/Threads/thread_manager.cpp +++ b/examples/Threads/thread_manager.cpp @@ -8,6 +8,8 @@ #include "ace/Service_Config.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Threads, thread_manager, "$Id$") + #if defined (ACE_HAS_THREADS) extern "C" void diff --git a/examples/Threads/thread_pool.cpp b/examples/Threads/thread_pool.cpp index ec103b1bdd3..3ec15e51b46 100644 --- a/examples/Threads/thread_pool.cpp +++ b/examples/Threads/thread_pool.cpp @@ -1,6 +1,6 @@ -// This test program illustrates how the ACE task synchronization // $Id$ +// This test program illustrates how the ACE task synchronization // mechanisms work in conjunction with the ACE_Task and the // ACE_Thread_Manager. If the manual flag is not set input comes from // stdin until the user enters a return only. This stops all workers @@ -15,6 +15,8 @@ #include "ace/Task.h" +ACE_RCSID(Threads, thread_pool, "$Id$") + #if defined (ACE_HAS_THREADS) // Number of iterations to run the test. diff --git a/examples/Threads/thread_specific.cpp b/examples/Threads/thread_specific.cpp index cc99a535937..7da812dcab4 100644 --- a/examples/Threads/thread_specific.cpp +++ b/examples/Threads/thread_specific.cpp @@ -4,6 +4,8 @@ #include "ace/Thread_Manager.h" #include "ace/Synch.h" +ACE_RCSID(Threads, thread_specific, "$Id$") + #if defined (ACE_HAS_THREADS) #include "thread_specific.h" diff --git a/examples/Threads/token.cpp b/examples/Threads/token.cpp index 67b8555f7c8..47bcc795dd7 100644 --- a/examples/Threads/token.cpp +++ b/examples/Threads/token.cpp @@ -1,9 +1,12 @@ -// Test out the ACE Token class. // $Id$ +// Test out the ACE Token class. + #include "ace/Token.h" #include "ace/Task.h" +ACE_RCSID(Threads, token, "$Id$") + #if defined (ACE_HAS_THREADS) class My_Task : public ACE_Task<ACE_MT_SYNCH> diff --git a/examples/Threads/tss1.cpp b/examples/Threads/tss1.cpp index 1d0a76c788d..cac098e607d 100644 --- a/examples/Threads/tss1.cpp +++ b/examples/Threads/tss1.cpp @@ -25,6 +25,8 @@ #include "ace/Synch.h" #include "ace/Task.h" +ACE_RCSID(Threads, tss1, "$Id$") + #if defined (ACE_HAS_THREADS) #include "thread_specific.h" diff --git a/examples/Threads/tss2.cpp b/examples/Threads/tss2.cpp index 9a63f91e3a6..a8ddfe94890 100644 --- a/examples/Threads/tss2.cpp +++ b/examples/Threads/tss2.cpp @@ -17,10 +17,12 @@ // // ============================================================================ +#include "ace/Thread.h" #include "TSS_Data.h" #include "TSS_Obj.h" #include "TSS_Task.h" -#include "ace/Thread.h" + +ACE_RCSID(Threads, tss2, "$Id$") #if defined (ACE_HAS_THREADS) diff --git a/examples/Threads/wfmo.cpp b/examples/Threads/wfmo.cpp index 25aab7b61b9..68492307f7f 100644 --- a/examples/Threads/wfmo.cpp +++ b/examples/Threads/wfmo.cpp @@ -10,6 +10,8 @@ #include "ace/Task.h" +ACE_RCSID(Threads, wfmo, "$Id$") + #if defined (ACE_WIN32) // Number of threads. diff --git a/examples/Timer_Queue/Async_Timer_Queue_Test.cpp b/examples/Timer_Queue/Async_Timer_Queue_Test.cpp index d37aa95ffb5..e05d11797fb 100644 --- a/examples/Timer_Queue/Async_Timer_Queue_Test.cpp +++ b/examples/Timer_Queue/Async_Timer_Queue_Test.cpp @@ -23,6 +23,8 @@ #include "Async_Timer_Queue_Test.h" +ACE_RCSID(Timer_Queue, Async_Timer_Queue_Test, "$Id$") + // Hook method that is called to handle the expiration of a timer. int Async_Timer_Handler::handle_timeout (const ACE_Time_Value &tv, diff --git a/examples/Timer_Queue/Driver.cpp b/examples/Timer_Queue/Driver.cpp index 8c4c8d591b1..fdb567143a5 100644 --- a/examples/Timer_Queue/Driver.cpp +++ b/examples/Timer_Queue/Driver.cpp @@ -23,6 +23,8 @@ #include "ace/Auto_Ptr.h" #include "Driver.h" +ACE_RCSID(Timer_Queue, Driver, "$Id$") + // constructor template <class RECEIVER, class ACTION> diff --git a/examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp b/examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp index 90f598c1283..819707e5f3e 100644 --- a/examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp +++ b/examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp @@ -24,6 +24,8 @@ #include "Driver.h" #include "Reactor_Timer_Queue_Test.h" +ACE_RCSID(Timer_Queue, Reactor_Timer_Queue_Test, "$Id$") + void Reactor_Timer_Handler::set_timer_id (long tid) { diff --git a/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp b/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp index d5f56e2d461..62bb67921bb 100644 --- a/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp +++ b/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp @@ -23,6 +23,8 @@ #include "Thread_Timer_Queue_Test.h" +ACE_RCSID(Timer_Queue, Thread_Timer_Queue_Test, "$Id$") + // Administrivia methods... Handler::Handler(const ACE_Time_Value &expiration_time) : expires_ (expiration_time), diff --git a/examples/Timer_Queue/main_async.cpp b/examples/Timer_Queue/main_async.cpp index 1888adcb4d7..eb9c33881e9 100644 --- a/examples/Timer_Queue/main_async.cpp +++ b/examples/Timer_Queue/main_async.cpp @@ -23,6 +23,8 @@ #include "Driver.h" #include "Async_Timer_Queue_Test.h" +ACE_RCSID(Timer_Queue, main_async, "$Id$") + typedef Timer_Queue_Test_Driver<Async_Timer_Queue *, Async_Timer_Queue, Async_Timer_Queue::ACTION> diff --git a/examples/Timer_Queue/main_reactor.cpp b/examples/Timer_Queue/main_reactor.cpp index 45576c4b4a0..2c351900a8b 100644 --- a/examples/Timer_Queue/main_reactor.cpp +++ b/examples/Timer_Queue/main_reactor.cpp @@ -23,6 +23,8 @@ #include "Driver.h" #include "Reactor_Timer_Queue_Test.h" +ACE_RCSID(Timer_Queue, main_reactor, "$Id$") + typedef Timer_Queue_Test_Driver <ACE_Timer_Heap, Input_Handler, Input_Handler::ACTION> diff --git a/examples/Timer_Queue/main_thread.cpp b/examples/Timer_Queue/main_thread.cpp index a6311294b9b..f83db59169e 100644 --- a/examples/Timer_Queue/main_thread.cpp +++ b/examples/Timer_Queue/main_thread.cpp @@ -23,6 +23,8 @@ #include "Driver.h" #include "Thread_Timer_Queue_Test.h" +ACE_RCSID(Timer_Queue, main_thread, "$Id$") + typedef Timer_Queue_Test_Driver<Thread_Timer_Queue, Input_Task, Input_Task::ACTION> |