diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Concurrency')
34 files changed, 0 insertions, 8288 deletions
diff --git a/TAO/orbsvcs/tests/Concurrency/CC_client.cpp b/TAO/orbsvcs/tests/Concurrency/CC_client.cpp deleted file mode 100644 index 92d6cc7ce50..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_client.cpp +++ /dev/null @@ -1,463 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests -// -// = FILENAME -// CC_client.h -// -// = DESCRIPTION -// This is the test class for the concurrency service. The class -// implements a client to the concurrency service. -// This file contains the main function for the test. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "ace/Read_Buffer.h" -#include "CC_client.h" - -ACE_RCSID(Concurrency, CC_client, "$Id$") - -// Constructor. -CC_Client::CC_Client (void) - : naming_service_ (0), - cc_factory_ior_file_ (0), - cc_factory_key_ (0), - f_handle_ (ACE_INVALID_HANDLE), - shutdown_ (0), - use_naming_service_ (1), - run_basic_tests_ (0), - run_extended_tests_ (0), - use_script_file_ (0), - script_file_ (0) -{ -} - -CC_Client::~CC_Client (void) -{ - // Free resources and close the ior files. - if (this->cc_factory_ior_file_) - ACE_OS::fclose (this->cc_factory_ior_file_); - - if (this->f_handle_ != ACE_INVALID_HANDLE) - ACE_OS::close (this->f_handle_); - - if (this->cc_factory_key_ != 0) - ACE_OS::free (this->cc_factory_key_); - - if (naming_service_!=0) - delete naming_service_; -} - -// Reads the lock set factory ior from a file - -int -CC_Client::read_ior (char *filename) -{ - // Open the file for reading. - this->f_handle_ = ACE_OS::open (filename,0); - - if (this->f_handle_ == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename), - -1); - ACE_Read_Buffer ior_buffer (this->f_handle_); - this->cc_factory_key_ = ior_buffer.read (); - - if (this->cc_factory_key_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to allocate memory to read ior: %p\n"), - -1); - return 0; -} - -// Parses the command line arguments and returns an error status. - -int -CC_Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "dc:sf:k:xbhe:"); - int c; - int result; - - if(argc_==1) // No arguments given on command line - { - print_usage(); - return -1; - } - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'b': // debug flag - this->run_basic_tests_ = 1; - break; - case 'c': - this->use_script_file_ = 1; - this->script_file_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'd': // debug flag - TAO_debug_level++; - break; - case 'e': // debug flag - run_extended_tests_ = 1; - this->extended_tests_params_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'f': // read the IOR from the file. - result = this->read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg), - -1); - break; - case 'k': // read the cubit IOR from the command-line. - this->cc_factory_key_ = - ACE_OS::strdup (get_opts.optarg); - break; - case 'x': - this->shutdown_ = 1; - break; - case 's': // Don't use the TAO Naming Service. - this->use_naming_service_ = 0; - break; - case 'h': - default: - print_usage (); - ACE_ERROR_RETURN ((LM_ERROR, ""), -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Execute client example code. - -int -CC_Client::run (void) -{ - int tests_run = 0; - // Tells whether any tests have been run - - int success = CC_SUCCESS; - // Did test succeed? - - if (this->run_basic_tests_ && success == CC_SUCCESS) - { - success = run_basic_tests (); - if(success==CC_FAIL) - ACE_DEBUG((LM_DEBUG, "Basic tests did not succeed\n")); - tests_run = 1; - } - - if (this->run_extended_tests_ && success == CC_SUCCESS) - { - success = run_extended_tests (this->extended_tests_params_); - if(success==CC_FAIL) - ACE_DEBUG((LM_DEBUG, "Extended tests did not succeed\n")); - tests_run = 1; - } - - if(this->use_script_file_ && success == CC_SUCCESS) - { - cmdlist = new CC_CommandList(); - FILE *f; - - // Open the command file for parsing if the filename!=stdin - if(ACE_OS::strcmp(this->script_file_, "stdin")!=0) - { - f = ACE_OS::fopen(this->script_file_, "r"); - if(f==0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s\n", - this->script_file_), - -1); - ace_cc_yyin = f; - } - ace_cc_yyparse(); - } - - // Other tests go here - // if (other_test_flag && success == CC_SUCCESS) ... - - if (this->shutdown_) - // @@TAO is this needed?? - - if (tests_run == 0) - { - print_usage (); - ACE_ERROR_RETURN ((LM_ERROR, - "No tests given\n"), - -1); - } - - return success; -} - -// This function runs basic tests concerned with only one lock set - -int -CC_Client::run_basic_tests (void) -{ - Test_Single_Lock_With_Mode t1 (naming_service_, - CosConcurrencyControl::read); - Test_Single_Lock_With_Mode t2 (naming_service_, - CosConcurrencyControl::write); - Test_Single_Lock_With_Mode t3 (naming_service_, - CosConcurrencyControl::upgrade); - Test_Single_Lock_With_Mode t4 (naming_service_, - CosConcurrencyControl::intention_read); - Test_Single_Lock_With_Mode t5 (naming_service_, - CosConcurrencyControl::intention_write); - // This test should be run for several different lock mode, but - // since we do not support - Test_Release_Not_Held_Lock t6 (naming_service_, - CosConcurrencyControl::read); - if (t1.run () == CC_SUCCESS && - t2.run () == CC_SUCCESS && - t3.run () == CC_SUCCESS && - t4.run () == CC_SUCCESS && - t5.run () == CC_SUCCESS && - t6.run () == CC_SUCCESS ) - return CC_SUCCESS; - else - return CC_FAIL; -} - -int -CC_Client::check_extended_test_params(char *params) -{ - // Format (regexp): [0-9]+;.*;.* - int no_of_params = 0; - char *cp = params; // pointer to walk along the string - enum {TAO_START, TAO_NUMBER, TAO_ARG, TAO_ERROR} state = TAO_START; - - while(*cp!='\0') - { - switch(state) - { - case TAO_START: - if(isdigit(*cp)) - state = TAO_NUMBER; - else - state = TAO_ERROR; - break; - - case TAO_NUMBER: - if((*cp)==';') - { - state = TAO_ARG; - no_of_params++; - } - else - if(!isdigit(*cp)) - state = TAO_ERROR; - break; - - case TAO_ARG: - if((*cp)==';') - { - no_of_params++; - } - break; - - case TAO_ERROR: - return -1; - // break; - - default: - ACE_ERROR_RETURN((LM_ERROR, - "CC_Client::check_extended_test_params\n"), -1); - } - cp++; - } - if (state==TAO_ERROR) // there was only one character given and it was wrong - return -1; - else - return no_of_params; -} - -int -CC_Client::run_extended_tests (char *params) -{ - int success = CC_FAIL; - int no_of_args = 0; - - ACE_DEBUG ((LM_DEBUG, - "Params: %s\n", - params)); - - no_of_args = check_extended_test_params(params); - if(no_of_args==-1) - { - ACE_ERROR_RETURN((LM_ERROR, - "Error in parameter string (%s). Format: '<test#>;<arg1>;<arg2>'\n", params), CC_FAIL); - } - - ACE_DEBUG((LM_DEBUG, "Number of arguments: %i\n", no_of_args)); - - char *cmd = ACE_OS::strtok (params, ";"); - char *arg1 = ACE_OS::strtok (NULL, ";"); - // char *arg2 = ACE_OS::strtok (NULL, ";"); - - // A possible scenario using test 1,2, and 3 Create and lock the - // lock set with the name 'Name' - // ./CC_client -e '1;Name' - // Try to lock the same lock set. The process will hang - // ./CC_client -e '2:Name' - // Unlocks the lock set. Now test 2 will continue. - // ./CC_client -e '3:Name' - - if (ACE_OS::strcmp (cmd, "1") == 0) - { - Test_Setup_LockSet t1 (naming_service_, arg1); - success = t1.run (); - } - - if (ACE_OS::strcmp (cmd, "2") == 0) - { - Test_Use_Already_Created_LockSet t2 (naming_service_, arg1); - success = t2.run (); - } - - if (ACE_OS::strcmp (cmd, "3") == 0) - { - Test_Unlock_Already_Created_LockSet t3 (naming_service_, arg1); - success = t3.run (); - } - - return success; -} - -void -CC_Client::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, - "usage: %s" - " [-b]" - " [-c] cc-test-script" - " [-d]" - " [-f cc_factory-obj-ref-key-file]" - " [-k cc-obj-ref-key]" - " [-x]" - " [-s]" - "\n", - this->argv_ [0])); -} - -int -CC_Client::init_naming_service (void) -{ - TAO_TRY - { - ACE_NEW_RETURN (naming_service_, - CC_naming_service (this->orb_, TAO_TRY_ENV), - -1); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - return -1; - } - TAO_ENDTRY; - return 0; -} - -int -CC_Client::init (int argc, char **argv) -{ - int naming_result; - this->argc_ = argc; - this->argv_ = argv; - - TAO_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - "internet", - TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - if (this->use_naming_service_) - { - naming_result = this->init_naming_service (); - if (naming_result < 0) - return naming_result; - } - else - { - if (this->cc_factory_key_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: no lock set factory key specified\n", - this->argv_[0]), - -1); - - - CORBA::Object_var factory_object = - this->orb_->string_to_object (this->cc_factory_key_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - -#if 0 - // The test cannot currently run without the naming service. - this->factory_ = - CosConcurrencyControl::LockSetFactory::_narrow - (factory_object.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (CORBA::is_nil (this->factory_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid factory key <%s>\n", - this->cc_factory_key_), - -1); -#endif /* 0 */ - } - - ACE_DEBUG ((LM_DEBUG, - "Factory received OK\n")); - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Client::init"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - -// This function runs the test. - -int -main (int argc, char **argv) -{ - CC_Client cc_client; - - ACE_DEBUG ((LM_DEBUG, - "\n \t CosConcurrencyControl: client \n\n")); - - if (cc_client.init (argc, argv) == -1) - { - ACE_DEBUG ((LM_DEBUG, - "Did not initialize correctly\n")); - return 1; - } - else - { - ACE_DEBUG ((LM_DEBUG, - "Running the test\n")); - return cc_client.run (); - } -} diff --git a/TAO/orbsvcs/tests/Concurrency/CC_client.dsp b/TAO/orbsvcs/tests/Concurrency/CC_client.dsp deleted file mode 100644 index 40b8420b51c..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_client.dsp +++ /dev/null @@ -1,142 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CC_client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=CC_client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "CC_client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "CC_client.mak" CFG="CC_client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "CC_client - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "CC_client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "CC_client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "CC_client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\orbsvcs" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "CC_client - Win32 Release"
-# Name "CC_client - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\CC_client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_client.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_command.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_command.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_command.tab.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_command.tab.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_naming_service.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_naming_service.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_test_utils.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_test_utils.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_tests.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CC_tests.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\lex.CC_command.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\tmplinst.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/orbsvcs/tests/Concurrency/CC_client.h b/TAO/orbsvcs/tests/Concurrency/CC_client.h deleted file mode 100644 index 089b01c88ec..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_client.h +++ /dev/null @@ -1,138 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Concurrency -// -// = FILENAME -// CC_client.h -// -// = DESCRIPTION -// This class implements a client used to test the CosConcurrency -// service. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "orbsvcs/CosConcurrencyControlC.h" -#include "orbsvcs/CosNamingC.h" -#include "CC_tests.h" -#include "CC_naming_service.h" -#include "CC_command.h" -#include "CC_command.tab.h" - -#if !defined(_CC_CLIENT_H_) -#define _CC_CLIENT_H_ - -// Stuff to be used by the command file parser -int ace_cc_yyparse(void); -int line_no = 1; -char line_buf[500]; -CC_CommandList *cmdlist; -extern FILE *ace_cc_yyin; -// end of parser stuff - - -class CC_Client -{ - // = TITLE - // Defines a class that encapsulates the behaviour of a clien of - // the concurrency service. - // - // = DESCRIPTION - // This class declares an interface to run the test client for - // the concurrency service. -public: - // = Initialization and termination methods. - CC_Client (void); - // Default constructor. - - ~CC_Client (void); - // Destructor. - - int run (void); - // Run the test. - - int init (int argc, char **argv); - // Initialize the test with the parameters from the command line. - -private: - int init_naming_service (void); - // Function to initialize the naming service. - - int parse_args (void); - // Function to parse the command line arguments. - - int read_ior (char *filename); - // Function to read the ior from the given file. - - int run_basic_tests (void); - // Runs the basic tests (on a single lock set). Returns CC_SUCCESS - // upon success CC_FAIL otherwise. - - int run_extended_tests (char *params); - // Runs the extended tests (on more lock sets). Returns CC_SUCCESS - // upon success CC_FAIL otherwise. - - int check_extended_test_params(char *params); - // Checks the parameters given to the run_extended_tests() function. - // returns -1 if an error is found. - - CC_naming_service *naming_service_; - // A pointer to the naming service used for this test. - - FILE *cc_factory_ior_file_; - // File from which to obtain the IOR. - - char *cc_factory_key_; - // The factory key for the lock set factory. - - ACE_HANDLE f_handle_; - // File handle to read the IOR. - - int shutdown_; - // Flag to tell server to shutdown. - - CORBA::ORB_var orb_; - // Remember our orb. - - // CosConcurrencyControl::LockSetFactory_var factory_; - // factory pointer for the lock set. @@TAO maybe to be used when naming - // service is not used (for simple testing) - - int argc_; - // The number of arguments passed on the command line. - - char **argv_; - // The arguments from the command line. - - int use_naming_service_; - // Flag to tell the client whether to use the naming service or not - // to find the concurrency control factory. - - int run_basic_tests_; - // flag to tell which test should be run. - - int run_extended_tests_; - // flag to tell which test should be run. - - char *extended_tests_params_; - // Parameters to the extended tests. The parameters are of the - // following format: <test>:<parm1>:<parm2>... - - int use_script_file_; - // Flag to tell whethter to use a script file to run the tests. - - char *script_file_; - // The script file to run - - void print_usage (void); - // Prints out the options to the program. -}; -#endif /* !defined (_CC_CLIENT_H_) */ diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.cpp b/TAO/orbsvcs/tests/Concurrency/CC_command.cpp deleted file mode 100644 index e4c2e29de9b..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.cpp +++ /dev/null @@ -1,667 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests -// -// = FILENAME -// CC_command.cpp -// -// = DESCRIPTION -// This is the command classes for the test of the concurrency service. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "CC_command.h" -#include "CC_test_utils.h" -#include "CC_naming_service.h" -#include "ace/ACE.h" -#include "ace/Process.h" -#include "orbsvcs/CosConcurrencyControlC.h" -#include <stdio.h> - -ACE_RCSID(Concurrency, CC_command, "$Id$") - -CC_Command::~CC_Command(void) -{ -} - -int CC_Command::execute() -{ - return 0; -} - -CC_Command::CC_Command(void) -{ -} - -CosConcurrencyControl::LockSet_var -CC_Command::GetLockSet(char *lock_set_name, CORBA::Environment &_env) -{ - TAO_TRY - { - if(ACE_OS::strcmp(lock_set_name, "")!=0) - { - CORBA::Object_var ccls_obj = - CC_naming_service::Instance()->get_obj_from_name ("", lock_set_name, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - CosConcurrencyControl::LockSet_var ccls = - CosConcurrencyControl::LockSet::_narrow (ccls_obj.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - return ccls; - } - else - { - // No lock set name was given. Use the global lock set. - if(cc_lockset_.in()==0) - { - TAO_TRY_ENV.clear(); - TAO_TRY_ENV.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - } - else - return cc_lockset_; - } - } - TAO_CATCHANY - { - TAO_RETHROW_RETURN(0); - } - TAO_ENDTRY; - // We should never get here - return 0; -} - -CORBA::Exception *CC_Command::excep_ = 0; - -CosConcurrencyControl::LockSet_var CC_Command::cc_lockset_(0); - -CC_Start_Cmd::CC_Start_Cmd(char *config_file_name) - : cfg_name_ (config_file_name) -{ - // printf("CC_Start_Cmd::CC_Start_Cmd: config: %s\n", config_file_name); -} - -CC_Start_Cmd::~CC_Start_Cmd() -{ - // cfg_name_ is allocated in the lexer with strdup - if(cfg_name_) - { - ACE_OS::free(cfg_name_); - cfg_name_ = 0; - } -} - -int CC_Start_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing start command (script file: %s)\n", cfg_name_); - - char cmd_line[1024]; - int success = ACE_OS::sprintf(&cmd_line[0], "%s -c %s", - "./CC_client", cfg_name_); - if(success>=1024 || success==-1) - ACE_ERROR_RETURN((LM_ERROR, "Creation of process failed: %s\n", - cmd_line), 0); - - ACE_Process new_process; - ACE_Process_Options options; - options.command_line(cmd_line); - - if(new_process.spawn(options) == -1) - { - ACE_ERROR_RETURN((LM_ERROR, "Creation of process failed: %s\n", - cmd_line), 0); - } - return 1; // CC_SUCCESS -} - -CC_CreateLockSet_Cmd::CC_CreateLockSet_Cmd(char *lock_set_name) - : name_ (lock_set_name) -{ - // printf("CC_CreateLockSet_Cmd::CC_CreateLockSet_Cmd: lock set: %s\n", - // lock_set_name); -} - -CC_CreateLockSet_Cmd::~CC_CreateLockSet_Cmd() -{ - // name_ is allocated in the lexer with strdup - if(name_) - { - ACE_OS::free(name_); - name_ = 0; - } -} - -int CC_CreateLockSet_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing create command (lock set: %s)\n", name_); - - TAO_TRY - { - CosConcurrencyControl::LockSet_ptr lock_set = - CC_TestUtils::create_lock_set(); - if(ACE_OS::strcmp(name_,"")!=0)// Do not bind an empty name - { - CC_naming_service::Instance()->bind_name(name_, - lock_set, TAO_TRY_ENV); - TAO_CHECK_ENV; - } - else - { - // We did not specify a name => the global lock set variable is set - cc_lockset_ = lock_set; - } - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception("CC_CreateLockSet_Cmd::execute(void)"); - excep_ = TAO_TRY_ENV.exception(); - } - TAO_ENDTRY; - - return 1; // CC_SUCCESS -} - -CC_Lock_Cmd::CC_Lock_Cmd(char *lock_set_name, - CosConcurrencyControl::lock_mode mode) - : name_(lock_set_name), mode_(mode) -{ - // printf("CC_Lock_Cmd::CC_Lock_Cmd: lock set: %s, mode: %s\n", - // lock_set_name, CC_TestUtils::get_lock_mode_name(mode)); -} - -CC_Lock_Cmd::~CC_Lock_Cmd() -{ -} - -int CC_Lock_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing lock command (lock set: %s, mode: %s)\n", - name_, CC_TestUtils::get_lock_mode_name(mode_)); - - TAO_TRY - { - CosConcurrencyControl::LockSet_var ccls = GetLockSet(name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - ccls->lock (mode_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Lock_Cmd::execute(void)"); - excep_ = TAO_TRY_ENV.exception(); - // return 0; // should be CC_FAIL - } - TAO_ENDTRY; - return 1; // CC_SUCCESS -} - -CC_UnLock_Cmd::CC_UnLock_Cmd(char *lock_set_name, - CosConcurrencyControl::lock_mode mode) - : name_(lock_set_name), mode_ (mode) -{ - // printf("CC_UnLock_Cmd::CC_UnLock_Cmd: lock set: %s, mode: %s\n", - // lock_set_name, CC_TestUtils::get_lock_mode_name(mode)); -} - -CC_UnLock_Cmd::~CC_UnLock_Cmd() -{ -} - -int CC_UnLock_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing unlock command (lock set: %s, mode: %s)\n", - name_, CC_TestUtils::get_lock_mode_name(mode_)); - - TAO_TRY - { - CosConcurrencyControl::LockSet_var ccls = GetLockSet(name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - - ccls->unlock (mode_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_UnLock_Cmd::execute(void)"); - excep_ = TAO_TRY_ENV.exception(); - // return 0; // should be CC_FAIL - } - TAO_ENDTRY; - return 1; // CC_SUCCESS -} - -CC_TryLock_Cmd::CC_TryLock_Cmd(char *lock_set_name, - CosConcurrencyControl::lock_mode mode) - : name_ (lock_set_name), mode_ (mode) -{ - // printf("CC_TryLock_Cmd::CC_TryLock_Cmd: lock set: %s, mode %s\n", - // lock_set_name, CC_TestUtils::get_lock_mode_name(mode)); -} - -CC_TryLock_Cmd::~CC_TryLock_Cmd() -{ -} - -int CC_TryLock_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing try_lock command (lock set: %s, mode: %s)\n", - name_, CC_TestUtils::get_lock_mode_name(mode_)); - - CORBA::Boolean lock_not_held; - - TAO_TRY - { - CosConcurrencyControl::LockSet_var ccls = GetLockSet(name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - - lock_not_held = ccls->try_lock (mode_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (lock_not_held) - { - ACE_DEBUG ((LM_DEBUG, - "%s lock not held\n", - CC_TestUtils::get_lock_mode_name (mode_))); - } - else - ACE_DEBUG ((LM_DEBUG, - "%s lock held\n", - CC_TestUtils::get_lock_mode_name (mode_))); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_TryLock_Cmd::execute(void)"); - excep_ = TAO_TRY_ENV.exception(); - // return 0; // Should be CC_FAIL - } - TAO_ENDTRY; - - return 1; // CC_SUCCESS -} - -CC_ChangeMode_Cmd::CC_ChangeMode_Cmd(char *lock_set_name, - CosConcurrencyControl::lock_mode held_mode, - CosConcurrencyControl::lock_mode new_mode) - : name_(lock_set_name), held_mode_ (held_mode), new_mode_ (new_mode) -{ - // printf("CC_ChangeMode_Cmd::CC_ChangeMode_Cmd: lock set: %s, held mode: %s, new mode: %s\n", - // lock_set_name, - // CC_TestUtils::get_lock_mode_name(held_mode), - // CC_TestUtils::get_lock_mode_name(new_mode)); -} - -CC_ChangeMode_Cmd::~CC_ChangeMode_Cmd() -{ -} - -int CC_ChangeMode_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing change_mode command (lock set: %s, held_mode: %s, new_mode: %s)\n", - name_, CC_TestUtils::get_lock_mode_name(held_mode_), - CC_TestUtils::get_lock_mode_name(new_mode_)); - - TAO_TRY - { - CosConcurrencyControl::LockSet_var ccls = GetLockSet(name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - - ccls->change_mode (held_mode_, new_mode_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_ChangeMode_Cmd::execute(void)"); - excep_ = TAO_TRY_ENV.exception(); - // return 0; // CC_FAIL - } - TAO_ENDTRY; - return 1; // CC_SUCCESS -} - -CC_Sleep_Cmd::CC_Sleep_Cmd(int seconds) - : time_ (seconds) -{ - // printf("CC_Sleep_Cmd::CC_Sleep_Cmd: time: %i\n", seconds); -} - -CC_Sleep_Cmd::~CC_Sleep_Cmd() -{ -} - -int CC_Sleep_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing sleep command (time: %i)\n", time_); - - ACE_OS::sleep(time_); - return 1; // CC_SUCCESS -} - -CC_Repeat_Cmd::CC_Repeat_Cmd(int times) - : times_ (times) -{ - // printf("CC_Repeat_Cmd::CC_Repeat_Cmd: times: %i\n", times); -} - -CC_Repeat_Cmd::~CC_Repeat_Cmd() -{ -} - -int CC_Repeat_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing repeat command (times: %i)\n", times_); - - return 1; // CC_SUCCESS -} - -CC_Wait_Cmd::CC_Wait_Cmd(char *prompt) - : prompt_ (prompt) -{ - // printf("CC_Wait_Cmd::CC_Wait_Cmd: prompt: %s\n", prompt); -} - -CC_Wait_Cmd::~CC_Wait_Cmd() -{ -} - -int CC_Wait_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing wait command\n"); - - char s[1]; - printf("%s", prompt_); - ACE_OS::gets(&s[0]); - return 1; // CC_SUCCESS -} - -CC_Excep_Cmd::CC_Excep_Cmd(char *excep) - : ex_(excep) -{ - // printf("CC_Excep_Cmd::CC_Excep_Cmd: excep: %s\n", excep); -} - -CC_Excep_Cmd::~CC_Excep_Cmd(void) -{ - if(ex_) - delete ex_; -} - -int -CC_Excep_Cmd::execute(void) -{ - printf("Executing excep command (expected: %s)\n", ex_); - // First we check to see if an exception has occured. If not we fail - // because we expected to see one - if(excep_==0) - return 0; // CC_FAIL - - // If there is an exception check that it's the expected one - if(ACE_OS::strcmp(excep_->_id(), ex_)==0) - { - delete excep_; - excep_ = 0; - return 1; // CC_SUCCESS - } - else - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } -} - -CC_Dummy_Cmd::CC_Dummy_Cmd(void) -{ -} - -CC_Dummy_Cmd::~CC_Dummy_Cmd(void) -{ -} - -int -CC_Dummy_Cmd::execute(void) -{ - return 1; // CC_SUCCESS -} - -CC_Print_Cmd::CC_Print_Cmd(char * message) - : msg_ (message) -{ -} - -CC_Print_Cmd::~CC_Print_Cmd(void) -{ - if(msg_) - { - ACE_OS::free(msg_); - msg_ = 0; - } -} - -int -CC_Print_Cmd::execute(void) -{ - printf("%s\n", msg_); - return 1; // CC_SUCCESS -} - -CC_Lookup_Cmd::CC_Lookup_Cmd(char *lock_set_name) - : name_ (lock_set_name) -{ -} - -CC_Lookup_Cmd::~CC_Lookup_Cmd() -{ - if(name_) - { - ACE_OS::free(name_); - name_ = 0; - } -} - -int -CC_Lookup_Cmd::execute(void) -{ - if(excep_) - { - printf("Exception: %s\n", excep_->_id()); - delete excep_; - excep_ = 0; - return 0; // CC_FAIL - } - - printf("Executing lookup command (lock set: %s)\n", name_); - - // Do the lookup if we haven't done it before - if(cc_lockset_.in() == 0) - { - TAO_TRY - { - CORBA::Object_var ccls_obj = - CC_naming_service::Instance()->get_obj_from_name ("", name_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - CosConcurrencyControl::LockSet_var ccls = - CosConcurrencyControl::LockSet::_narrow (ccls_obj.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - cc_lockset_ = ccls; - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_UnLock_Cmd::execute(void)"); - excep_ = TAO_TRY_ENV.exception(); - // return 0; // CC_FAIL - } - TAO_ENDTRY; - } - return 1; // CC_SUCCESS -} - -CC_CommandElem::CC_CommandElem(CC_Command *cmd, CC_CommandElem *next) - : next_ (next), cmd_ (cmd) -{ -} - -CC_CommandElem::~CC_CommandElem(void) -{ -} - -CC_Command *CC_CommandElem::GetCommand(void) -{ - return cmd_; -} - -CC_CommandElem * -CC_CommandElem::GetNext(void) -{ - return next_; -} - -void -CC_CommandElem::SetNext(CC_CommandElem *next) -{ - next_ = next; -} - -CC_CommandList::CC_CommandList(void) - : head_ (0), last_ (0), times_ (1) -{ - printf("CC_CommandList::CC_CommandList\n"); -} - -CC_CommandList::~CC_CommandList(void) -{ -} - -int -CC_CommandList::add(CC_Command *cmd) -{ - if(head_==0) - { - head_ = new CC_CommandElem(cmd, 0); - last_ = head_; - } - else - { - CC_CommandElem *tmp = new CC_CommandElem(cmd, 0); - last_->SetNext(tmp); - last_ = tmp; - } - return 0; -} - -int -CC_CommandList::execute(void) -{ - CC_CommandElem *current = head_; - - for(int i=0; i<times_; i++) - { - current = head_; - while(current!=0) - { - if(current->GetCommand()->execute()==0) // == CC_FAIL - { - return 0; // CC_FAIL - } - current = current->GetNext(); - } - } - return 1; // CC_SUCCESS -} - -void -CC_CommandList::setrepeat(int times) -{ - times_ = times; -} diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.h b/TAO/orbsvcs/tests/Concurrency/CC_command.h deleted file mode 100644 index e695af96a92..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.h +++ /dev/null @@ -1,471 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Concurrency -// -// = FILENAME -// CC_command.h -// -// = DESCRIPTION -// This file implements the command possible to execute on the -// concurrency service's lock set interface. The file also contains -// an implementation of a command list used by the command parser to -// store the commands to be executed. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "orbsvcs/CosConcurrencyControlC.h" - -#ifndef _CC_COMMAND_H_ -#define _CC_COMMAND_H_ - -class CC_Command - // = TITLE - // Defines an abstact class for the commands towards the lock set - // - // = DESCRIPTION - // This class declares an interface to run a test towards one or more - // lock sets in the concurrency service. The class provides a virtual - // execute method that is common for all its subclasses. It is also the - // the base class for the auxillary commands start, wait, and sleep. -{ - public: - virtual ~CC_Command(void); - // Destructor - - virtual int execute() = 0; - // Abstract execute method - - protected: - CosConcurrencyControl::LockSet_var - GetLockSet(char *lock_set_name, CORBA::Environment &_env); - // Function to look up the lock set we are operating on, or if the - // name is "" return the global lock set variable - - CC_Command(void); - // Default constructor. We do not want instances of this class - - static CORBA::Exception *excep_; - // The last exception raised in one of the test commands. This variable - // is checked by all commands in order to determine if an exception has - // been raised. This is necessary because sometimes we want to check that - // an event caused an exception (done by the CC_Excep_Cmd command class) - // as part of the testing. - - static CosConcurrencyControl::LockSet_var cc_lockset_; - // This is the default lock set. The variable is either set by a create - // command without name or by the lookup command. - - private: -}; - -class CC_Start_Cmd:public CC_Command - // = TITLE - // Defines a class for the start command - // - // = DESCRIPTION - // This class represents the start command. The start command is used - // to start a new process with another script file in order to test the - // aspects of the concurrency service that requires several processes - // running at the same time. -{ - public: - CC_Start_Cmd(char *config_file_name); - // Constructor - - virtual ~CC_Start_Cmd(); - // Destructor - - virtual int execute(void); - // Start the child process. The current version does not wait for the - // process to terminate. - - private: - char *cfg_name_; - // The name of the script file -}; - -class CC_CreateLockSet_Cmd:public CC_Command - // = TITLE - // Defines a class for the create command on the lock set factory - // - // = DESCRIPTION - // This class represents the create command on the lock set factory. - // The lock set is registered in the naming service with the provided - // name. -{ - public: - CC_CreateLockSet_Cmd(char *lock_set_name); - // Constructor - - virtual ~CC_CreateLockSet_Cmd(); - // Destructor - - virtual int execute(void); - // Executes the command, i.e. creates the lock set and binds the name - // in the naming service. - - private: - char *name_; - // The name used to bind in the naming service. -}; - -class CC_Lock_Cmd:public CC_Command - // = TITLE - // Defines a class for the lock command on the lock set - // - // = DESCRIPTION - // This class represents the lock command on the lock set. The lock set - // is looked up in the naming service. -{ - public: - CC_Lock_Cmd(char *lock_set_name, CosConcurrencyControl::lock_mode mode); - // Constructor. - - virtual ~CC_Lock_Cmd(); - // Destructor - - virtual int execute(void); - // Executes the command, i.e. looks up the lock set with the requested - // name in the naming server and executes the lock command on that lock set. - - private: - char *name_; - // The name to look up in the naming service. - - CosConcurrencyControl::lock_mode mode_; - // The mode of the lock. -}; - -class CC_UnLock_Cmd:public CC_Command - // = TITLE - // Defines a class for the unlock command on the lock set - // - // = DESCRIPTION - // This class represents the unlock command on the lock set. The lock set - // is looked up in the naming service. -{ - public: - CC_UnLock_Cmd(char *lock_set_name, CosConcurrencyControl::lock_mode mode); - // Constructor. - - virtual ~CC_UnLock_Cmd(); - // Destructor - - virtual int execute(void); - // Executes the command, i.e. looks up the lock set with the requested - // name in the naming server and executes the unlock command on that - // lock set. - - private: - char *name_; - // The name to look up in the naming service. - - CosConcurrencyControl::lock_mode mode_; - // The mode of the lock. -}; - -class CC_TryLock_Cmd:public CC_Command - // = TITLE - // Defines a class for the try_lock command on the lock set - // - // = DESCRIPTION - // This class represents the try_lock command on the lock set. The lock set - // is looked up in the naming service. -{ - public: - CC_TryLock_Cmd(char *lock_set_name, CosConcurrencyControl::lock_mode mode); - // Constructor - - virtual ~CC_TryLock_Cmd(); - // Destructor - - virtual int execute(void); - // Executes the command, i.e. looks up the lock set with the requested - // name in the naming server and executes the try_lock command on that - // lock set. - - private: - char *name_; - // The name to look up in the naming service. - - CosConcurrencyControl::lock_mode mode_; - // The mode of the lock. -}; - -class CC_ChangeMode_Cmd:public CC_Command - // = TITLE - // Defines a class for the change_mode command on the lock set - // - // = DESCRIPTION - // This class represents the change_mode command on the lock set. - // The lock set is looked up in the naming service. -{ - public: - CC_ChangeMode_Cmd(char *lock_set_name, - CosConcurrencyControl::lock_mode held_mode, - CosConcurrencyControl::lock_mode new_mode); - // Constructor - - virtual ~CC_ChangeMode_Cmd(); - // Destructor - - virtual int execute(void); - // Executes the command, i.e. looks up the lock set with the requested - // name in the naming server and executes the change_mode command on that - // lock set. - - private: - char *name_; - // The name to look up in the naming service. - - CosConcurrencyControl::lock_mode held_mode_; - // The mode of the held lock - - CosConcurrencyControl::lock_mode new_mode_; - // The new mode of the lock -}; - -class CC_Sleep_Cmd:public CC_Command - // = TITLE - // Defines a class for the sleep command - // - // = DESCRIPTION - // This class represents the sleep command. This command is used to make - // the script pause for the requested number of second, e.g. to wait for - // another process to start. -{ - public: - CC_Sleep_Cmd(int seconds); - // Constructor. - - virtual ~CC_Sleep_Cmd(); - // Destructor. - - virtual int execute(void); - // Executes the command. - - private: - int time_; - // The number of seconds to sleep -}; - -class CC_Repeat_Cmd:public CC_Command - // = TITLE - // Defines a class for the repeat command - // - // = DESCRIPTION - // This class represents the repeat command. This command is used to make - // the script repeat the test the requested number of times. - // The command is curently NOT implemented. -{ - public: - CC_Repeat_Cmd(int times); - // Constructor. - - virtual ~CC_Repeat_Cmd(); - // Destructor. - - virtual int execute(void); - // Executes the command. - private: - int times_; - // The number of times the commands should be repeated -}; - -class CC_Wait_Cmd:public CC_Command - // = TITLE - // Defines a class for the wait command - // - // = DESCRIPTION - // This class represents the wait command. This command is used to make - // the script wait for the user to press return. It is possible to print - // different prompts, e.g. instructions. -{ - public: - CC_Wait_Cmd(char *prompt); - // Constructor. - - virtual ~CC_Wait_Cmd(); - // Destructor. - - virtual int execute(void); - // Executes the command. - - private: - char *prompt_; - // The prompt to print on the screen -}; - -class CC_Excep_Cmd: public CC_Command - // = TITLE - // Defines a class for the excep command - // - // = DESCRIPTION - // This class represents the excep command. This command is used to make - // the script capable of dealing with cases where an exception is raised - // as part of the testing. -{ - public: - CC_Excep_Cmd(char *excep); - // Constructor. - - virtual ~CC_Excep_Cmd(void); - // Destructor. - - virtual int execute(void); - // Executes the command. Checks to see if the excep_ class variable is set, - // and if that's the case check that it is of the expected type. If not the - // test fails. - - private: - char *ex_; - // The string representation of the expected exception -}; - -class CC_Dummy_Cmd: public CC_Command - // = TITLE - // Defines a class for the dummy command - // - // = DESCRIPTION - // This class represents the dummy command. This command is used to - // put in a command in the chain that does nothing. -{ - public: - CC_Dummy_Cmd(void); - // Constructor. - - virtual ~CC_Dummy_Cmd(void); - // Destructor. - - virtual int execute(void); - // Executes the command, i.e. does nothing. - - private: -}; - -class CC_Print_Cmd: public CC_Command - // = TITLE - // Defines a class for the print command - // - // = DESCRIPTION - // This class represents the print command. This command is used to - // print a message on stdout -{ - public: - CC_Print_Cmd(char *message); - // Constructor. - - virtual ~CC_Print_Cmd(void); - // Destructor. - - virtual int execute(void); - // Executes the command. - - private: - char *msg_; - // Holds the message to print -}; - -class CC_Lookup_Cmd:public CC_Command - // = TITLE - // Defines a class for the lookup command. - // - // = DESCRIPTION - // This class represents the lookup command. The lock set - // is looked up in the naming service and the class variable - // cc_lockset_ is set accordingly. -{ - public: - CC_Lookup_Cmd(char *lock_set_name); - // Constructor - - virtual ~CC_Lookup_Cmd(); - // Destructor - - virtual int execute(void); - // Executes the command, i.e. looks up the lock set with the requested - // name in the naming server and sets the cc_lockset_ variable. - - private: - char *name_; - // The name to look up in the naming service. - -}; - -class CC_CommandElem - // = TITLE - // Defines a class for a command element - // - // = DESCRIPTION - // This class implements a command element used in the command list - // below. The class is a simple tupple holding a pointer to the command - // and a pointer to the next element in the list. -{ - public: - CC_CommandElem(CC_Command *cmd, CC_CommandElem *next); - // Constructor. - - ~CC_CommandElem(void); - // Destructor. - - CC_Command *GetCommand(void); - // Returns a pointer to the command in this element - - CC_CommandElem *GetNext(void); - // Returns the pointer to the next element - - void SetNext(CC_CommandElem *next); - // Sets the next pointer - - private: - CC_CommandElem *next_; - // Pointer to the next element - - CC_Command *cmd_; - // Pointer to the command element -}; - -class CC_CommandList - // = TITLE - // Defines a class for a command list - // - // = DESCRIPTION - // This class implements a command list used from the script parser - // to store the parsed commands The class implements a simple single - // linked list. -{ - public: - CC_CommandList(void); - // Constructor. - - ~CC_CommandList(void); - // Destructor. - - int add(CC_Command *cmd); - // Adds the command to the list - - int execute(void); - // Executes all the commands in the list from head to tail - - void setrepeat(int times); - // Sets the number of times to repeat the script - - private: - CC_CommandElem *head_; - // The head of the command list - - CC_CommandElem *last_; - // The last inserted element - - int times_; - // The number of times the script should be repeated -}; - -#endif /* _CC_COMMAND_H_ */ diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.l b/TAO/orbsvcs/tests/Concurrency/CC_command.l deleted file mode 100644 index 57ff98ea222..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.l +++ /dev/null @@ -1,58 +0,0 @@ -/* $id$ - * ============================================================================ - * - * = LIBRARY - * TAO/orbsvcs/tests - * - * = FILENAME - * CC_command.l - * - * = DESCRIPTION - * This is the lex file for the concurrency service script language. - * - * = AUTHORS - * Torben Worm <tworm@cs.wustl.edu> - * - * ============================================================================ - */ -%option noyywrap nounput noinput always-interactive -%{ -#include "CC_command.h" -#include "CC_command.tab.h" -#include "ace/ACE.h" - -extern int line_no; -extern char line_buf[500]; -%} - -%% - -; return T_TERM; -start return T_START_CMD; -create return T_CREATE_CMD; -lock return T_LOCK_CMD; -unlock return T_UNLOCK_CMD; -try_lock return T_TRYLOCK_CMD; -change_mode return T_CHANGEMODE_CMD; -sleep return T_SLEEP_CMD; -wait return T_WAIT_CMD; -print return T_PRINT_CMD; -repeat return T_REPEAT_CMD; -exception return T_EXCEP_CMD; -lookup return T_LOOKUP_CMD; -read return T_READ; -intention_read return T_IREAD; -upgrade return T_UPGRADE; -write return T_WRITE; -intention_write return T_IWRITE; -\".*\" { yylval.id = ACE_OS::strdup(&yytext[1]); - yylval.id[yyleng-2]='\0'; - return Q_STRING; } -[0-9]+ { yylval.num = atoi(yytext); return T_NUM; } -[A-Za-z][A-Za-z_0-9\.:/]* { yylval.id = ACE_OS::strdup(yytext); - return T_IDENT; } -^\/\/.*\n { } -[ ]+ { } -\n.* { line_no ++; - ACE_OS::strcpy(line_buf, yytext+1); - yyless(1); } diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp b/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp deleted file mode 100644 index 63df1f96012..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp +++ /dev/null @@ -1,682 +0,0 @@ -// $Id$ -#ifndef lint -char ace_cc_yysccsid[] = "@(#)yaccpar 1.4 (Berkeley) 02/25/90 \n\ - Modified 5/2/90 by J. Roskind to support graphic debugging modes"; -#endif -#line 19 "CC_command.y" -#include "CC_command.h" -#include "ace/ACE.h" -#include "orbsvcs/CosConcurrencyControlC.h" - -void ace_cc_yyerror (const char* s); -int ace_cc_yylex(void); - -extern int line_no; -extern char line_buf[500]; -extern char *ace_cc_yytext; -extern CC_CommandList *cmdlist; -#line 32 "CC_command.y" -typedef union { - CC_Command *command; - CosConcurrencyControl::lock_mode lock_mode; - char *id; - int num; -} ACE_CC_YYSTYPE; -#line 25 "CC_command.tab.cpp" -#define T_START_CMD 257 -#define T_CREATE_CMD 258 -#define T_LOCK_CMD 259 -#define T_UNLOCK_CMD 260 -#define T_TRYLOCK_CMD 261 -#define T_CHANGEMODE_CMD 262 -#define T_SLEEP_CMD 263 -#define T_WAIT_CMD 264 -#define T_REPEAT_CMD 265 -#define T_EXCEP_CMD 266 -#define T_PRINT_CMD 267 -#define T_LOOKUP_CMD 268 -#define T_TERM 269 -#define T_READ 270 -#define T_IREAD 271 -#define T_UPGRADE 272 -#define T_WRITE 273 -#define T_IWRITE 274 -#define T_IDENT 275 -#define Q_STRING 276 -#define T_NUM 277 -#define ACE_CC_YYERRCODE 256 -short ace_cc_yylhs[] = { -1, - 0, 0, 6, 6, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 3, 4, 5, 5, 5, 5, 5, -}; -short ace_cc_yylen[] = { 2, - 0, 1, 2, 1, 3, 3, 2, 4, 3, 4, - 3, 4, 3, 5, 4, 3, 2, 3, 3, 3, - 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, -}; -short ace_cc_yydefred[] = { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 4, 0, 23, 0, 7, 24, 0, - 26, 27, 28, 29, 30, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 17, 0, 0, 25, 0, 0, - 0, 3, 5, 6, 0, 9, 0, 11, 0, 13, - 0, 0, 16, 18, 21, 22, 19, 20, 8, 10, - 12, 0, 15, 14, -}; -short ace_cc_yydgoto[] = { 13, - 14, 17, 20, 39, 27, 15, -}; -short ace_cc_yysindex[] = { -254, - -260, -239, -233, -233, -233, -233, -256, -249, -246, -252, - -244, -242, 0, 0, -254, 0, -235, 0, 0, -234, - 0, 0, 0, 0, 0, -222, -226, -222, -225, -222, - -224, -222, -222, -223, 0, -216, -215, 0, -214, -213, - -212, 0, 0, 0, -211, 0, -210, 0, -209, 0, - -222, -208, 0, 0, 0, 0, 0, 0, 0, 0, - 0, -207, 0, 0, -}; -short ace_cc_yyrindex[] = { 63, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, -}; -short ace_cc_yygindex[] = { 0, - 50, 0, 13, 0, -4, 0, -}; -#define ACE_CC_YYTABLESIZE 65 -short ace_cc_yytable[] = { 29, - 31, 33, 1, 2, 3, 4, 5, 6, 7, 8, - 9, 10, 11, 12, 16, 26, 28, 30, 32, 35, - 34, 45, 38, 47, 41, 49, 36, 51, 52, 18, - 37, 40, 19, 43, 44, 19, 21, 22, 23, 24, - 25, 19, 46, 48, 50, 53, 62, 21, 22, 23, - 24, 25, 54, 55, 56, 57, 58, 59, 60, 61, - 63, 64, 1, 2, 42, -}; -short ace_cc_yycheck[] = { 4, - 5, 6, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 268, 275, 3, 4, 5, 6, 269, - 277, 26, 275, 28, 12, 30, 276, 32, 33, 269, - 277, 276, 275, 269, 269, 275, 270, 271, 272, 273, - 274, 275, 269, 269, 269, 269, 51, 270, 271, 272, - 273, 274, 269, 269, 269, 269, 269, 269, 269, 269, - 269, 269, 0, 0, 15, -}; -#define ACE_CC_YYFINAL 13 -#ifndef ACE_CC_YYDEBUG -#define ACE_CC_YYDEBUG 0 -#endif -#define ACE_CC_YYMAXTOKEN 277 -#if ACE_CC_YYDEBUG -char *ace_cc_yyname[] = { -"end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"T_START_CMD","T_CREATE_CMD", -"T_LOCK_CMD","T_UNLOCK_CMD","T_TRYLOCK_CMD","T_CHANGEMODE_CMD","T_SLEEP_CMD", -"T_WAIT_CMD","T_REPEAT_CMD","T_EXCEP_CMD","T_PRINT_CMD","T_LOOKUP_CMD","T_TERM", -"T_READ","T_IREAD","T_UPGRADE","T_WRITE","T_IWRITE","T_IDENT","Q_STRING", -"T_NUM", -}; -char *ace_cc_yyrule[] = { -"$accept : start", -"start :", -"start : cmd_list", -"cmd_list : cmd_list cmd", -"cmd_list : cmd", -"cmd : T_START_CMD config_file_name T_TERM", -"cmd : T_CREATE_CMD lock_set_name T_TERM", -"cmd : T_CREATE_CMD T_TERM", -"cmd : T_LOCK_CMD lock_set_name lock_mode T_TERM", -"cmd : T_LOCK_CMD lock_mode T_TERM", -"cmd : T_UNLOCK_CMD lock_set_name lock_mode T_TERM", -"cmd : T_UNLOCK_CMD lock_mode T_TERM", -"cmd : T_TRYLOCK_CMD lock_set_name lock_mode T_TERM", -"cmd : T_TRYLOCK_CMD lock_mode T_TERM", -"cmd : T_CHANGEMODE_CMD lock_set_name lock_mode lock_mode T_TERM", -"cmd : T_CHANGEMODE_CMD lock_mode lock_mode T_TERM", -"cmd : T_SLEEP_CMD T_NUM T_TERM", -"cmd : T_WAIT_CMD T_TERM", -"cmd : T_WAIT_CMD Q_STRING T_TERM", -"cmd : T_PRINT_CMD Q_STRING T_TERM", -"cmd : T_LOOKUP_CMD lock_set_name T_TERM", -"cmd : T_REPEAT_CMD T_NUM T_TERM", -"cmd : T_EXCEP_CMD exception_name T_TERM", -"config_file_name : T_IDENT", -"lock_set_name : T_IDENT", -"exception_name : T_IDENT", -"lock_mode : T_READ", -"lock_mode : T_IREAD", -"lock_mode : T_UPGRADE", -"lock_mode : T_WRITE", -"lock_mode : T_IWRITE", -}; -#endif -#define ace_cc_yyclearin (ace_cc_yychar=(-1)) -#define ace_cc_yyerrok (ace_cc_yyerrflag=0) -#ifndef ACE_CC_YYSTACKSIZE -#ifdef ACE_CC_YYMAXDEPTH -#define ACE_CC_YYSTACKSIZE ACE_CC_YYMAXDEPTH -#else -#define ACE_CC_YYSTACKSIZE 300 -#endif -#endif -int ace_cc_yydebug; -int ace_cc_yynerrs; -int ace_cc_yyerrflag; -int ace_cc_yychar; -short *ace_cc_yyssp; -ACE_CC_YYSTYPE *ace_cc_yyvsp; -ACE_CC_YYSTYPE ace_cc_yyval; -ACE_CC_YYSTYPE ace_cc_yylval; -#define ace_cc_yystacksize ACE_CC_YYSTACKSIZE -short ace_cc_yyss[ACE_CC_YYSTACKSIZE]; -ACE_CC_YYSTYPE ace_cc_yyvs[ACE_CC_YYSTACKSIZE]; -#line 116 "CC_command.y" - -void -ace_cc_yyerror (const char *s) -{ - ACE_OS::printf ("%d: %s at %s in:\n%s\n", - line_no, - s, - ace_cc_yytext, - line_buf); - ACE_OS::exit (-1); -} -#line 195 "CC_command.tab.cpp" -#define ACE_CC_YYABORT goto ace_cc_yyabort -#define ACE_CC_YYACCEPT goto ace_cc_yyaccept -#define ACE_CC_YYERROR goto ace_cc_yyerrlab -#ifdef ACE_CC_YYDEBUG -#ifndef ACE_CC_YYDEBUG_LEXER_TEXT /* pointer to the text isolated by the lexer*/ -#define ACE_CC_YYDEBUG_LEXER_TEXT "ACE_CC_YYDEBUG_LEXER_TEXT not defined" -#endif -#ifndef ACE_CC_YYDEBUG_INDENT_STRING -#define ACE_CC_YYDEBUG_INDENT_STRING "| " -#endif -#ifndef ACE_CC_YYDEBUG_REDUCE_STRING -#define ACE_CC_YYDEBUG_REDUCE_STRING "+-------" -#endif -#ifndef ACE_CC_YYDEBUG_INDENT -#ifdef __cplusplus -void ACE_CC_YYDEBUG_INDENT(int ace_cc_yyindent) -#else -ACE_CC_YYDEBUG_INDENT(ace_cc_yyindent) -int ace_cc_yyindent; -#endif -{ - while(ace_cc_yyindent-- > 0) - printf("%s", ACE_CC_YYDEBUG_INDENT_STRING); -} -#endif /* ACE_CC_YYDEBUG_INDENT */ -#ifndef ACE_CC_YYDEBUG_REDUCE -#ifdef __cplusplus -void ACE_CC_YYDEBUG_REDUCE(int ace_cc_yynew_state, int ace_cc_yyrule_num, char *ace_cc_yyrule_string, int ace_cc_yynew_indent, int ace_cc_yyrhs_count) -#else -ACE_CC_YYDEBUG_REDUCE(ace_cc_yynew_state, ace_cc_yyrule_num, ace_cc_yyrule_string, ace_cc_yynew_indent, ace_cc_yyrhs_count) -int ace_cc_yynew_state; -int ace_cc_yyrule_num; -char * ace_cc_yyrule_string; -int ace_cc_yynew_indent; -int ace_cc_yyrhs_count; -#endif -{ - if (1 < ace_cc_yyrhs_count) - { /* draw the graphics for the reduction */ - ACE_CC_YYDEBUG_INDENT(ace_cc_yynew_indent); - while(1 < ace_cc_yyrhs_count--) - printf("%s", ACE_CC_YYDEBUG_REDUCE_STRING); - putchar('+'); /* left rotated L would look nice */ - putchar('\n'); - ACE_CC_YYDEBUG_INDENT(ace_cc_yynew_indent); - putchar('|'); /* down arrow would look nice */ - putchar('\n'); - } - ACE_CC_YYDEBUG_INDENT(ace_cc_yynew_indent); - /* Only print the resulting token name */ - while (*ace_cc_yyrule_string) - putchar(*ace_cc_yyrule_string++); - putchar('\n'); -} -#endif /* ACE_CC_YYDEBUG_REDUCE */ -#ifndef ACE_CC_YYDEBUG_SHIFT_LEXEME -#ifdef __cplusplus -void ACE_CC_YYDEBUG_SHIFT_LEXEME(int ace_cc_yyold_state, int ace_cc_yynew_state, char *ace_cc_yytoken_string, int ace_cc_yynew_indent) -#else -ACE_CC_YYDEBUG_SHIFT_LEXEME(ace_cc_yyold_state, ace_cc_yynew_state, ace_cc_yytoken_string, ace_cc_yynew_indent) -int ace_cc_yyold_state; -int ace_cc_yynew_state; -char * ace_cc_yytoken_string; -int ace_cc_yynew_indent; -#endif -{ - ACE_CC_YYDEBUG_INDENT(ace_cc_yynew_indent); - printf("%s <-- `%s'\n", ace_cc_yytoken_string, ACE_CC_YYDEBUG_LEXER_TEXT); -} -#endif /* ACE_CC_YYDEBUG_SHIFT_LEXEME */ -#ifndef ACE_CC_YYDEBUG_LOOK_AHEAD -#ifdef __cplusplus -void ACE_CC_YYDEBUG_LOOK_AHEAD(int ace_cc_yynew_state, int ace_cc_yytoken_num, char *ace_cc_yytoken_string, int ace_cc_yyindent) -#else -ACE_CC_YYDEBUG_LOOK_AHEAD(ace_cc_yynew_state, ace_cc_yytoken_num, ace_cc_yytoken_string, ace_cc_yyindent) -int ace_cc_yynew_state; -int ace_cc_yytoken_num; -char * ace_cc_yytoken_string; -int ace_cc_yyindent; -#endif -{ - ACE_CC_YYDEBUG_INDENT(ace_cc_yyindent); - printf(" .... look ahead at %s `%s'\n", - ace_cc_yytoken_string, - (0 == ace_cc_yytoken_num)? "\0": ACE_CC_YYDEBUG_LEXER_TEXT); -} -#endif /* ACE_CC_YYDEBUG_LOOK_AHEAD */ -#ifndef ACE_CC_YYDEBUG_DISCARD_STATE -#ifdef __cplusplus -void ACE_CC_YYDEBUG_DISCARD_STATE(int ace_cc_yynew_state, int ace_cc_yyindent) -#else -ACE_CC_YYDEBUG_DISCARD_STATE(ace_cc_yynew_state, ace_cc_yyindent) -int ace_cc_yynew_state; -int ace_cc_yyindent; -#endif -{ - if (0 < ace_cc_yyindent) - { /* draw the graphics for the reduction */ - ACE_CC_YYDEBUG_INDENT(ace_cc_yyindent-1); - printf("%s", ACE_CC_YYDEBUG_REDUCE_STRING); - putchar('+'); /* left rotated L would look nice */ - printf(" discarding state\n"); - ACE_CC_YYDEBUG_INDENT(ace_cc_yyindent-1); - putchar('|'); /* down arrow would look nice */ - putchar('\n'); - } - else - { - if (0 == ace_cc_yyindent) - printf("discarding state\n"); - else - printf("no more states to discard: parser will abort\n"); - } -} -#endif /* ACE_CC_YYDEBUG_DISCARD_STATE */ -#ifndef ACE_CC_YYDEBUG_DISCARD_TOKEN -#ifdef __cplusplus -void ACE_CC_YYDEBUG_DISCARD_TOKEN(int ace_cc_yynew_state, int ace_cc_yytoken_num, char *ace_cc_yytoken_string, int ace_cc_yyindent) -#else -ACE_CC_YYDEBUG_DISCARD_TOKEN(ace_cc_yynew_state, ace_cc_yytoken_num, ace_cc_yytoken_string, ace_cc_yyindent) -int ace_cc_yynew_state; -int ace_cc_yytoken_num; -char * ace_cc_yytoken_string; -int ace_cc_yyindent; -#endif -{ - ACE_CC_YYDEBUG_INDENT(ace_cc_yyindent); - printf("discarding token %s\n", ace_cc_yytoken_string); -} -#endif /* ACE_CC_YYDEBUG_DISCARD_TOKEN */ -#ifndef ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME -#ifdef __cplusplus -void ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME(int ace_cc_yyold_state, int ace_cc_yynew_state, int ace_cc_yyindent) -#else -ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME(ace_cc_yyold_state, ace_cc_yynew_state, ace_cc_yyindent) -int ace_cc_yyold_state; -int ace_cc_yynew_state; -int ace_cc_yyindent; -#endif -{ - ACE_CC_YYDEBUG_INDENT(ace_cc_yyindent); - printf("error\n"); -} -#endif /* ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME */ -#endif /* ACE_CC_YYDEBUG */ -#ifdef __cplusplus -extern "C" { extern char *ace_foo(const char *); } -#endif -int -ace_cc_yyparse() -{ - register int ace_cc_yym, ace_cc_yyn, ace_cc_yystate; -#if ACE_CC_YYDEBUG - register char *ace_cc_yys; -#ifndef __cplusplus - extern char *ace_foo(); -#endif - - if (ace_cc_yys = ACE_OS::getenv("ACE_CC_YYDEBUG")) - { - ace_cc_yyn = *ace_cc_yys; - if (ace_cc_yyn >= '0' && ace_cc_yyn <= '9') - ace_cc_yydebug = ace_cc_yyn - '0'; - } -#endif - - ace_cc_yynerrs = 0; - ace_cc_yyerrflag = 0; - ace_cc_yychar = (-1); - - ace_cc_yyssp = ace_cc_yyss; - ace_cc_yyvsp = ace_cc_yyvs; - *ace_cc_yyssp = ace_cc_yystate = 0; - -ace_cc_yyloop: - if ((ace_cc_yyn = ace_cc_yydefred[ace_cc_yystate])) goto ace_cc_yyreduce; - if (ace_cc_yychar < 0) - { - if ((ace_cc_yychar = ace_cc_yylex()) < 0) ace_cc_yychar = 0; -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - { - ace_cc_yys = 0; - if (ace_cc_yychar <= ACE_CC_YYMAXTOKEN) ace_cc_yys = ace_cc_yyname[ace_cc_yychar]; - if (!ace_cc_yys) ace_cc_yys = "illegal-symbol"; - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: state %d, reading %d (%s)\n", ace_cc_yystate, - ace_cc_yychar, ace_cc_yys); - else - ACE_CC_YYDEBUG_LOOK_AHEAD(ace_cc_yystate, ace_cc_yychar, ace_cc_yys, ace_cc_yyssp-ace_cc_yyss); - } -#endif - } - if ((ace_cc_yyn = ace_cc_yysindex[ace_cc_yystate]) && (ace_cc_yyn += ace_cc_yychar) >= 0 && - ace_cc_yyn <= ACE_CC_YYTABLESIZE && ace_cc_yycheck[ace_cc_yyn] == ace_cc_yychar) - { -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: state %d, shifting to state %d\n", - ace_cc_yystate, ace_cc_yytable[ace_cc_yyn]); - else - ACE_CC_YYDEBUG_SHIFT_LEXEME(ace_cc_yystate, ace_cc_yytable[ace_cc_yyn], ace_cc_yys, ace_cc_yyssp-ace_cc_yyss); -#endif - if (ace_cc_yyssp >= ace_cc_yyss + ace_cc_yystacksize - 1) - { - goto ace_cc_yyoverflow; - } - *++ace_cc_yyssp = ace_cc_yystate = ace_cc_yytable[ace_cc_yyn]; - *++ace_cc_yyvsp = ace_cc_yylval; - ace_cc_yychar = (-1); - if (ace_cc_yyerrflag > 0) --ace_cc_yyerrflag; - goto ace_cc_yyloop; - } - if ((ace_cc_yyn = ace_cc_yyrindex[ace_cc_yystate]) && (ace_cc_yyn += ace_cc_yychar) >= 0 && - ace_cc_yyn <= ACE_CC_YYTABLESIZE && ace_cc_yycheck[ace_cc_yyn] == ace_cc_yychar) - { - ace_cc_yyn = ace_cc_yytable[ace_cc_yyn]; - goto ace_cc_yyreduce; - } - if (ace_cc_yyerrflag) goto ace_cc_yyinrecovery; -#ifdef lint - goto ace_cc_yynewerror; -#endif - - ace_cc_yyerror("syntax error"); -#ifdef lint - goto ace_cc_yyerrlab; -#endif - - ++ace_cc_yynerrs; -ace_cc_yyinrecovery: - if (ace_cc_yyerrflag < 3) - { - ace_cc_yyerrflag = 3; - for (;;) - { - if ((ace_cc_yyn = ace_cc_yysindex[*ace_cc_yyssp]) && (ace_cc_yyn += ACE_CC_YYERRCODE) >= 0 && - ace_cc_yyn <= ACE_CC_YYTABLESIZE && ace_cc_yycheck[ace_cc_yyn] == ACE_CC_YYERRCODE) - { -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: state %d, error recovery shifting\ - to state %d\n", *ace_cc_yyssp, ace_cc_yytable[ace_cc_yyn]); - else - ACE_CC_YYDEBUG_SHIFT_ERROR_LEXEME(*ace_cc_yyssp, ace_cc_yytable[ace_cc_yyn], ace_cc_yyssp-ace_cc_yyss); -#endif - if (ace_cc_yyssp >= ace_cc_yyss + ace_cc_yystacksize - 1) - { - goto ace_cc_yyoverflow; - } - *++ace_cc_yyssp = ace_cc_yystate = ace_cc_yytable[ace_cc_yyn]; - *++ace_cc_yyvsp = ace_cc_yylval; - goto ace_cc_yyloop; - } - else - { -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: error recovery discarding state %d\ -", - *ace_cc_yyssp); - else - ACE_CC_YYDEBUG_DISCARD_STATE(*ace_cc_yyssp, ace_cc_yyssp-ace_cc_yyss-1); -#endif - if (ace_cc_yyssp <= ace_cc_yyss) goto ace_cc_yyabort; - --ace_cc_yyssp; - --ace_cc_yyvsp; - } - } - } - else - { - if (ace_cc_yychar == 0) goto ace_cc_yyabort; -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - { - ace_cc_yys = 0; - if (ace_cc_yychar <= ACE_CC_YYMAXTOKEN) ace_cc_yys = ace_cc_yyname[ace_cc_yychar]; - if (!ace_cc_yys) ace_cc_yys = "illegal-symbol"; - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: state %d, error recovery discards token %d (%s)\n", - ace_cc_yystate, ace_cc_yychar, ace_cc_yys); - else - ACE_CC_YYDEBUG_DISCARD_TOKEN(ace_cc_yystate, ace_cc_yychar, ace_cc_yys, ace_cc_yyssp-ace_cc_yyss); - } -#endif - ace_cc_yychar = (-1); - goto ace_cc_yyloop; - } -ace_cc_yyreduce: - ace_cc_yym = ace_cc_yylen[ace_cc_yyn]; - ace_cc_yyval = ace_cc_yyvsp[1-ace_cc_yym]; -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: state %d, reducing by rule %d (%s)\n", - ace_cc_yystate, ace_cc_yyn, ace_cc_yyrule[ace_cc_yyn]); - else - ACE_CC_YYDEBUG_REDUCE(ace_cc_yystate, ace_cc_yyn, ace_cc_yyrule[ace_cc_yyn], ace_cc_yyssp-ace_cc_yyss-ace_cc_yym, ace_cc_yym); -#endif - switch (ace_cc_yyn) - { -case 2: -#line 52 "CC_command.y" -{ cmdlist->add(new CC_Sleep_Cmd(0)); - /* dummy to check exeption in the last command */ - if(cmdlist->execute()!=0) /*CC_FAIL*/ - { printf(" ** Test succeded!!\n"); } - else - { printf(" ** Test FAILED!!\n"); } } -break; -case 3: -#line 60 "CC_command.y" -{ cmdlist->add(ace_cc_yyvsp[0].command); } -break; -case 4: -#line 61 "CC_command.y" -{ cmdlist->add(ace_cc_yyvsp[0].command); } -break; -case 5: -#line 65 "CC_command.y" -{ ace_cc_yyval.command = new CC_Start_Cmd(ace_cc_yyvsp[-1].id); } -break; -case 6: -#line 67 "CC_command.y" -{ ace_cc_yyval.command = new CC_CreateLockSet_Cmd(ace_cc_yyvsp[-1].id); } -break; -case 7: -#line 69 "CC_command.y" -{ ace_cc_yyval.command = new CC_CreateLockSet_Cmd(""); } -break; -case 8: -#line 71 "CC_command.y" -{ ace_cc_yyval.command = new CC_Lock_Cmd(ace_cc_yyvsp[-2].id, ace_cc_yyvsp[-1].lock_mode); } -break; -case 9: -#line 73 "CC_command.y" -{ ace_cc_yyval.command = new CC_Lock_Cmd("", ace_cc_yyvsp[-1].lock_mode); } -break; -case 10: -#line 75 "CC_command.y" -{ ace_cc_yyval.command = new CC_UnLock_Cmd(ace_cc_yyvsp[-2].id, ace_cc_yyvsp[-1].lock_mode); } -break; -case 11: -#line 77 "CC_command.y" -{ ace_cc_yyval.command = new CC_UnLock_Cmd("", ace_cc_yyvsp[-1].lock_mode); } -break; -case 12: -#line 79 "CC_command.y" -{ ace_cc_yyval.command = new CC_TryLock_Cmd(ace_cc_yyvsp[-2].id, ace_cc_yyvsp[-1].lock_mode); } -break; -case 13: -#line 81 "CC_command.y" -{ ace_cc_yyval.command = new CC_TryLock_Cmd("", ace_cc_yyvsp[-1].lock_mode); } -break; -case 14: -#line 83 "CC_command.y" -{ ace_cc_yyval.command = new CC_ChangeMode_Cmd(ace_cc_yyvsp[-3].id, ace_cc_yyvsp[-2].lock_mode, ace_cc_yyvsp[-1].lock_mode); } -break; -case 15: -#line 85 "CC_command.y" -{ ace_cc_yyval.command = new CC_ChangeMode_Cmd("", ace_cc_yyvsp[-2].lock_mode, ace_cc_yyvsp[-1].lock_mode); } -break; -case 16: -#line 87 "CC_command.y" -{ ace_cc_yyval.command = new CC_Sleep_Cmd(ace_cc_yyvsp[-1].num); } -break; -case 17: -#line 89 "CC_command.y" -{ ace_cc_yyval.command = new CC_Wait_Cmd(""); } -break; -case 18: -#line 91 "CC_command.y" -{ ace_cc_yyval.command = new CC_Wait_Cmd(ace_cc_yyvsp[-1].id); } -break; -case 19: -#line 93 "CC_command.y" -{ ace_cc_yyval.command = new CC_Print_Cmd(ace_cc_yyvsp[-1].id); } -break; -case 20: -#line 95 "CC_command.y" -{ ace_cc_yyval.command = new CC_Lookup_Cmd(ace_cc_yyvsp[-1].id); } -break; -case 21: -#line 97 "CC_command.y" -{ cmdlist->setrepeat(ace_cc_yyvsp[-1].num); - ace_cc_yyval.command = new CC_Dummy_Cmd();} -break; -case 22: -#line 100 "CC_command.y" -{ ace_cc_yyval.command = new CC_Excep_Cmd(ace_cc_yyvsp[-1].id); } -break; -case 23: -#line 103 "CC_command.y" -{ace_cc_yyval.id = ace_cc_yyvsp[0].id; } -break; -case 24: -#line 105 "CC_command.y" -{ace_cc_yyval.id = ace_cc_yyvsp[0].id; } -break; -case 25: -#line 107 "CC_command.y" -{ace_cc_yyval.id = ace_cc_yyvsp[0].id; } -break; -case 26: -#line 109 "CC_command.y" -{ ace_cc_yyval.lock_mode = CosConcurrencyControl::read; } -break; -case 27: -#line 110 "CC_command.y" -{ ace_cc_yyval.lock_mode = CosConcurrencyControl::intention_read; } -break; -case 28: -#line 111 "CC_command.y" -{ ace_cc_yyval.lock_mode = CosConcurrencyControl::upgrade; } -break; -case 29: -#line 112 "CC_command.y" -{ ace_cc_yyval.lock_mode = CosConcurrencyControl::write; } -break; -case 30: -#line 113 "CC_command.y" -{ ace_cc_yyval.lock_mode = CosConcurrencyControl::intention_write; } -break; -#line 622 "CC_command.tab.cpp" - } - ace_cc_yyssp -= ace_cc_yym; - ace_cc_yystate = *ace_cc_yyssp; - ace_cc_yyvsp -= ace_cc_yym; - ace_cc_yym = ace_cc_yylhs[ace_cc_yyn]; - if (ace_cc_yystate == 0 && ace_cc_yym == 0) - { -#ifdef ACE_CC_YYDEBUG - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: after reduction, shifting from state 0 to\ - state %d\n", ACE_CC_YYFINAL); -#endif - ace_cc_yystate = ACE_CC_YYFINAL; - *++ace_cc_yyssp = ACE_CC_YYFINAL; - *++ace_cc_yyvsp = ace_cc_yyval; - if (ace_cc_yychar < 0) - { - if ((ace_cc_yychar = ace_cc_yylex()) < 0) ace_cc_yychar = 0; -#if ACE_CC_YYDEBUG - if (ace_cc_yydebug) - { - ace_cc_yys = 0; - if (ace_cc_yychar <= ACE_CC_YYMAXTOKEN) ace_cc_yys = ace_cc_yyname[ace_cc_yychar]; - if (!ace_cc_yys) ace_cc_yys = "illegal-symbol"; - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: state %d, reading %d (%s)\n", - ACE_CC_YYFINAL, ace_cc_yychar, ace_cc_yys); - else - ACE_CC_YYDEBUG_LOOK_AHEAD(ACE_CC_YYFINAL, ace_cc_yychar, ace_cc_yys, ace_cc_yyssp-ace_cc_yyss); - } -#endif - } - if (ace_cc_yychar == 0) goto ace_cc_yyaccept; - goto ace_cc_yyloop; - } - if ((ace_cc_yyn = ace_cc_yygindex[ace_cc_yym]) && (ace_cc_yyn += ace_cc_yystate) >= 0 && - ace_cc_yyn <= ACE_CC_YYTABLESIZE && ace_cc_yycheck[ace_cc_yyn] == ace_cc_yystate) - ace_cc_yystate = ace_cc_yytable[ace_cc_yyn]; - else - ace_cc_yystate = ace_cc_yydgoto[ace_cc_yym]; -#ifdef ACE_CC_YYDEBUG - if (5 < ace_cc_yydebug) - printf("ace_cc_yydebug: after reduction, shifting from state %d \ -to state %d\n", *ace_cc_yyssp, ace_cc_yystate); -#endif - if (ace_cc_yyssp >= ace_cc_yyss + ace_cc_yystacksize - 1) - { - goto ace_cc_yyoverflow; - } - *++ace_cc_yyssp = ace_cc_yystate; - *++ace_cc_yyvsp = ace_cc_yyval; - goto ace_cc_yyloop; -ace_cc_yyoverflow: - ace_cc_yyerror("yacc stack overflow"); -ace_cc_yyabort: - return (1); -ace_cc_yyaccept: - return (0); -} diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp.diff b/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp.diff deleted file mode 100644 index 1106e37cff4..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- CC_command.tab.cpp.orig Thu Jul 30 13:30:26 1998 -+++ CC_command.tab.cpp Mon Aug 17 11:06:24 1998 -@@ -1,3 +1,4 @@ -+// $Id$ - #ifndef lint - char ace_cc_yysccsid[] = "@(#)yaccpar 1.4 (Berkeley) 02/25/90 \n\ - Modified 5/2/90 by J. Roskind to support graphic debugging modes"; -@@ -367,7 +368,7 @@ - *ace_cc_yyssp = ace_cc_yystate = 0; - - ace_cc_yyloop: -- if (ace_cc_yyn = ace_cc_yydefred[ace_cc_yystate]) goto ace_cc_yyreduce; -+ if ((ace_cc_yyn = ace_cc_yydefred[ace_cc_yystate])) goto ace_cc_yyreduce; - if (ace_cc_yychar < 0) - { - if ((ace_cc_yychar = ace_cc_yylex()) < 0) ace_cc_yychar = 0; -@@ -421,7 +422,7 @@ - #ifdef lint - goto ace_cc_yyerrlab; - #endif --ace_cc_yyerrlab: -+ - ++ace_cc_yynerrs; - ace_cc_yyinrecovery: - if (ace_cc_yyerrflag < 3) diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.h b/TAO/orbsvcs/tests/Concurrency/CC_command.tab.h deleted file mode 100644 index 31c03ff7ffc..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.tab.h +++ /dev/null @@ -1,29 +0,0 @@ -// $Id$ -#define T_START_CMD 257 -#define T_CREATE_CMD 258 -#define T_LOCK_CMD 259 -#define T_UNLOCK_CMD 260 -#define T_TRYLOCK_CMD 261 -#define T_CHANGEMODE_CMD 262 -#define T_SLEEP_CMD 263 -#define T_WAIT_CMD 264 -#define T_REPEAT_CMD 265 -#define T_EXCEP_CMD 266 -#define T_PRINT_CMD 267 -#define T_LOOKUP_CMD 268 -#define T_TERM 269 -#define T_READ 270 -#define T_IREAD 271 -#define T_UPGRADE 272 -#define T_WRITE 273 -#define T_IWRITE 274 -#define T_IDENT 275 -#define Q_STRING 276 -#define T_NUM 277 -typedef union { - CC_Command *command; - CosConcurrencyControl::lock_mode lock_mode; - char *id; - int num; -} ACE_CC_YYSTYPE; -extern ACE_CC_YYSTYPE ace_cc_yylval; diff --git a/TAO/orbsvcs/tests/Concurrency/CC_command.y b/TAO/orbsvcs/tests/Concurrency/CC_command.y deleted file mode 100644 index 339c8e47084..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_command.y +++ /dev/null @@ -1,126 +0,0 @@ -/* $Id$ - * ============================================================================ - * - * = LIBRARY - * TAO/orbsvcs/tests - * - * = FILENAME - * CC_command.y - * - * = DESCRIPTION - * This is the yacc file for the concurrency service script language. - * - * = AUTHORS - * Torben Worm <tworm@cs.wustl.edu> - * - * ============================================================================ - */ -%{ -#include "CC_command.h" -#include "ace/ACE.h" -#include "orbsvcs/CosConcurrencyControlC.h" - -void yyerror (const char* s); -int yylex(void); - -extern int line_no; -extern char line_buf[500]; -extern char *yytext; -extern CC_CommandList *cmdlist; -%} - -%union { - CC_Command *command; - CosConcurrencyControl::lock_mode lock_mode; - char *id; - int num; -} - -%token T_START_CMD T_CREATE_CMD T_LOCK_CMD T_UNLOCK_CMD T_TRYLOCK_CMD -%token T_CHANGEMODE_CMD T_SLEEP_CMD T_WAIT_CMD T_REPEAT_CMD T_EXCEP_CMD -%token T_PRINT_CMD T_LOOKUP_CMD T_TERM -%token T_READ T_IREAD T_UPGRADE T_WRITE T_IWRITE -%token <id> T_IDENT Q_STRING -%token <num> T_NUM - -%type <command> cmd -%type <id> config_file_name lock_set_name exception_name -%type <lock_mode> lock_mode - -%% -start: /* empty */ - | cmd_list { cmdlist->add(new CC_Sleep_Cmd(0)); - /* dummy to check exeption in the last command */ - if(cmdlist->execute()!=0) //CC_FAIL - { printf(" ** Test succeded!!\n"); } - else - { printf(" ** Test FAILED!!\n"); } } - ; - -cmd_list: cmd_list cmd { cmdlist->add($2); } - | cmd { cmdlist->add($1); } - ; - -cmd: T_START_CMD config_file_name T_TERM - { $$ = new CC_Start_Cmd($2); } - | T_CREATE_CMD lock_set_name T_TERM - { $$ = new CC_CreateLockSet_Cmd($2); } - | T_CREATE_CMD T_TERM - { $$ = new CC_CreateLockSet_Cmd(""); } - | T_LOCK_CMD lock_set_name lock_mode T_TERM - { $$ = new CC_Lock_Cmd($2, $3); } - | T_LOCK_CMD lock_mode T_TERM - { $$ = new CC_Lock_Cmd("", $2); } - | T_UNLOCK_CMD lock_set_name lock_mode T_TERM - { $$ = new CC_UnLock_Cmd($2, $3); } - | T_UNLOCK_CMD lock_mode T_TERM - { $$ = new CC_UnLock_Cmd("", $2); } - | T_TRYLOCK_CMD lock_set_name lock_mode T_TERM - { $$ = new CC_TryLock_Cmd($2, $3); } - | T_TRYLOCK_CMD lock_mode T_TERM - { $$ = new CC_TryLock_Cmd("", $2); } - | T_CHANGEMODE_CMD lock_set_name lock_mode lock_mode T_TERM - { $$ = new CC_ChangeMode_Cmd($2, $3, $4); } - | T_CHANGEMODE_CMD lock_mode lock_mode T_TERM - { $$ = new CC_ChangeMode_Cmd("", $2, $3); } - | T_SLEEP_CMD T_NUM T_TERM - { $$ = new CC_Sleep_Cmd($2); } - | T_WAIT_CMD T_TERM - { $$ = new CC_Wait_Cmd(""); } - | T_WAIT_CMD Q_STRING T_TERM - { $$ = new CC_Wait_Cmd($2); } - | T_PRINT_CMD Q_STRING T_TERM - { $$ = new CC_Print_Cmd($2); } - | T_LOOKUP_CMD lock_set_name T_TERM - { $$ = new CC_Lookup_Cmd($2); } - | T_REPEAT_CMD T_NUM T_TERM - { cmdlist->setrepeat($2); - $$ = new CC_Dummy_Cmd();} - | T_EXCEP_CMD exception_name T_TERM - { $$ = new CC_Excep_Cmd($2); } - ; - -config_file_name: T_IDENT {$$ = $1; } - -lock_set_name: T_IDENT {$$ = $1; } - -exception_name: T_IDENT {$$ = $1; } - -lock_mode: T_READ { $$ = CosConcurrencyControl::read; } - | T_IREAD { $$ = CosConcurrencyControl::intention_read; } - | T_UPGRADE { $$ = CosConcurrencyControl::upgrade; } - | T_WRITE { $$ = CosConcurrencyControl::write; } - | T_IWRITE { $$ = CosConcurrencyControl::intention_write; } - -%% - -void -yyerror (const char *s) -{ - ACE_OS::printf ("%d: %s at %s in:\n%s\n", - line_no, - s, - yytext, - line_buf); - ACE_OS::exit (-1); -} diff --git a/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp b/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp deleted file mode 100644 index 93a569fe5aa..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// $Id - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Concurrency -// -// = FILENAME -// CC_naming_service.cpp -// -// = DESCRIPTION -// This class implements the naming services necessary to test the -// concurrency service -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "CC_naming_service.h" - -ACE_RCSID(Concurrency, CC_naming_service, "$Id$") - - CC_naming_service::CC_naming_service (CORBA::ORB_var orb, CORBA::Environment &_env) - : cc_factory_key_ (0), - orb_ (0), - factory_ (0) -{ - this->Init(orb, _env); - instance_ = this; -} - -CC_naming_service::CC_naming_service(void) - : cc_factory_key_ (0), - orb_ (0), - factory_ (0) -{ -} - -void -CC_naming_service::Init(CORBA::ORB_var orb, CORBA::Environment &_env) -{ - this->orb_ = orb; - - int success = init_naming_service (); - if(success<0) - TAO_THROW (CORBA::INTERNAL (CORBA::COMPLETED_NO)); -} - -CC_naming_service::~CC_naming_service (void) -{ - // if(instance_!=0) - // delete instance_; - // @TAO somthing went wrong when these lines were uncommented -} - -CC_naming_service * -CC_naming_service::Instance(void) -{ - if(instance_ == 0) - { - instance_ = new CC_naming_service(); - } - return instance_; -} - -CORBA::Object_var -CC_naming_service::get_obj_from_name (char *c_name, char *name, - CORBA::Environment &_env) -{ - ACE_DEBUG ((LM_DEBUG, "C: %s, N: %s\n", c_name, name)); - CORBA::Object_var obj; - - TAO_TRY - { - if (ACE_OS::strlen (c_name) == 0) - { - CosNaming::Name ns_name (1); - ns_name.length (1); - ns_name[0].id = CORBA::string_dup (name); - obj = my_name_client_->resolve (ns_name, TAO_TRY_ENV); - TAO_CHECK_ENV; - } - else - { - CosNaming::Name ns_name (2); - ns_name.length (2); - ns_name[0].id = CORBA::string_dup (c_name); - ns_name[1].id = CORBA::string_dup (name); - obj = my_name_client_->resolve (ns_name, TAO_TRY_ENV); - TAO_CHECK_ENV; - } - if (CORBA::is_nil (obj.in ()) ) - ACE_DEBUG((LM_DEBUG, - "OBJ was nill (aieee)\n")); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Client::get_obj_from_name (...)"); - return 0; - } - TAO_ENDTRY; - - return obj; -} - -void -CC_naming_service::bind_name (char *n, - CORBA::Object_ptr obj, - CORBA::Environment &_env) -{ - ACE_DEBUG ((LM_DEBUG, "CC_Client::bind_name\n")); - - TAO_TRY - { - CosNaming::Name ns_name (1); - ns_name.length (1); - ns_name[0].id = CORBA::string_dup (n); - my_name_client_->bind (ns_name, - obj, - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Client::bind_name (...)"); - } - TAO_ENDTRY; -} - -CosConcurrencyControl::LockSetFactory_var -CC_naming_service::get_lock_set_factory (void) -{ - return this->factory_; -} - -int -CC_naming_service::init_naming_service (void) -{ - TAO_TRY - { - // Initialize the naming services - if (my_name_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - CORBA::Object_var factory_obj = get_obj_from_name ("CosConcurrency", - "LockSetFactory", - TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->factory_ = - CosConcurrencyControl::LockSetFactory::_narrow - (factory_obj.in (),TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (CORBA::is_nil (this->factory_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " could not resolve lock set factory in Naming service\n"), - -1); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Client::init_naming_service"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - -CC_naming_service* CC_naming_service::instance_ = 0; diff --git a/TAO/orbsvcs/tests/Concurrency/CC_naming_service.h b/TAO/orbsvcs/tests/Concurrency/CC_naming_service.h deleted file mode 100644 index 9c4e4f84bfb..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_naming_service.h +++ /dev/null @@ -1,87 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Concurrency -// -// = FILENAME -// CC_naming_service.h -// -// = DESCRIPTION -// This class implements the naming services necessary to test the -// concurrency service. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "tao/corba.h" -#include "orbsvcs/CosConcurrencyControlC.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -#if !defined (_CC_NAMING_SERVICE_H_) -#define _CC_NAMING_SERVICE_H_ - -class CC_naming_service -{ - // = TITLE - // Defines a class that encapsulates the necessary naming service - // functions for the concurrency service. - // - // = DESCRIPTION - // This class declares an interface to the naming service for the - // concurrency service tests. -public: - CC_naming_service (); - // Default constructor - - CC_naming_service (CORBA::ORB_var orb_, CORBA::Environment &_env); - // Constructor - - ~CC_naming_service (void); - // Default destructor. - - void Init (CORBA::ORB_var orb_, CORBA::Environment &_env); - // Initialization method must be called after first call of Instance() - // in order to initialize the object correctly - - CORBA::Object_var get_obj_from_name (char *c_name, char *name, - CORBA::Environment &_env); - // Lookup a name in the naming service (context, name) - - void - bind_name (char *n, - CORBA::Object_ptr obj, - CORBA::Environment &_env); - // Bind a name in the concurrency context. - - CosConcurrencyControl::LockSetFactory_var get_lock_set_factory (void); - // Gets the cc lock set factory which is common for all tests. - - static CC_naming_service *Instance(void); - // The naming service object is a singleton - -private: - int init_naming_service (void); - // Function to initialize the naming service. - - char *cc_factory_key_; - // Key of factory obj ref. - - CORBA::ORB_var orb_; - // Remember our orb. - - TAO_Naming_Client my_name_client_; - // Name service wrapper class - - CosConcurrencyControl::LockSetFactory_var factory_; - // factory pointer for the lock set. - - static CC_naming_service *instance_; - // The instance of the naming service object -}; -#endif /* !defined (_CC_NAMING_SERVICE_H_) */ diff --git a/TAO/orbsvcs/tests/Concurrency/CC_test_utils.cpp b/TAO/orbsvcs/tests/Concurrency/CC_test_utils.cpp deleted file mode 100644 index 29945879d82..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_test_utils.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests -// -// = FILENAME -// CC_test_utils.cpp -// -// = DESCRIPTION -// This class provides a namespace for utility functions for the -// concurrency service test. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "CC_test_utils.h" -#include "CC_naming_service.h" - -ACE_RCSID(Concurrency, CC_test_utils, "$Id$") - -char *CC_TestUtils::get_lock_mode_name (CosConcurrencyControl::lock_mode mode) -{ - if (mode==CosConcurrencyControl::read) - return "read"; - - if (mode==CosConcurrencyControl::write) - return "write"; - - if (mode==CosConcurrencyControl::upgrade) - return "upgrade"; - - if (mode==CosConcurrencyControl::intention_read) - return "intention_read"; - - if (mode==CosConcurrencyControl::intention_write) - return "intention_write"; - - return "unknown lock mode"; -} - -CosConcurrencyControl::LockSet_ptr -CC_TestUtils::create_lock_set (void) -{ - // Create the lock set and return an obj ref corresponding to the - // key. - CosConcurrencyControl::LockSet_ptr lock_set(0); - - TAO_TRY - { - lock_set = - CC_naming_service::Instance()->get_lock_set_factory ()->create (TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (CORBA::is_nil (lock_set)) - ACE_ERROR_RETURN ((LM_ERROR, - "null lock set objref returned by factory\n"), - 0); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Client::create_lock_set"); - return 0; - } - TAO_ENDTRY; - return lock_set; -} diff --git a/TAO/orbsvcs/tests/Concurrency/CC_test_utils.h b/TAO/orbsvcs/tests/Concurrency/CC_test_utils.h deleted file mode 100644 index b5bfaa549b9..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_test_utils.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests -// -// = FILENAME -// CC_test_utils.h -// -// = DESCRIPTION -// This class provides a namespace for utility functions for the -// concurrency service test. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "orbsvcs/CosConcurrencyControlC.h" - -#ifndef _CC_TEST_UTILS_H_ -#define _CC_TEST_UTILS_H_ - -class CC_TestUtils -{ - public: - static char *get_lock_mode_name (CosConcurrencyControl::lock_mode mode); - // Function to return a human readable string from a lock_mode enum. - - static CosConcurrencyControl::LockSet_ptr create_lock_set (void); - // Creates a lock set by means of th lock set factory in the concurrency - // service server. - private: -}; - -#endif /* _CC_TEST_UTILS_H_ */ diff --git a/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp b/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp deleted file mode 100644 index d0319efdd0b..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_tests.cpp +++ /dev/null @@ -1,373 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Concurrency -// -// = FILENAME -// CC_tests.h -// -// = DESCRIPTION -// This class implements a number of test objects to test the -// concurrency service. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "CC_tests.h" - -ACE_RCSID(Concurrency, CC_tests, "$Id$") - -CC_Test::CC_Test (CC_naming_service *ns) - : result (CC_FAIL), - naming_service_ (ns) -{ -} - -CC_Test::~CC_Test (void) -{ -} - -CosConcurrencyControl::LockSet_ptr -CC_Test::create_lock_set (void) -{ - // Create the lock set and return an obj ref corresponding to the - // key. - CosConcurrencyControl::LockSet_ptr lock_set(0); - - TAO_TRY - { - lock_set = - this->naming_service_->get_lock_set_factory ()->create (TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (CORBA::is_nil (lock_set)) - ACE_ERROR_RETURN ((LM_ERROR, - "null lock set objref returned by factory\n"), - 0); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("CC_Client::create_lock_set"); - return 0; - } - TAO_ENDTRY; - return lock_set; -} - -char * -CC_Test::get_lock_mode_name (CosConcurrencyControl::lock_mode mode) -{ - if (mode==CosConcurrencyControl::read) - return "read"; - - if (mode==CosConcurrencyControl::write) - return "write"; - - if (mode==CosConcurrencyControl::upgrade) - return "upgrade"; - - if (mode==CosConcurrencyControl::intention_read) - return "intension_read"; - - if (mode==CosConcurrencyControl::intention_write) - return "intension_write"; - - return "unknown lock mode"; -} - -// ================================ -// Here the tests start. - -Test_Single_Lock_With_Mode::Test_Single_Lock_With_Mode (CC_naming_service *naming_service, - CosConcurrencyControl::lock_mode mode) - : CC_Test (naming_service), - mode_ (mode) -{ -} - -Test_Single_Lock_With_Mode::~Test_Single_Lock_With_Mode (void) -{ -} - -int -Test_Single_Lock_With_Mode::run (int times_to_run) -{ - CORBA::Boolean lock_not_held; - - CosConcurrencyControl::LockSet_ptr cc_lock_set_ = create_lock_set (); - - TAO_TRY - { - cc_lock_set_->lock (mode_, TAO_TRY_ENV); - TAO_CHECK_ENV; - ACE_DEBUG ((LM_DEBUG, - "%s lock set\n", - get_lock_mode_name (mode_))); - - lock_not_held = cc_lock_set_->try_lock (mode_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (lock_not_held) - { - ACE_DEBUG ((LM_DEBUG, - "%s lock not held\n", - get_lock_mode_name (mode_))); - return CC_FAIL; - } - else - ACE_DEBUG ((LM_DEBUG, - "%s lock held\n", - get_lock_mode_name (mode_))); - - cc_lock_set_->unlock (mode_, - TAO_TRY_ENV); - ACE_DEBUG ((LM_DEBUG, - "%s lock released\n", - get_lock_mode_name (mode_))); - - lock_not_held = cc_lock_set_->try_lock (mode_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (lock_not_held) - ACE_DEBUG ((LM_DEBUG, - "%s lock not held\n", - get_lock_mode_name (mode_))); - else - { - ACE_DEBUG ((LM_DEBUG, - "%s lock held\n", - get_lock_mode_name (mode_))); - return CC_FAIL; - } - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Test_Single_Lock_With_Mode::run"); - return CC_FAIL; - } - TAO_ENDTRY; - - CORBA::release (cc_lock_set_); - - return CC_SUCCESS; -} - -// ================================ - -Test_Setup_LockSet::Test_Setup_LockSet (CC_naming_service *naming_service, - char *name) - : CC_Test (naming_service), - my_name_ (name) -{ -} - -Test_Setup_LockSet::~Test_Setup_LockSet (void) -{ -} - -int -Test_Setup_LockSet::run (int times_to_run) -{ - TAO_TRY - { - CosConcurrencyControl::LockSet_ptr cc_lock_set_ = - create_lock_set (); - this->naming_service_->bind_name (my_name_, cc_lock_set_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_DEBUG ((LM_DEBUG, - "Name bound\n")); - - cc_lock_set_->lock (CosConcurrencyControl::read, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_DEBUG ((LM_DEBUG, - "Read lock set\n")); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Test_Against_Other_LockSet::run"); - return CC_FAIL; - } - TAO_ENDTRY; - - return CC_SUCCESS; -} - -// ================================ - -Test_Use_Already_Created_LockSet:: -Test_Use_Already_Created_LockSet (CC_naming_service *naming_service, - char *name) - : CC_Test (naming_service), - my_name_ (name) -{ -} - -Test_Use_Already_Created_LockSet::~Test_Use_Already_Created_LockSet (void) -{ -} - -int -Test_Use_Already_Created_LockSet::run (int times_to_run) -{ - TAO_TRY - { - CORBA::Object_var ccls_obj = - this->naming_service_->get_obj_from_name ("", - my_name_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - CosConcurrencyControl::LockSet_var ccls = - CosConcurrencyControl::LockSet::_narrow (ccls_obj.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - ccls->lock (CosConcurrencyControl::read, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Test_Against_Other_LockSet::run"); - return CC_FAIL; - } - TAO_ENDTRY; - - return CC_SUCCESS; -} - -// ================================ - -Test_Unlock_Already_Created_LockSet:: -Test_Unlock_Already_Created_LockSet (CC_naming_service *naming_service, - char *name) - : CC_Test (naming_service), - my_name_ (name) -{ -} - -Test_Unlock_Already_Created_LockSet::~Test_Unlock_Already_Created_LockSet (void) -{ -} - -int -Test_Unlock_Already_Created_LockSet::run (int times_to_run) -{ - TAO_TRY - { - CORBA::Object_var ccls_obj = - this->naming_service_->get_obj_from_name ("", my_name_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - CosConcurrencyControl::LockSet_var ccls = - CosConcurrencyControl::LockSet::_narrow (ccls_obj.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - ccls->unlock (CosConcurrencyControl::read, - TAO_TRY_ENV); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Test_Unlock_Already_Created_LockSet::run"); - return CC_FAIL; - } - TAO_ENDTRY; - - return CC_SUCCESS; -} - -// ================================ - -Test_Release_Not_Held_Lock::Test_Release_Not_Held_Lock (CC_naming_service *naming_service, - CosConcurrencyControl::lock_mode mode) - : CC_Test (naming_service), - mode_ (mode) -{ -} - -Test_Release_Not_Held_Lock::~Test_Release_Not_Held_Lock (void) -{ -} - -int -Test_Release_Not_Held_Lock::run (int times_to_run) -{ - CORBA::Boolean lock_not_held; - - // Create the lock set - CosConcurrencyControl::LockSet_ptr cc_lock_set_ = create_lock_set (); - - TAO_TRY - { - // lock the lock - cc_lock_set_->lock (mode_, TAO_TRY_ENV); - ACE_DEBUG ((LM_DEBUG, - "%s lock set\n", - get_lock_mode_name (mode_))); - - // check to see if the lock is held - lock_not_held = cc_lock_set_->try_lock (mode_, - TAO_TRY_ENV); - - if (lock_not_held) - { - ACE_DEBUG ((LM_DEBUG, - "%s lock not held\n", - get_lock_mode_name (mode_))); - return CC_FAIL; - } - else - ACE_DEBUG ((LM_DEBUG, - "%s lock held\n", - get_lock_mode_name (mode_))); - - // release the lock - cc_lock_set_->unlock (mode_, - TAO_TRY_ENV); - ACE_DEBUG ((LM_DEBUG, - "%s lock released\n", - get_lock_mode_name (mode_))); - - // release the lock again. this should raise an exception - cc_lock_set_->unlock (mode_, - TAO_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "attemptet to release %s lock\n", - get_lock_mode_name (mode_))); - - TAO_CHECK_ENV; - } - TAO_CATCH(CosConcurrencyControl::LockNotHeld, userex) - { - // We should end here - ACE_UNUSED_ARG (userex); - ACE_DEBUG((LM_DEBUG, "CosConcurrencyControl::LockNotHeld\n")); - return CC_SUCCESS; - } - - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Test_Release_Not_Held_Lock::run"); - return CC_FAIL; - } - TAO_ENDTRY; - - CORBA::release (cc_lock_set_); - - return CC_FAIL; -} diff --git a/TAO/orbsvcs/tests/Concurrency/CC_tests.h b/TAO/orbsvcs/tests/Concurrency/CC_tests.h deleted file mode 100644 index 3d9bca5b57e..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/CC_tests.h +++ /dev/null @@ -1,184 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Concurrency -// -// = FILENAME -// CC_tests.h -// -// = DESCRIPTION -// This class implements a number of test objects to test the -// concurrency service. -// -// = AUTHORS -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "tao/corba.h" -#include "orbsvcs/CosConcurrencyControlC.h" -#include "orbsvcs/CosNamingC.h" -#include "CC_naming_service.h" - -#if !defined (_CC_TESTS_H_) -#define _CC_TESTS_H_ - -// Return codes for the tests -enum -{ - CC_FAIL, - CC_SUCCESS = 1 -}; - -class CC_Test -{ - // = TITLE - // Defines an abstract base class for a test - // - // = DESCRIPTION - // This class declares an interface to run the test of the - // concurrency service. -public: - CC_Test (CC_naming_service *ns); - // Default constructor - - virtual ~CC_Test (void); - // Destructor - - virtual int run (int times_to_run = 1) = 0; - // Run the test times_to_run number of times. Returns CC_SUCCESS on - // success CC_FAIL otherwise. - - CosConcurrencyControl::LockSet_ptr create_lock_set (void); - // Create a new lock set using the default global lock set factory - // from the naming service. - - char *get_lock_mode_name (CosConcurrencyControl::lock_mode mode); - // Returns a human readable string from the lock mode enum. - -protected: - int result; - // The result of the test being performed. - - CC_naming_service *naming_service_; - // The naming service beeing used to register and look up locks -}; - -class Test_Single_Lock_With_Mode : public CC_Test -{ - // = TITLE - // This is a simple test that checks that it is possible to set - // the lock in the desired mode, try it, and release it. -public: - Test_Single_Lock_With_Mode (CC_naming_service *naming_service, - CosConcurrencyControl::lock_mode mode); - // Default constructor. The naming service must be initialized - // before calling this method. The mode is the mode of the lock to - // be tested. - - virtual ~Test_Single_Lock_With_Mode (void); - // Destructor - - virtual int run (int times_to_run = 1); - // Runs the test the specified number of times. - -private: - CosConcurrencyControl::lock_mode mode_; - // The lock mode of the lock being tested -}; - -class Test_Setup_LockSet : public CC_Test -{ - // = TITLE - // This class creates a read lock, registeres it with the naming - // service and locks it. -public: - Test_Setup_LockSet (CC_naming_service *naming_service_, - char *name); - // Default constructor. The naming service must be initialized - // before calling this method. The name is the name the lock will be - // registered under in the naming service. - - virtual ~Test_Setup_LockSet (void); - // Destructor - - virtual int run (int times_to_run = 1); - // Runs the test the specified number of times. - -private: - char *my_name_; - // The name of the lock -}; - -class Test_Use_Already_Created_LockSet : public CC_Test -{ - // = TITLE - // This class looks up the lock in the naming service and locks - // it. -public: - Test_Use_Already_Created_LockSet (CC_naming_service *naming_service_, - char *name); - // Default constructor. The naming service must be initialized - // before calling this method. The name is the name the lock will be - // looked up under in the naming service. - - virtual ~Test_Use_Already_Created_LockSet (void); - // Destructor - - virtual int run (int times_to_run = 1); - // Runs the test the specified number of times. - -private: - char *my_name_; - // The name of the lock -}; - -class Test_Unlock_Already_Created_LockSet : public CC_Test -{ - // = TITLE - // This class looks up the lock in the naming service and unlocks - // it. -public: - Test_Unlock_Already_Created_LockSet (CC_naming_service *naming_service_, - char *name); - // Default constructor. The naming service must be initialized - // before calling this method. The name is the name the lock will be - // looked up under in the naming service. - - virtual ~Test_Unlock_Already_Created_LockSet (void); - // Destructor - - virtual int run (int times_to_run = 1); - // Runs the test the specified number of times. - -private: - char *my_name_; - // The name of the lock -}; - -class Test_Release_Not_Held_Lock : public CC_Test -{ - // = TITLE - // This class tests that the LockNotHeld exception is thrown if a - // not held lock is released. -public: - Test_Release_Not_Held_Lock (CC_naming_service *naming_service_, - CosConcurrencyControl::lock_mode mode_); - // Default constructor. The naming service must be initialized - // before calling this method. The mode is the mode of the lock - - virtual ~Test_Release_Not_Held_Lock (void); - // Destructor - - virtual int run (int times_to_run = 1); - // Runs the test the specified number of times. - -private: - CosConcurrencyControl::lock_mode mode_; - // The lock mode of the lock being tested -}; - -#endif /* !defined (_CC_TESTS_H_) */ diff --git a/TAO/orbsvcs/tests/Concurrency/Concurrency.dsw b/TAO/orbsvcs/tests/Concurrency/Concurrency.dsw deleted file mode 100644 index 1a17985ee1b..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/Concurrency.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "CC_client"=.\CC_client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/orbsvcs/tests/Concurrency/Makefile b/TAO/orbsvcs/tests/Concurrency/Makefile deleted file mode 100644 index e1da8ca327d..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/Makefile +++ /dev/null @@ -1,2096 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for the concurrency service test. -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lorbsvcs -lTAO - -PROG_SRCS = CC_client.cpp CC_tests.cpp CC_naming_service.cpp \ - tmplinst.cpp CC_command.tab.cpp \ - lex.CC_command.cpp CC_command.cpp CC_test_utils.cpp - -LSRC = $(PROG_SRCS) - -CC_CLT_OBJS = CC_client.o CC_tests.o tmplinst.o CC_naming_service.o \ - CC_command.tab.o lex.CC_command.o \ - CC_command.o CC_test_utils.o - -BIN = CC_client -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(TAO_ROOT)/rules.tao.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -lex.CC_command.cpp: CC_command.l CC_command.tab.h - @echo "WARNING: Potentially outdated lex.CC_command.cpp" - @echo " either touch(1) the file or explicitly" - @echo " generate it using:" - @echo " make lex.CC_comand.cpp.target" - -.PHONY: lex.CC_command.cpp.target - -lex.CC_command.cpp.target: - $(LEX) -t -I CC_command.l > /tmp/$(USER).CC_L1 - sed -e "s/unistd/stdio/g" \ - -e "s/yy/ace_cc_yy/g" \ - -e "s/YY/ACE_CC_YY/g" \ - -e "s/free( ptr );/free( ACE_MALLOC_T (ptr) );/g" \ - -e "s/realloc( ptr, size );/realloc( ACE_MALLOC_T (ptr), size );/g" \ - \ - -e "s@#include <stdio\.h>@#include \"ace/OS.h\"@" \ - -e "s@#include <@#include /**/ <@" \ - -e "s@ECHO@ACE_CC_ECHO@" < /tmp/$(USER).CC_L1 > /tmp/$(USER).CC_L2 - cp /tmp/$(USER).CC_L2 lex.CC_command.cpp - patch < lex.CC_command.cpp.diff - $(RM) -f /tmp/$(USER).CC_L1 /tmp/$(USER).CC_L2 - -CC_command.tab.cpp CC_command.tab.h: CC_command.y - @echo "WARNING: Potentially outdated CC_command.tab.cpp" - @echo " either touch(1) the file or explicitly " - @echo " generate it using:" - @echo " make CC_comand.tab" - -.PHONY: CC_command.tab - -CC_command.tab: CC_command.y - $(YACC) -d CC_command.y - sed -e "s/char \*getenv/char *ace_foo/g" \ - -e "s/= getenv/= ACE_OS::getenv/g" \ - -e "s/yynewerror://g" \ - -e "s/yy/ace_cc_yy/g" \ - -e "s/YY/ACE_CC_YY/g" \ - -e "s/y\.tab\.c/CC_command.tab.cpp/g" < y.tab.c > /tmp/$(USER).CC_Y - sed -e "s/yy/ace_cc_yy/g" \ - -e "s/YY/ACE_CC_YY/g" < y.tab.h > /tmp/$(USER).CC_YH - cp /tmp/$(USER).CC_Y CC_command.tab.cpp - cp /tmp/$(USER).CC_YH CC_command.tab.h - $(RM) -f /tmp/$(USER).CC_Y /tmp/$(USER).CC_YH y.tab.c y.tab.h - -CC_client: $(addprefix $(VDIR),$(CC_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/CC_client.o .obj/CC_client.so .shobj/CC_client.o .shobj/CC_client.so: CC_client.cpp \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - CC_client.h $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - CC_tests.h CC_naming_service.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h \ - CC_command.h CC_command.tab.h -.obj/CC_tests.o .obj/CC_tests.so .shobj/CC_tests.o .shobj/CC_tests.so: CC_tests.cpp CC_tests.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - CC_naming_service.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h -.obj/CC_naming_service.o .obj/CC_naming_service.so .shobj/CC_naming_service.o .shobj/CC_naming_service.so: CC_naming_service.cpp CC_naming_service.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h -.obj/tmplinst.o .obj/tmplinst.so .shobj/tmplinst.o .shobj/tmplinst.so: tmplinst.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i -.obj/CC_command.tab.o .obj/CC_command.tab.so .shobj/CC_command.tab.o .shobj/CC_command.tab.so: CC_command.tab.cpp CC_command.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i -.obj/lex.CC_command.o .obj/lex.CC_command.so .shobj/lex.CC_command.o .shobj/lex.CC_command.so: lex.CC_command.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - CC_command.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - CC_command.tab.h -.obj/CC_command.o .obj/CC_command.so .shobj/CC_command.o .shobj/CC_command.so: CC_command.cpp CC_command.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - CC_test_utils.h CC_naming_service.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i -.obj/CC_test_utils.o .obj/CC_test_utils.so .shobj/CC_test_utils.o .shobj/CC_test_utils.so: CC_test_utils.cpp CC_test_utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Object_Table.h \ - $(TAO_ROOT)/tao/Object_Table.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/IIOP_Object.h \ - $(TAO_ROOT)/tao/IIOP_Object.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - CC_naming_service.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/tests/Concurrency/NS_client.cpp b/TAO/orbsvcs/tests/Concurrency/NS_client.cpp deleted file mode 100644 index 35a069f5781..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/NS_client.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/bin/Naming_Service/TAO -// -// = FILENAME -// clnt.cpp -// -// = DESCRIPTION -// This class implements a simple CORBA client for the CosNaming -// example using stubs generated by the TAO ORB IDL compiler. -// -// = AUTHORS -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "NS_client.h" -#include "stdio.h" - -ACE_RCSID(Concurrency, NS_client, "$Id$") - -// constructor - -CosNaming_Client::CosNaming_Client (void) - : list_contents_ (0), - resolve_name_ (0), - name_to_resolve_ (0), - context_to_resolve_ (0), - argc_ (0), - argv_ (0), - exit_later_ (0) -{ -} - -// Parses the command line arguments and returns an error status. - -int -CosNaming_Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "dxn:c:l"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'l': - this->list_contents_ = 1; - break; - case 'x': - this->exit_later_++; - break; - case 'n': - this->resolve_name_ = 1; - this->name_to_resolve_ = get_opts.optarg; - break; - case 'c': - this->resolve_name_ = 1; - this->context_to_resolve_ = get_opts.optarg; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-x]" - "\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Execute client example code. - -int -CosNaming_Client::run (void) -{ - // @@ TODO, add some interesting test here, maybe creating some - // nested naming contexts and registering a number of objreferences - // in there. We could even use the iterators. - - if (this->resolve_name_) - resolve_name (this->context_to_resolve_, - this->name_to_resolve_); - - if (this->list_contents_) - list_contents (); - - return 0; -} - -CosNaming_Client::~CosNaming_Client (void) -{ -} - -int -CosNaming_Client::resolve_name (char *c, char *n) -{ - TAO_TRY - { - CosNaming::Name name (2); - name.length (2); - name[0].id = CORBA::string_dup (c); - name[1].id = CORBA::string_dup (n); - CORBA::Object_var obj = this->my_name_client_->resolve (name, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (CORBA::is_nil (obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "Could not resolve name in Naming service <%s>\n"), - -1); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("init"); - return -1; - } - TAO_ENDTRY; - return 0; -} - -void -CosNaming_Client::list_contents (void) -{ - CosNaming::BindingIterator_var bi; - CosNaming::BindingList_var li; - CORBA::ULong how_many = 0; - CosNaming::Binding_var b; - CosNaming::Name n; - CORBA::ULong names = 0; - - TAO_TRY - { - this->my_name_client_->list (how_many, li, bi, TAO_TRY_ENV); - - while (bi->next_one (b, TAO_TRY_ENV)) - { - n = b->binding_name; - names = n.length (); - ACE_DEBUG ((LM_DEBUG, - " (%i) Name: ", - names)); - - for (CORBA::ULong i = 0; i < names; i++) - ACE_DEBUG ((LM_DEBUG, - "%s ", - n[i].id._retn ())); - - ACE_DEBUG ((LM_DEBUG, "type: %s\n", - b->binding_type == CosNaming::ncontext ? "C" : "O")); - } - } - TAO_CATCHANY - { - } - TAO_ENDTRY; -} - -int -CosNaming_Client::init (int argc, char *argv[]) -{ - this->argc_ = argc; - this->argv_ = argv; - - TAO_TRY - { - // Initialize ORB. - this->orb_ = CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Initialize the naming services - if (my_name_client_.init (orb_) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("init"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - -// This function runs the test. - -int -main (int argc, char **argv) -{ - CosNaming_Client cosnaming_client; - - if (cosnaming_client.init (argc, argv) == -1) - return 1; - - return cosnaming_client.run (); -} diff --git a/TAO/orbsvcs/tests/Concurrency/NS_client.h b/TAO/orbsvcs/tests/Concurrency/NS_client.h deleted file mode 100644 index 427f3d82547..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/NS_client.h +++ /dev/null @@ -1,88 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests -// -// = FILENAME -// NS_client.h -// -// = DESCRIPTION -// This class tests the facilities to connect to the naming -// service and to resolve the name for the concurrency service client. -// -// = AUTHORS -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// Torben Worm <tworm@cs.wustl.edu> -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "orbsvcs/orbsvcs/CosNamingC.h" - -class CosNaming_Client -{ - // = TITLE - // Defines a class that encapsulates behaviour of the CosNaming - // client example. Provides a better understanding of the logic - // in an object oriented way. - // - // = DESCRIPTION - // This class declares an interface to run the example client for - // CosNaming CORBA server. All the complexity for initializing - // the server is hidden in the class. Just the run() interface - // is needed. -public: - // = Initialization and termination methods. - CosNaming_Client (void); - // Constructor. - - ~CosNaming_Client (void); - // Destructor. - - int run (void); - // Execute client example code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - int parse_args (void); - // Parses the arguments passed on the command line. - - int resolve_name(char *c, char *n); - // Resolves the name given on the command-line (-n option). - - void list_contents(void); - // Lists the contents of the naming service. - - CORBA::ORB_var orb_; - // Our ORB. - - TAO_Naming_Client my_name_client_; - // And our Naming Client! - - int list_contents_; - // Iterate through the naming service and list the contents. - - int resolve_name_; - // Flag set by the -n option. - - char *name_to_resolve_; - // Parameter given to the -n option. - - char *context_to_resolve_; - // Parameter given to the -c option. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - int exit_later_; - // Flag to tell server to not exit immediately. -}; diff --git a/TAO/orbsvcs/tests/Concurrency/README b/TAO/orbsvcs/tests/Concurrency/README deleted file mode 100644 index 07fd0ced426..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/README +++ /dev/null @@ -1,111 +0,0 @@ -$Id$ - -This is the readme file for the tests of the concurrency service. - -The test program has been changed to use a configuration file instead of -hard coded test procedures. The old test procedures are left in the -program for backwards compatibility, but they will be removed at a later -point in time. - -The description of the old tests is in the readme file for the -concurrency service in the directory: - $TAO_ROOT/orbsvcs/Concurrency_Control -please consult this file for a decription of these tests. - -The new tests are described by this simle test language: - -start: /* empty */ - | cmd_list - ; - -cmd_list: cmd_list cmd - | cmd - ; - -cmd: start <config_file_name> ; - | create <lock_set_name> ; - | create ; - | lock <lock_set_name> <lock_mode> ; - | lock <lock_mode> ; - | unlock <lock_set_name> <lock_mode> ; - | unlock <lock_mode> ; - | try_lock <lock_set_name> <lock_mode> ; - | try_lock <lock_mode> ; - | change_mode <lock_set_name> <lock_mode> <lock_mode> ; - | change_mode <lock_mode> <lock_mode> ; - | lookup <lock_set_name> ; - | sleep <int> ; - | repeat <int> ; - | wait ; - | wait <prompt> ; - ; - -lock_mode: read | intention_read | upgrade | write | intention_write - -prompt: " string " - -If the lock set name is left out the default lock set is used. The -repeat command just sets a global variable in the test, i.e. the last -repeat command is the one that will take effect - the whole script is -run the specified number of times. - -An example of a script (assuming it's called 'test.cfg' - comments are -not supported): - - // Start a new CC_client with test.txt as script file - start test.txt; - // Create the lock set "ls1" and register it in the naming service - create ls1; - // Lock the read lock in the lock set - lock ls1 read; - // Try the read lock - try_lock ls1 read; - // sleep two seconds - sleep 2; - // Wait for the user to press enter - wait; - // Unlock the read lock in the ls1 lock set - unlock ls1 read; - // Change the mode of the read lock in the ls1 lock set to write mode - change_mode ls1 read write; - -The test can be run with the command ./CC_client -c test.cfg. - -There are currentlig the following tests in the - $TAO_ROOT/orbsvcs/tests/Concurrency -directory: - basic_tests.cfg The same as running ./CC_client -b - extended_tests.cfg The same as running ./CC_client -e '1;test' - ./CC_client -e '2;test' - ./CC_client -e '3;test' - test.dinphil Dining philosophers. Uses test.phil[1-5] - ----------------------------------------- - -THE IMPLEMENTATION - -The implementation of the concurrency service tests is located in -the $TAO_ROOT/orbsvcs/tests/Concurrency directory and consists of -the following files: - - CC_client.{h,cpp} contain initialization and the main function. - - CC_tests.{h,cpp} The old tests [-b] and [-e] options to CC_client - - CC_command.{h,cpp} The commands that can be used in the scripting - language are implemented in these files. The list of - commands to execute is also implemented here. - - CC_command.l The lex file for the script language. - - CC_command.y The yacc file for the script language. - - CC_command.tab.{h,cpp} and lex.CC_command.cpp Derived files from - the lex and yacc files. - - CC_naming_service.{h,cpp} A wrapper class around the necessary - naming service functinallity for the tests. - - CC_test_utils.{h,cpp} provides a namespace for utility functions. - - test.* Test scripts for the concurrency service.
\ No newline at end of file diff --git a/TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp b/TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp deleted file mode 100644 index ccbf30b8145..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp +++ /dev/null @@ -1,1726 +0,0 @@ -/* A lexical scanner generated by flex */ -// $Id$ -/* Scanner skeleton version: - * Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp - */ - -#define FLEX_SCANNER -#define ACE_CC_YY_FLEX_MAJOR_VERSION 2 -#define ACE_CC_YY_FLEX_MINOR_VERSION 5 - -#include "ace/OS.h" - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include /**/ <stdlib.h> -#include "ace/OS.h" - -/* Use prototypes in function declarations. */ -#define ACE_CC_YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define ACE_CC_YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define ACE_CC_YY_USE_PROTOS -#define ACE_CC_YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include /**/ <io.h> -#include /**/ <stdlib.h> -#define ACE_CC_YY_USE_CONST -#define ACE_CC_YY_USE_PROTOS -#endif - -#ifdef ACE_CC_YY_USE_CONST -#define ace_cc_yyconst const -#else -#define ace_cc_yyconst -#endif - - -#ifdef ACE_CC_YY_USE_PROTOS -#define ACE_CC_YY_PROTO(proto) proto -#else -#define ACE_CC_YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define ACE_CC_YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define ACE_CC_YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN ace_cc_yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The ACE_CC_YYSTATE alias is for lex - * compatibility. - */ -#define ACE_CC_YY_START ((ace_cc_yy_start - 1) / 2) -#define ACE_CC_YYSTATE ACE_CC_YY_START - -/* Action number for EOF rule of a given start state. */ -#define ACE_CC_YY_STATE_EOF(state) (ACE_CC_YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define ACE_CC_YY_NEW_FILE ace_cc_yyrestart( ace_cc_yyin ) - -#define ACE_CC_YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define ACE_CC_YY_BUF_SIZE 16384 - -typedef struct ace_cc_yy_buffer_state *ACE_CC_YY_BUFFER_STATE; - -extern int ace_cc_yyleng; -extern FILE *ace_cc_yyin, *ace_cc_yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * ace_cc_yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the ace_cc_yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define ace_cc_yyless(n) \ - do \ - { \ - /* Undo effects of setting up ace_cc_yytext. */ \ - *ace_cc_yy_cp = ace_cc_yy_hold_char; \ - ACE_CC_YY_RESTORE_ACE_CC_YY_MORE_OFFSET \ - ace_cc_yy_c_buf_p = ace_cc_yy_cp = ace_cc_yy_bp + n - ACE_CC_YY_MORE_ADJ; \ - ACE_CC_YY_DO_BEFORE_ACTION; /* set up ace_cc_yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) ace_cc_yyunput( c, ace_cc_yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int ace_cc_yy_size_t; - - -struct ace_cc_yy_buffer_state - { - FILE *ace_cc_yy_input_file; - - char *ace_cc_yy_ch_buf; /* input buffer */ - char *ace_cc_yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - ace_cc_yy_size_t ace_cc_yy_buf_size; - - /* Number of characters read into ace_cc_yy_ch_buf, not including EOB - * characters. - */ - int ace_cc_yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int ace_cc_yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int ace_cc_yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int ace_cc_yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int ace_cc_yy_fill_buffer; - - int ace_cc_yy_buffer_status; -#define ACE_CC_YY_BUFFER_NEW 0 -#define ACE_CC_YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as ACE_CC_YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via ace_cc_yyrestart()), so that the user can continue scanning by - * just pointing ace_cc_yyin at a new input file. - */ -#define ACE_CC_YY_BUFFER_EOF_PENDING 2 - }; - -static ACE_CC_YY_BUFFER_STATE ace_cc_yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define ACE_CC_YY_CURRENT_BUFFER ace_cc_yy_current_buffer - - -/* ace_cc_yy_hold_char holds the character lost when ace_cc_yytext is formed. */ -static char ace_cc_yy_hold_char; - -static int ace_cc_yy_n_chars; /* number of characters read into ace_cc_yy_ch_buf */ - - -int ace_cc_yyleng; - -/* Points to current character in buffer. */ -static char *ace_cc_yy_c_buf_p = (char *) 0; -static int ace_cc_yy_init = 1; /* whether we need to initialize */ -static int ace_cc_yy_start = 0; /* start state number */ - -/* Flag which is used to allow ace_cc_yywrap()'s to do buffer switches - * instead of setting up a fresh ace_cc_yyin. A bit of a hack ... - */ -static int ace_cc_yy_did_buffer_switch_on_eof; - -void ace_cc_yyrestart ACE_CC_YY_PROTO(( FILE *input_file )); - -void ace_cc_yy_switch_to_buffer ACE_CC_YY_PROTO(( ACE_CC_YY_BUFFER_STATE new_buffer )); -void ace_cc_yy_load_buffer_state ACE_CC_YY_PROTO(( void )); -ACE_CC_YY_BUFFER_STATE ace_cc_yy_create_buffer ACE_CC_YY_PROTO(( FILE *file, int size )); -void ace_cc_yy_delete_buffer ACE_CC_YY_PROTO(( ACE_CC_YY_BUFFER_STATE b )); -void ace_cc_yy_init_buffer ACE_CC_YY_PROTO(( ACE_CC_YY_BUFFER_STATE b, FILE *file )); -void ace_cc_yy_flush_buffer ACE_CC_YY_PROTO(( ACE_CC_YY_BUFFER_STATE b )); -#define ACE_CC_YY_FLUSH_BUFFER ace_cc_yy_flush_buffer( ace_cc_yy_current_buffer ) - -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_buffer ACE_CC_YY_PROTO(( char *base, ace_cc_yy_size_t size )); -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_string ACE_CC_YY_PROTO(( ace_cc_yyconst char *ace_cc_yy_str )); -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_bytes ACE_CC_YY_PROTO(( ace_cc_yyconst char *bytes, int len )); - -static void *ace_cc_yy_flex_alloc ACE_CC_YY_PROTO(( ace_cc_yy_size_t )); -static void *ace_cc_yy_flex_realloc ACE_CC_YY_PROTO(( void *, ace_cc_yy_size_t )); -static void ace_cc_yy_flex_free ACE_CC_YY_PROTO(( void * )); - -#define ace_cc_yy_new_buffer ace_cc_yy_create_buffer - -#define ace_cc_yy_set_interactive(is_interactive) \ - { \ - if ( ! ace_cc_yy_current_buffer ) \ - ace_cc_yy_current_buffer = ace_cc_yy_create_buffer( ace_cc_yyin, ACE_CC_YY_BUF_SIZE ); \ - ace_cc_yy_current_buffer->ace_cc_yy_is_interactive = is_interactive; \ - } - -#define ace_cc_yy_set_bol(at_bol) \ - { \ - if ( ! ace_cc_yy_current_buffer ) \ - ace_cc_yy_current_buffer = ace_cc_yy_create_buffer( ace_cc_yyin, ACE_CC_YY_BUF_SIZE ); \ - ace_cc_yy_current_buffer->ace_cc_yy_at_bol = at_bol; \ - } - -#define ACE_CC_YY_AT_BOL() (ace_cc_yy_current_buffer->ace_cc_yy_at_bol) - - -#define ace_cc_yywrap() 1 -#define ACE_CC_YY_SKIP_ACE_CC_YYWRAP -typedef unsigned char ACE_CC_YY_CHAR; -FILE *ace_cc_yyin = (FILE *) 0, *ace_cc_yyout = (FILE *) 0; -typedef int ace_cc_yy_state_type; -extern char *ace_cc_yytext; -#define ace_cc_yytext_ptr ace_cc_yytext - -static ace_cc_yy_state_type ace_cc_yy_get_previous_state ACE_CC_YY_PROTO(( void )); -static ace_cc_yy_state_type ace_cc_yy_try_NUL_trans ACE_CC_YY_PROTO(( ace_cc_yy_state_type current_state )); -static int ace_cc_yy_get_next_buffer ACE_CC_YY_PROTO(( void )); -static void ace_cc_yy_fatal_error ACE_CC_YY_PROTO(( ace_cc_yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up ace_cc_yytext. - */ -#define ACE_CC_YY_DO_BEFORE_ACTION \ - ace_cc_yytext_ptr = ace_cc_yy_bp; \ - ace_cc_yyleng = (int) (ace_cc_yy_cp - ace_cc_yy_bp); \ - ace_cc_yy_hold_char = *ace_cc_yy_cp; \ - *ace_cc_yy_cp = '\0'; \ - ace_cc_yy_c_buf_p = ace_cc_yy_cp; - -#define ACE_CC_YY_NUM_RULES 25 -#define ACE_CC_YY_END_OF_BUFFER 26 -static ace_cc_yyconst short int ace_cc_yy_accept[124] = - { 0, - 0, 0, 26, 25, 24, 23, 25, 20, 1, 21, - 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, - 25, 24, 23, 0, 19, 20, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, - 21, 0, 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, 0, 22, - 21, 21, 21, 21, 4, 21, 21, 14, 21, 21, - 21, 21, 21, 21, 9, 21, 21, 21, 21, 21, - 21, 10, 21, 8, 2, 21, 21, 21, 17, 21, - 3, 21, 21, 13, 11, 21, 5, 21, 21, 21, - - 21, 21, 16, 21, 21, 21, 6, 21, 12, 21, - 21, 21, 7, 21, 21, 21, 21, 21, 21, 15, - 21, 18, 0 - } ; - -static ace_cc_yyconst int ace_cc_yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 3, 1, 4, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 5, 6, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 5, 8, 1, - 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 1, 1, 1, 1, 10, 1, 11, 9, 12, 13, - - 14, 9, 15, 16, 17, 9, 18, 19, 20, 21, - 22, 23, 9, 24, 25, 26, 27, 9, 28, 29, - 30, 9, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static ace_cc_yyconst int ace_cc_yy_meta[31] = - { 0, - 1, 2, 1, 1, 3, 3, 3, 1, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 - } ; - -static ace_cc_yyconst short int ace_cc_yy_base[128] = - { 0, - 0, 136, 141, 143, 0, 137, 135, 131, 143, 0, - 15, 108, 115, 113, 110, 119, 14, 108, 11, 24, - 125, 0, 127, 125, 124, 120, 0, 115, 111, 112, - 97, 24, 105, 26, 107, 109, 89, 99, 102, 99, - 98, 112, 92, 101, 97, 96, 91, 90, 86, 93, - 91, 90, 79, 92, 79, 76, 73, 72, 95, 143, - 81, 69, 71, 72, 0, 65, 65, 0, 79, 66, - 62, 68, 74, 74, 0, 70, 69, 68, 55, 54, - 56, 0, 52, 0, 0, 55, 58, 62, 0, 64, - 0, 56, 55, 0, 0, 59, 0, 56, 49, 46, - - 45, 48, 0, 43, 43, 42, 0, 49, 0, 51, - 46, 14, 0, 45, 30, 40, 30, 32, 18, 0, - 29, 0, 143, 49, 52, 38, 55 - } ; - -static ace_cc_yyconst short int ace_cc_yy_def[128] = - { 0, - 123, 1, 123, 123, 124, 123, 125, 123, 123, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 123, 124, 123, 125, 125, 123, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 127, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 127, 123, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 0, 123, 123, 123, 123 - } ; - -static ace_cc_yyconst short int ace_cc_yy_nxt[174] = - { 0, - 4, 5, 6, 7, 4, 4, 8, 9, 10, 4, - 10, 11, 10, 12, 10, 10, 13, 10, 14, 10, - 10, 10, 15, 16, 17, 18, 19, 20, 10, 10, - 28, 38, 35, 39, 40, 47, 50, 114, 29, 36, - 27, 115, 122, 121, 120, 48, 119, 41, 51, 22, - 118, 22, 24, 117, 24, 59, 59, 59, 116, 113, - 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, - 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, - 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, - 82, 81, 80, 79, 78, 77, 60, 76, 75, 74, - - 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, - 63, 62, 61, 60, 58, 57, 56, 55, 54, 53, - 52, 49, 46, 45, 44, 43, 26, 25, 25, 23, - 42, 37, 34, 33, 32, 31, 30, 26, 25, 23, - 123, 21, 3, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123 - } ; - -static ace_cc_yyconst short int ace_cc_yy_chk[174] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 11, 19, 17, 19, 20, 32, 34, 112, 11, 17, - 126, 112, 121, 119, 118, 32, 117, 20, 34, 124, - 116, 124, 125, 115, 125, 127, 127, 127, 114, 111, - 110, 108, 106, 105, 104, 102, 101, 100, 99, 98, - 96, 93, 92, 90, 88, 87, 86, 83, 81, 80, - 79, 78, 77, 76, 74, 73, 72, 71, 70, 69, - 67, 66, 64, 63, 62, 61, 59, 58, 57, 56, - - 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, - 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, - 35, 33, 31, 30, 29, 28, 26, 25, 24, 23, - 21, 18, 16, 15, 14, 13, 12, 8, 7, 6, - 3, 2, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123 - } ; - -static ace_cc_yy_state_type ace_cc_yy_last_accepting_state; -static char *ace_cc_yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define ace_cc_yymore() ace_cc_yymore_used_but_not_detected -#define ACE_CC_YY_MORE_ADJ 0 -#define ACE_CC_YY_RESTORE_ACE_CC_YY_MORE_OFFSET -char *ace_cc_yytext; -#line 1 "CC_command.l" -#define INITIAL 0 -/* $id$ - * ============================================================================ - * - * = LIBRARY - * TAO/orbsvcs/tests - * - * = FILENAME - * CC_command.l - * - * = DESCRIPTION - * This is the lex file for the concurrency service script language. - * - * = AUTHORS - * Torben Worm <tworm@cs.wustl.edu> - * - * ============================================================================ - */ -#define ACE_CC_YY_NO_UNPUT 1 -#define ACE_CC_YY_NO_INPUT 1 -#define ACE_CC_YY_ALWAYS_INTERACTIVE 1 -#line 20 "CC_command.l" -#include "CC_command.h" -#include "CC_command.tab.h" -#include "ace/ACE.h" - -extern int line_no; -extern char line_buf[500]; - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef ACE_CC_YY_SKIP_ACE_CC_YYWRAP -#ifdef __cplusplus -extern "C" int ace_cc_yywrap ACE_CC_YY_PROTO(( void )); -#else -extern int ace_cc_yywrap ACE_CC_YY_PROTO(( void )); -#endif -#endif - -#ifndef ACE_CC_YY_NO_UNPUT -static void ace_cc_yyunput ACE_CC_YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef ace_cc_yytext_ptr -static void ace_cc_yy_flex_strncpy ACE_CC_YY_PROTO(( char *, ace_cc_yyconst char *, int )); -#endif - -#ifdef ACE_CC_YY_NEED_STRLEN -static int ace_cc_yy_flex_strlen ACE_CC_YY_PROTO(( ace_cc_yyconst char * )); -#endif - -#ifndef ACE_CC_YY_NO_INPUT -#ifdef __cplusplus -static int ace_cc_yyinput ACE_CC_YY_PROTO(( void )); -#else -static int input ACE_CC_YY_PROTO(( void )); -#endif -#endif - -#if ACE_CC_YY_STACK_USED -static int ace_cc_yy_start_stack_ptr = 0; -static int ace_cc_yy_start_stack_depth = 0; -static int *ace_cc_yy_start_stack = 0; -#ifndef ACE_CC_YY_NO_PUSH_STATE -static void ace_cc_yy_push_state ACE_CC_YY_PROTO(( int new_state )); -#endif -#ifndef ACE_CC_YY_NO_POP_STATE -static void ace_cc_yy_pop_state ACE_CC_YY_PROTO(( void )); -#endif -#ifndef ACE_CC_YY_NO_TOP_STATE -static int ace_cc_yy_top_state ACE_CC_YY_PROTO(( void )); -#endif - -#else -#define ACE_CC_YY_NO_PUSH_STATE 1 -#define ACE_CC_YY_NO_POP_STATE 1 -#define ACE_CC_YY_NO_TOP_STATE 1 -#endif - -#ifdef ACE_CC_YY_MALLOC_DECL -ACE_CC_YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include /**/ <stdlib.h> -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef ACE_CC_YY_READ_BUF_SIZE -#define ACE_CC_YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ACE_CC_ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ACE_CC_ECHO (void) fwrite( ace_cc_yytext, ace_cc_yyleng, 1, ace_cc_yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or ACE_CC_YY_NULL, - * is returned in "result". - */ -#ifndef ACE_CC_YY_INPUT -#define ACE_CC_YY_INPUT(buf,result,max_size) \ - if ( ace_cc_yy_current_buffer->ace_cc_yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( ace_cc_yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( ace_cc_yyin ) ) \ - ACE_CC_YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, ace_cc_yyin )) == 0) \ - && ferror( ace_cc_yyin ) ) \ - ACE_CC_YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "ace_cc_yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef ace_cc_yyterminate -#define ace_cc_yyterminate() return ACE_CC_YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef ACE_CC_YY_START_STACK_INCR -#define ACE_CC_YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef ACE_CC_YY_FATAL_ERROR -#define ACE_CC_YY_FATAL_ERROR(msg) ace_cc_yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef ACE_CC_YY_DECL -#define ACE_CC_YY_DECL int ace_cc_yylex ACE_CC_YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after ace_cc_yytext and ace_cc_yyleng - * have been set up. - */ -#ifndef ACE_CC_YY_USER_ACTION -#define ACE_CC_YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef ACE_CC_YY_BREAK -#define ACE_CC_YY_BREAK break; -#endif - -#define ACE_CC_YY_RULE_SETUP \ - if ( ace_cc_yyleng > 0 ) \ - ace_cc_yy_current_buffer->ace_cc_yy_at_bol = \ - (ace_cc_yytext[ace_cc_yyleng - 1] == '\n'); \ - ACE_CC_YY_USER_ACTION - -ACE_CC_YY_DECL - { - register ace_cc_yy_state_type ace_cc_yy_current_state; - register char *ace_cc_yy_cp, *ace_cc_yy_bp; - register int ace_cc_yy_act; - -#line 28 "CC_command.l" - - - - if ( ace_cc_yy_init ) - { - ace_cc_yy_init = 0; - -#ifdef ACE_CC_YY_USER_INIT - ACE_CC_YY_USER_INIT; -#endif - - if ( ! ace_cc_yy_start ) - ace_cc_yy_start = 1; /* first start state */ - - if ( ! ace_cc_yyin ) - ace_cc_yyin = stdin; - - if ( ! ace_cc_yyout ) - ace_cc_yyout = stdout; - - if ( ! ace_cc_yy_current_buffer ) - ace_cc_yy_current_buffer = - ace_cc_yy_create_buffer( ace_cc_yyin, ACE_CC_YY_BUF_SIZE ); - - ace_cc_yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - ace_cc_yy_cp = ace_cc_yy_c_buf_p; - - /* Support of ace_cc_yytext. */ - *ace_cc_yy_cp = ace_cc_yy_hold_char; - - /* ace_cc_yy_bp points to the position in ace_cc_yy_ch_buf of the start of - * the current run. - */ - ace_cc_yy_bp = ace_cc_yy_cp; - - ace_cc_yy_current_state = ace_cc_yy_start; - ace_cc_yy_current_state += ACE_CC_YY_AT_BOL(); -ace_cc_yy_match: - do - { - register ACE_CC_YY_CHAR ace_cc_yy_c = ace_cc_yy_ec[ACE_CC_YY_SC_TO_UI(*ace_cc_yy_cp)]; - if ( ace_cc_yy_accept[ace_cc_yy_current_state] ) - { - ace_cc_yy_last_accepting_state = ace_cc_yy_current_state; - ace_cc_yy_last_accepting_cpos = ace_cc_yy_cp; - } - while ( ace_cc_yy_chk[ace_cc_yy_base[ace_cc_yy_current_state] + ace_cc_yy_c] != ace_cc_yy_current_state ) - { - ace_cc_yy_current_state = (int) ace_cc_yy_def[ace_cc_yy_current_state]; - if ( ace_cc_yy_current_state >= 124 ) - ace_cc_yy_c = ace_cc_yy_meta[(unsigned int) ace_cc_yy_c]; - } - ace_cc_yy_current_state = ace_cc_yy_nxt[ace_cc_yy_base[ace_cc_yy_current_state] + (unsigned int) ace_cc_yy_c]; - ++ace_cc_yy_cp; - } - while ( ace_cc_yy_base[ace_cc_yy_current_state] != 143 ); - -ace_cc_yy_find_action: - ace_cc_yy_act = ace_cc_yy_accept[ace_cc_yy_current_state]; - if ( ace_cc_yy_act == 0 ) - { /* have to back up */ - ace_cc_yy_cp = ace_cc_yy_last_accepting_cpos; - ace_cc_yy_current_state = ace_cc_yy_last_accepting_state; - ace_cc_yy_act = ace_cc_yy_accept[ace_cc_yy_current_state]; - } - - ACE_CC_YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( ace_cc_yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of ACE_CC_YY_DO_BEFORE_ACTION */ - *ace_cc_yy_cp = ace_cc_yy_hold_char; - ace_cc_yy_cp = ace_cc_yy_last_accepting_cpos; - ace_cc_yy_current_state = ace_cc_yy_last_accepting_state; - goto ace_cc_yy_find_action; - -case 1: -ACE_CC_YY_RULE_SETUP -#line 30 "CC_command.l" -return T_TERM; - /* ACE_CC_YY_BREAK */ -case 2: -ACE_CC_YY_RULE_SETUP -#line 31 "CC_command.l" -return T_START_CMD; - /* ACE_CC_YY_BREAK */ -case 3: -ACE_CC_YY_RULE_SETUP -#line 32 "CC_command.l" -return T_CREATE_CMD; - /* ACE_CC_YY_BREAK */ -case 4: -ACE_CC_YY_RULE_SETUP -#line 33 "CC_command.l" -return T_LOCK_CMD; - /* ACE_CC_YY_BREAK */ -case 5: -ACE_CC_YY_RULE_SETUP -#line 34 "CC_command.l" -return T_UNLOCK_CMD; - /* ACE_CC_YY_BREAK */ -case 6: -ACE_CC_YY_RULE_SETUP -#line 35 "CC_command.l" -return T_TRYLOCK_CMD; - /* ACE_CC_YY_BREAK */ -case 7: -ACE_CC_YY_RULE_SETUP -#line 36 "CC_command.l" -return T_CHANGEMODE_CMD; - /* ACE_CC_YY_BREAK */ -case 8: -ACE_CC_YY_RULE_SETUP -#line 37 "CC_command.l" -return T_SLEEP_CMD; - /* ACE_CC_YY_BREAK */ -case 9: -ACE_CC_YY_RULE_SETUP -#line 38 "CC_command.l" -return T_WAIT_CMD; - /* ACE_CC_YY_BREAK */ -case 10: -ACE_CC_YY_RULE_SETUP -#line 39 "CC_command.l" -return T_PRINT_CMD; - /* ACE_CC_YY_BREAK */ -case 11: -ACE_CC_YY_RULE_SETUP -#line 40 "CC_command.l" -return T_REPEAT_CMD; - /* ACE_CC_YY_BREAK */ -case 12: -ACE_CC_YY_RULE_SETUP -#line 41 "CC_command.l" -return T_EXCEP_CMD; - /* ACE_CC_YY_BREAK */ -case 13: -ACE_CC_YY_RULE_SETUP -#line 42 "CC_command.l" -return T_LOOKUP_CMD; - /* ACE_CC_YY_BREAK */ -case 14: -ACE_CC_YY_RULE_SETUP -#line 43 "CC_command.l" -return T_READ; - /* ACE_CC_YY_BREAK */ -case 15: -ACE_CC_YY_RULE_SETUP -#line 44 "CC_command.l" -return T_IREAD; - /* ACE_CC_YY_BREAK */ -case 16: -ACE_CC_YY_RULE_SETUP -#line 45 "CC_command.l" -return T_UPGRADE; - /* ACE_CC_YY_BREAK */ -case 17: -ACE_CC_YY_RULE_SETUP -#line 46 "CC_command.l" -return T_WRITE; - /* ACE_CC_YY_BREAK */ -case 18: -ACE_CC_YY_RULE_SETUP -#line 47 "CC_command.l" -return T_IWRITE; - /* ACE_CC_YY_BREAK */ -case 19: -ACE_CC_YY_RULE_SETUP -#line 48 "CC_command.l" -{ ace_cc_yylval.id = ACE_OS::strdup(&ace_cc_yytext[1]); - ace_cc_yylval.id[ace_cc_yyleng-2]='\0'; - return Q_STRING; } - /* ACE_CC_YY_BREAK */ -case 20: -ACE_CC_YY_RULE_SETUP -#line 51 "CC_command.l" -{ ace_cc_yylval.num = atoi(ace_cc_yytext); return T_NUM; } - /* ACE_CC_YY_BREAK */ -case 21: -ACE_CC_YY_RULE_SETUP -#line 52 "CC_command.l" -{ ace_cc_yylval.id = ACE_OS::strdup(ace_cc_yytext); - return T_IDENT; } - /* ACE_CC_YY_BREAK */ -case 22: -ACE_CC_YY_RULE_SETUP -#line 54 "CC_command.l" -{ } - ACE_CC_YY_BREAK -case 23: -ACE_CC_YY_RULE_SETUP -#line 55 "CC_command.l" -{ } - ACE_CC_YY_BREAK -case 24: -ACE_CC_YY_RULE_SETUP -#line 56 "CC_command.l" -{ line_no ++; - ACE_OS::strcpy(line_buf, ace_cc_yytext+1); - ace_cc_yyless(1); } - ACE_CC_YY_BREAK -case 25: -ACE_CC_YY_RULE_SETUP -#line 59 "CC_command.l" -ACE_CC_ECHO; - ACE_CC_YY_BREAK -case ACE_CC_YY_STATE_EOF(INITIAL): - ace_cc_yyterminate(); - - case ACE_CC_YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int ace_cc_yy_amount_of_matched_text = (int) (ace_cc_yy_cp - ace_cc_yytext_ptr) - 1; - - /* Undo the effects of ACE_CC_YY_DO_BEFORE_ACTION. */ - *ace_cc_yy_cp = ace_cc_yy_hold_char; - ACE_CC_YY_RESTORE_ACE_CC_YY_MORE_OFFSET - - if ( ace_cc_yy_current_buffer->ace_cc_yy_buffer_status == ACE_CC_YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed ace_cc_yyin at a new source and called - * ace_cc_yylex(). If so, then we have to assure - * consistency between ace_cc_yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - ace_cc_yy_n_chars = ace_cc_yy_current_buffer->ace_cc_yy_n_chars; - ace_cc_yy_current_buffer->ace_cc_yy_input_file = ace_cc_yyin; - ace_cc_yy_current_buffer->ace_cc_yy_buffer_status = ACE_CC_YY_BUFFER_NORMAL; - } - - /* Note that here we test for ace_cc_yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since ace_cc_yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( ace_cc_yy_c_buf_p <= &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ace_cc_yy_n_chars] ) - { /* This was really a NUL. */ - ace_cc_yy_state_type ace_cc_yy_next_state; - - ace_cc_yy_c_buf_p = ace_cc_yytext_ptr + ace_cc_yy_amount_of_matched_text; - - ace_cc_yy_current_state = ace_cc_yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * ace_cc_yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - ace_cc_yy_next_state = ace_cc_yy_try_NUL_trans( ace_cc_yy_current_state ); - - ace_cc_yy_bp = ace_cc_yytext_ptr + ACE_CC_YY_MORE_ADJ; - - if ( ace_cc_yy_next_state ) - { - /* Consume the NUL. */ - ace_cc_yy_cp = ++ace_cc_yy_c_buf_p; - ace_cc_yy_current_state = ace_cc_yy_next_state; - goto ace_cc_yy_match; - } - - else - { - ace_cc_yy_cp = ace_cc_yy_c_buf_p; - goto ace_cc_yy_find_action; - } - } - - else switch ( ace_cc_yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - ace_cc_yy_did_buffer_switch_on_eof = 0; - - if ( ace_cc_yywrap() ) - { - /* Note: because we've taken care in - * ace_cc_yy_get_next_buffer() to have set up - * ace_cc_yytext, we can now set up - * ace_cc_yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * ACE_CC_YY_NULL, it'll still work - another - * ACE_CC_YY_NULL will get returned. - */ - ace_cc_yy_c_buf_p = ace_cc_yytext_ptr + ACE_CC_YY_MORE_ADJ; - - ace_cc_yy_act = ACE_CC_YY_STATE_EOF(ACE_CC_YY_START); - goto do_action; - } - - else - { - if ( ! ace_cc_yy_did_buffer_switch_on_eof ) - ACE_CC_YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - ace_cc_yy_c_buf_p = - ace_cc_yytext_ptr + ace_cc_yy_amount_of_matched_text; - - ace_cc_yy_current_state = ace_cc_yy_get_previous_state(); - - ace_cc_yy_cp = ace_cc_yy_c_buf_p; - ace_cc_yy_bp = ace_cc_yytext_ptr + ACE_CC_YY_MORE_ADJ; - goto ace_cc_yy_match; - - case EOB_ACT_LAST_MATCH: - ace_cc_yy_c_buf_p = - &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ace_cc_yy_n_chars]; - - ace_cc_yy_current_state = ace_cc_yy_get_previous_state(); - - ace_cc_yy_cp = ace_cc_yy_c_buf_p; - ace_cc_yy_bp = ace_cc_yytext_ptr + ACE_CC_YY_MORE_ADJ; - goto ace_cc_yy_find_action; - } - break; - } - - default: - ACE_CC_YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of ace_cc_yylex */ - - -/* ace_cc_yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int ace_cc_yy_get_next_buffer() - { - register char *dest = ace_cc_yy_current_buffer->ace_cc_yy_ch_buf; - register char *source = ace_cc_yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( ace_cc_yy_c_buf_p > &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ace_cc_yy_n_chars + 1] ) - ACE_CC_YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( ace_cc_yy_current_buffer->ace_cc_yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( ace_cc_yy_c_buf_p - ace_cc_yytext_ptr - ACE_CC_YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (ace_cc_yy_c_buf_p - ace_cc_yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( ace_cc_yy_current_buffer->ace_cc_yy_buffer_status == ACE_CC_YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - ace_cc_yy_current_buffer->ace_cc_yy_n_chars = ace_cc_yy_n_chars = 0; - - else - { - int num_to_read = - ace_cc_yy_current_buffer->ace_cc_yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef ACE_CC_YY_USES_REJECT - ACE_CC_YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - ACE_CC_YY_BUFFER_STATE b = ace_cc_yy_current_buffer; - - int ace_cc_yy_c_buf_p_offset = - (int) (ace_cc_yy_c_buf_p - b->ace_cc_yy_ch_buf); - - if ( b->ace_cc_yy_is_our_buffer ) - { - int new_size = b->ace_cc_yy_buf_size * 2; - - if ( new_size <= 0 ) - b->ace_cc_yy_buf_size += b->ace_cc_yy_buf_size / 8; - else - b->ace_cc_yy_buf_size *= 2; - - b->ace_cc_yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - ace_cc_yy_flex_realloc( (void *) b->ace_cc_yy_ch_buf, - b->ace_cc_yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->ace_cc_yy_ch_buf = 0; - - if ( ! b->ace_cc_yy_ch_buf ) - ACE_CC_YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - ace_cc_yy_c_buf_p = &b->ace_cc_yy_ch_buf[ace_cc_yy_c_buf_p_offset]; - - num_to_read = ace_cc_yy_current_buffer->ace_cc_yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > ACE_CC_YY_READ_BUF_SIZE ) - num_to_read = ACE_CC_YY_READ_BUF_SIZE; - - /* Read in more data. */ - ACE_CC_YY_INPUT( (&ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[number_to_move]), - ace_cc_yy_n_chars, num_to_read ); - - ace_cc_yy_current_buffer->ace_cc_yy_n_chars = ace_cc_yy_n_chars; - } - - if ( ace_cc_yy_n_chars == 0 ) - { - if ( number_to_move == ACE_CC_YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - ace_cc_yyrestart( ace_cc_yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - ace_cc_yy_current_buffer->ace_cc_yy_buffer_status = - ACE_CC_YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - ace_cc_yy_n_chars += number_to_move; - ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ace_cc_yy_n_chars] = ACE_CC_YY_END_OF_BUFFER_CHAR; - ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ace_cc_yy_n_chars + 1] = ACE_CC_YY_END_OF_BUFFER_CHAR; - - ace_cc_yytext_ptr = &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[0]; - - return ret_val; - } - - -/* ace_cc_yy_get_previous_state - get the state just before the EOB char was reached */ - -static ace_cc_yy_state_type ace_cc_yy_get_previous_state() - { - register ace_cc_yy_state_type ace_cc_yy_current_state; - register char *ace_cc_yy_cp; - - ace_cc_yy_current_state = ace_cc_yy_start; - ace_cc_yy_current_state += ACE_CC_YY_AT_BOL(); - - for ( ace_cc_yy_cp = ace_cc_yytext_ptr + ACE_CC_YY_MORE_ADJ; ace_cc_yy_cp < ace_cc_yy_c_buf_p; ++ace_cc_yy_cp ) - { - register ACE_CC_YY_CHAR ace_cc_yy_c = (*ace_cc_yy_cp ? ace_cc_yy_ec[ACE_CC_YY_SC_TO_UI(*ace_cc_yy_cp)] : 1); - if ( ace_cc_yy_accept[ace_cc_yy_current_state] ) - { - ace_cc_yy_last_accepting_state = ace_cc_yy_current_state; - ace_cc_yy_last_accepting_cpos = ace_cc_yy_cp; - } - while ( ace_cc_yy_chk[ace_cc_yy_base[ace_cc_yy_current_state] + ace_cc_yy_c] != ace_cc_yy_current_state ) - { - ace_cc_yy_current_state = (int) ace_cc_yy_def[ace_cc_yy_current_state]; - if ( ace_cc_yy_current_state >= 124 ) - ace_cc_yy_c = ace_cc_yy_meta[(unsigned int) ace_cc_yy_c]; - } - ace_cc_yy_current_state = ace_cc_yy_nxt[ace_cc_yy_base[ace_cc_yy_current_state] + (unsigned int) ace_cc_yy_c]; - } - - return ace_cc_yy_current_state; - } - - -/* ace_cc_yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = ace_cc_yy_try_NUL_trans( current_state ); - */ - -#ifdef ACE_CC_YY_USE_PROTOS -static ace_cc_yy_state_type ace_cc_yy_try_NUL_trans( ace_cc_yy_state_type ace_cc_yy_current_state ) -#else -static ace_cc_yy_state_type ace_cc_yy_try_NUL_trans( ace_cc_yy_current_state ) -ace_cc_yy_state_type ace_cc_yy_current_state; -#endif - { - register int ace_cc_yy_is_jam; - register char *ace_cc_yy_cp = ace_cc_yy_c_buf_p; - - register ACE_CC_YY_CHAR ace_cc_yy_c = 1; - if ( ace_cc_yy_accept[ace_cc_yy_current_state] ) - { - ace_cc_yy_last_accepting_state = ace_cc_yy_current_state; - ace_cc_yy_last_accepting_cpos = ace_cc_yy_cp; - } - while ( ace_cc_yy_chk[ace_cc_yy_base[ace_cc_yy_current_state] + ace_cc_yy_c] != ace_cc_yy_current_state ) - { - ace_cc_yy_current_state = (int) ace_cc_yy_def[ace_cc_yy_current_state]; - if ( ace_cc_yy_current_state >= 124 ) - ace_cc_yy_c = ace_cc_yy_meta[(unsigned int) ace_cc_yy_c]; - } - ace_cc_yy_current_state = ace_cc_yy_nxt[ace_cc_yy_base[ace_cc_yy_current_state] + (unsigned int) ace_cc_yy_c]; - ace_cc_yy_is_jam = (ace_cc_yy_current_state == 123); - - return ace_cc_yy_is_jam ? 0 : ace_cc_yy_current_state; - } - - -#ifndef ACE_CC_YY_NO_UNPUT -#ifdef ACE_CC_YY_USE_PROTOS -static void ace_cc_yyunput( int c, register char *ace_cc_yy_bp ) -#else -static void ace_cc_yyunput( c, ace_cc_yy_bp ) -int c; -register char *ace_cc_yy_bp; -#endif - { - register char *ace_cc_yy_cp = ace_cc_yy_c_buf_p; - - /* undo effects of setting up ace_cc_yytext */ - *ace_cc_yy_cp = ace_cc_yy_hold_char; - - if ( ace_cc_yy_cp < ace_cc_yy_current_buffer->ace_cc_yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = ace_cc_yy_n_chars + 2; - register char *dest = &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ - ace_cc_yy_current_buffer->ace_cc_yy_buf_size + 2]; - register char *source = - &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[number_to_move]; - - while ( source > ace_cc_yy_current_buffer->ace_cc_yy_ch_buf ) - *--dest = *--source; - - ace_cc_yy_cp += (int) (dest - source); - ace_cc_yy_bp += (int) (dest - source); - ace_cc_yy_current_buffer->ace_cc_yy_n_chars = - ace_cc_yy_n_chars = ace_cc_yy_current_buffer->ace_cc_yy_buf_size; - - if ( ace_cc_yy_cp < ace_cc_yy_current_buffer->ace_cc_yy_ch_buf + 2 ) - ACE_CC_YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--ace_cc_yy_cp = (char) c; - - - ace_cc_yytext_ptr = ace_cc_yy_bp; - ace_cc_yy_hold_char = *ace_cc_yy_cp; - ace_cc_yy_c_buf_p = ace_cc_yy_cp; - } -#endif /* ifndef ACE_CC_YY_NO_UNPUT */ - -#ifndef ACE_CC_YY_NO_INPUT -#ifdef __cplusplus -static int ace_cc_yyinput() -#else -static int input() -#endif - { - int c; - - *ace_cc_yy_c_buf_p = ace_cc_yy_hold_char; - - if ( *ace_cc_yy_c_buf_p == ACE_CC_YY_END_OF_BUFFER_CHAR ) - { - /* ace_cc_yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( ace_cc_yy_c_buf_p < &ace_cc_yy_current_buffer->ace_cc_yy_ch_buf[ace_cc_yy_n_chars] ) - /* This was really a NUL. */ - *ace_cc_yy_c_buf_p = '\0'; - - else - { /* need more input */ - int offset = ace_cc_yy_c_buf_p - ace_cc_yytext_ptr; - ++ace_cc_yy_c_buf_p; - - switch ( ace_cc_yy_get_next_buffer() ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because ace_cc_yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - ace_cc_yyrestart( ace_cc_yyin ); - - /* fall through */ - - case EOB_ACT_END_OF_FILE: - { - if ( ace_cc_yywrap() ) - return EOF; - - /* if ( ! ace_cc_yy_did_buffer_switch_on_eof ) - ACE_CC_YY_NEW_FILE; -#ifdef __cplusplus - return ace_cc_yyinput(); -#else - return input(); - #endif */ - } - - case EOB_ACT_CONTINUE_SCAN: - ace_cc_yy_c_buf_p = ace_cc_yytext_ptr + offset; - break; - } - } - } - - c = *(unsigned char *) ace_cc_yy_c_buf_p; /* cast for 8-bit char's */ - *ace_cc_yy_c_buf_p = '\0'; /* preserve ace_cc_yytext */ - ace_cc_yy_hold_char = *++ace_cc_yy_c_buf_p; - - ace_cc_yy_current_buffer->ace_cc_yy_at_bol = (c == '\n'); - - return c; - } -#endif /* ! ACE_CC_YY_NO_INPUT */ - - -#ifdef ACE_CC_YY_USE_PROTOS -void ace_cc_yyrestart( FILE *input_file ) -#else -void ace_cc_yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! ace_cc_yy_current_buffer ) - ace_cc_yy_current_buffer = ace_cc_yy_create_buffer( ace_cc_yyin, ACE_CC_YY_BUF_SIZE ); - - ace_cc_yy_init_buffer( ace_cc_yy_current_buffer, input_file ); - ace_cc_yy_load_buffer_state(); - } - - -#ifdef ACE_CC_YY_USE_PROTOS -void ace_cc_yy_switch_to_buffer( ACE_CC_YY_BUFFER_STATE new_buffer ) -#else -void ace_cc_yy_switch_to_buffer( new_buffer ) -ACE_CC_YY_BUFFER_STATE new_buffer; -#endif - { - if ( ace_cc_yy_current_buffer == new_buffer ) - return; - - if ( ace_cc_yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *ace_cc_yy_c_buf_p = ace_cc_yy_hold_char; - ace_cc_yy_current_buffer->ace_cc_yy_buf_pos = ace_cc_yy_c_buf_p; - ace_cc_yy_current_buffer->ace_cc_yy_n_chars = ace_cc_yy_n_chars; - } - - ace_cc_yy_current_buffer = new_buffer; - ace_cc_yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (ace_cc_yywrap()) processing, but the only time this flag - * is looked at is after ace_cc_yywrap() is called, so it's safe - * to go ahead and always set it. - */ - ace_cc_yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef ACE_CC_YY_USE_PROTOS -void ace_cc_yy_load_buffer_state( void ) -#else -void ace_cc_yy_load_buffer_state() -#endif - { - ace_cc_yy_n_chars = ace_cc_yy_current_buffer->ace_cc_yy_n_chars; - ace_cc_yytext_ptr = ace_cc_yy_c_buf_p = ace_cc_yy_current_buffer->ace_cc_yy_buf_pos; - ace_cc_yyin = ace_cc_yy_current_buffer->ace_cc_yy_input_file; - ace_cc_yy_hold_char = *ace_cc_yy_c_buf_p; - } - - -#ifdef ACE_CC_YY_USE_PROTOS -ACE_CC_YY_BUFFER_STATE ace_cc_yy_create_buffer( FILE *file, int size ) -#else -ACE_CC_YY_BUFFER_STATE ace_cc_yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - ACE_CC_YY_BUFFER_STATE b; - - b = (ACE_CC_YY_BUFFER_STATE) ace_cc_yy_flex_alloc( sizeof( struct ace_cc_yy_buffer_state ) ); - if ( ! b ) - ACE_CC_YY_FATAL_ERROR( "out of dynamic memory in ace_cc_yy_create_buffer()" ); - - b->ace_cc_yy_buf_size = size; - - /* ace_cc_yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->ace_cc_yy_ch_buf = (char *) ace_cc_yy_flex_alloc( b->ace_cc_yy_buf_size + 2 ); - if ( ! b->ace_cc_yy_ch_buf ) - ACE_CC_YY_FATAL_ERROR( "out of dynamic memory in ace_cc_yy_create_buffer()" ); - - b->ace_cc_yy_is_our_buffer = 1; - - ace_cc_yy_init_buffer( b, file ); - - return b; - } - - -#ifdef ACE_CC_YY_USE_PROTOS -void ace_cc_yy_delete_buffer( ACE_CC_YY_BUFFER_STATE b ) -#else -void ace_cc_yy_delete_buffer( b ) -ACE_CC_YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == ace_cc_yy_current_buffer ) - ace_cc_yy_current_buffer = (ACE_CC_YY_BUFFER_STATE) 0; - - if ( b->ace_cc_yy_is_our_buffer ) - ace_cc_yy_flex_free( (void *) b->ace_cc_yy_ch_buf ); - - ace_cc_yy_flex_free( (void *) b ); - } - - -#ifndef ACE_CC_YY_ALWAYS_INTERACTIVE -#ifndef ACE_CC_YY_NEVER_INTERACTIVE -extern int isatty ACE_CC_YY_PROTO(( int )); -#endif -#endif - -#ifdef ACE_CC_YY_USE_PROTOS -void ace_cc_yy_init_buffer( ACE_CC_YY_BUFFER_STATE b, FILE *file ) -#else -void ace_cc_yy_init_buffer( b, file ) -ACE_CC_YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - ace_cc_yy_flush_buffer( b ); - - b->ace_cc_yy_input_file = file; - b->ace_cc_yy_fill_buffer = 1; - -#if ACE_CC_YY_ALWAYS_INTERACTIVE - b->ace_cc_yy_is_interactive = 1; -#else -#if ACE_CC_YY_NEVER_INTERACTIVE - b->ace_cc_yy_is_interactive = 0; -#else - b->ace_cc_yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef ACE_CC_YY_USE_PROTOS -void ace_cc_yy_flush_buffer( ACE_CC_YY_BUFFER_STATE b ) -#else -void ace_cc_yy_flush_buffer( b ) -ACE_CC_YY_BUFFER_STATE b; -#endif - - { - if ( ! b ) - return; - - b->ace_cc_yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->ace_cc_yy_ch_buf[0] = ACE_CC_YY_END_OF_BUFFER_CHAR; - b->ace_cc_yy_ch_buf[1] = ACE_CC_YY_END_OF_BUFFER_CHAR; - - b->ace_cc_yy_buf_pos = &b->ace_cc_yy_ch_buf[0]; - - b->ace_cc_yy_at_bol = 1; - b->ace_cc_yy_buffer_status = ACE_CC_YY_BUFFER_NEW; - - if ( b == ace_cc_yy_current_buffer ) - ace_cc_yy_load_buffer_state(); - } - - -#ifndef ACE_CC_YY_NO_SCAN_BUFFER -#ifdef ACE_CC_YY_USE_PROTOS -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_buffer( char *base, ace_cc_yy_size_t size ) -#else -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_buffer( base, size ) -char *base; -ace_cc_yy_size_t size; -#endif - { - ACE_CC_YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != ACE_CC_YY_END_OF_BUFFER_CHAR || - base[size-1] != ACE_CC_YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (ACE_CC_YY_BUFFER_STATE) ace_cc_yy_flex_alloc( sizeof( struct ace_cc_yy_buffer_state ) ); - if ( ! b ) - ACE_CC_YY_FATAL_ERROR( "out of dynamic memory in ace_cc_yy_scan_buffer()" ); - - b->ace_cc_yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->ace_cc_yy_buf_pos = b->ace_cc_yy_ch_buf = base; - b->ace_cc_yy_is_our_buffer = 0; - b->ace_cc_yy_input_file = 0; - b->ace_cc_yy_n_chars = b->ace_cc_yy_buf_size; - b->ace_cc_yy_is_interactive = 0; - b->ace_cc_yy_at_bol = 1; - b->ace_cc_yy_fill_buffer = 0; - b->ace_cc_yy_buffer_status = ACE_CC_YY_BUFFER_NEW; - - ace_cc_yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef ACE_CC_YY_NO_SCAN_STRING -#ifdef ACE_CC_YY_USE_PROTOS -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_string( ace_cc_yyconst char *ace_cc_yy_str ) -#else -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_string( ace_cc_yy_str ) -ace_cc_yyconst char *ace_cc_yy_str; -#endif - { - int len; - for ( len = 0; ace_cc_yy_str[len]; ++len ) - ; - - return ace_cc_yy_scan_bytes( ace_cc_yy_str, len ); - } -#endif - - -#ifndef ACE_CC_YY_NO_SCAN_BYTES -#ifdef ACE_CC_YY_USE_PROTOS -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_bytes( ace_cc_yyconst char *bytes, int len ) -#else -ACE_CC_YY_BUFFER_STATE ace_cc_yy_scan_bytes( bytes, len ) -ace_cc_yyconst char *bytes; -int len; -#endif - { - ACE_CC_YY_BUFFER_STATE b; - char *buf; - ace_cc_yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) ace_cc_yy_flex_alloc( n ); - if ( ! buf ) - ACE_CC_YY_FATAL_ERROR( "out of dynamic memory in ace_cc_yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = ACE_CC_YY_END_OF_BUFFER_CHAR; - - b = ace_cc_yy_scan_buffer( buf, n ); - if ( ! b ) - ACE_CC_YY_FATAL_ERROR( "bad buffer in ace_cc_yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->ace_cc_yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef ACE_CC_YY_NO_PUSH_STATE -#ifdef ACE_CC_YY_USE_PROTOS -static void ace_cc_yy_push_state( int new_state ) -#else -static void ace_cc_yy_push_state( new_state ) -int new_state; -#endif - { - if ( ace_cc_yy_start_stack_ptr >= ace_cc_yy_start_stack_depth ) - { - ace_cc_yy_size_t new_size; - - ace_cc_yy_start_stack_depth += ACE_CC_YY_START_STACK_INCR; - new_size = ace_cc_yy_start_stack_depth * sizeof( int ); - - if ( ! ace_cc_yy_start_stack ) - ace_cc_yy_start_stack = (int *) ace_cc_yy_flex_alloc( new_size ); - - else - ace_cc_yy_start_stack = (int *) ace_cc_yy_flex_realloc( - (void *) ace_cc_yy_start_stack, new_size ); - - if ( ! ace_cc_yy_start_stack ) - ACE_CC_YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - ace_cc_yy_start_stack[ace_cc_yy_start_stack_ptr++] = ACE_CC_YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef ACE_CC_YY_NO_POP_STATE -static void ace_cc_yy_pop_state() - { - if ( --ace_cc_yy_start_stack_ptr < 0 ) - ACE_CC_YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(ace_cc_yy_start_stack[ace_cc_yy_start_stack_ptr]); - } -#endif - - -#ifndef ACE_CC_YY_NO_TOP_STATE -static int ace_cc_yy_top_state() - { - return ace_cc_yy_start_stack[ace_cc_yy_start_stack_ptr - 1]; - } -#endif - -#ifndef ACE_CC_YY_EXIT_FAILURE -#define ACE_CC_YY_EXIT_FAILURE 2 -#endif - -#ifdef ACE_CC_YY_USE_PROTOS -static void ace_cc_yy_fatal_error( ace_cc_yyconst char msg[] ) -#else -static void ace_cc_yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( ACE_CC_YY_EXIT_FAILURE ); - } - - - -/* Redefine ace_cc_yyless() so it works in section 3 code. */ - -#undef ace_cc_yyless -#define ace_cc_yyless(n) \ - do \ - { \ - /* Undo effects of setting up ace_cc_yytext. */ \ - ace_cc_yytext[ace_cc_yyleng] = ace_cc_yy_hold_char; \ - ace_cc_yy_c_buf_p = ace_cc_yytext + n; \ - ace_cc_yy_hold_char = *ace_cc_yy_c_buf_p; \ - *ace_cc_yy_c_buf_p = '\0'; \ - ace_cc_yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef ace_cc_yytext_ptr -#ifdef ACE_CC_YY_USE_PROTOS -static void ace_cc_yy_flex_strncpy( char *s1, ace_cc_yyconst char *s2, int n ) -#else -static void ace_cc_yy_flex_strncpy( s1, s2, n ) -char *s1; -ace_cc_yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - -#ifdef ACE_CC_YY_NEED_STRLEN -#ifdef ACE_CC_YY_USE_PROTOS -static int ace_cc_yy_flex_strlen( ace_cc_yyconst char *s ) -#else -static int ace_cc_yy_flex_strlen( s ) -ace_cc_yyconst char *s; -#endif - { - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; - } -#endif - - -#ifdef ACE_CC_YY_USE_PROTOS -static void *ace_cc_yy_flex_alloc( ace_cc_yy_size_t size ) -#else -static void *ace_cc_yy_flex_alloc( size ) -ace_cc_yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef ACE_CC_YY_USE_PROTOS -static void *ace_cc_yy_flex_realloc( void *ptr, ace_cc_yy_size_t size ) -#else -static void *ace_cc_yy_flex_realloc( ptr, size ) -void *ptr; -ace_cc_yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef ACE_CC_YY_USE_PROTOS -static void ace_cc_yy_flex_free( void *ptr ) -#else -static void ace_cc_yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ACE_MALLOC_T (ptr) ); - } - -#if ACE_CC_YY_MAIN -int main() - { - ace_cc_yylex(); - return 0; - } -#endif -#line 59 "CC_command.l" diff --git a/TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp.diff b/TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp.diff deleted file mode 100644 index b6693643ce7..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp.diff +++ /dev/null @@ -1,167 +0,0 @@ ---- lex.CC_command.cpp.orig Fri Jun 19 16:04:06 1998 -+++ lex.CC_command.cpp Fri Jun 19 16:04:24 1998 -@@ -709,110 +709,110 @@ - ACE_CC_YY_RULE_SETUP - #line 30 "CC_command.l" - return T_TERM; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 2: - ACE_CC_YY_RULE_SETUP - #line 31 "CC_command.l" - return T_START_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 3: - ACE_CC_YY_RULE_SETUP - #line 32 "CC_command.l" - return T_CREATE_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 4: - ACE_CC_YY_RULE_SETUP - #line 33 "CC_command.l" - return T_LOCK_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 5: - ACE_CC_YY_RULE_SETUP - #line 34 "CC_command.l" - return T_UNLOCK_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 6: - ACE_CC_YY_RULE_SETUP - #line 35 "CC_command.l" - return T_TRYLOCK_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 7: - ACE_CC_YY_RULE_SETUP - #line 36 "CC_command.l" - return T_CHANGEMODE_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 8: - ACE_CC_YY_RULE_SETUP - #line 37 "CC_command.l" - return T_SLEEP_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 9: - ACE_CC_YY_RULE_SETUP - #line 38 "CC_command.l" - return T_WAIT_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 10: - ACE_CC_YY_RULE_SETUP - #line 39 "CC_command.l" - return T_PRINT_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 11: - ACE_CC_YY_RULE_SETUP - #line 40 "CC_command.l" - return T_REPEAT_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 12: - ACE_CC_YY_RULE_SETUP - #line 41 "CC_command.l" - return T_EXCEP_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 13: - ACE_CC_YY_RULE_SETUP - #line 42 "CC_command.l" - return T_LOOKUP_CMD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 14: - ACE_CC_YY_RULE_SETUP - #line 43 "CC_command.l" - return T_READ; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 15: - ACE_CC_YY_RULE_SETUP - #line 44 "CC_command.l" - return T_IREAD; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 16: - ACE_CC_YY_RULE_SETUP - #line 45 "CC_command.l" - return T_UPGRADE; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 17: - ACE_CC_YY_RULE_SETUP - #line 46 "CC_command.l" - return T_WRITE; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 18: - ACE_CC_YY_RULE_SETUP - #line 47 "CC_command.l" - return T_IWRITE; -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 19: - ACE_CC_YY_RULE_SETUP - #line 48 "CC_command.l" - { ace_cc_yylval.id = ACE_OS::strdup(&ace_cc_yytext[1]); - ace_cc_yylval.id[ace_cc_yyleng-2]='\0'; - return Q_STRING; } -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 20: - ACE_CC_YY_RULE_SETUP - #line 51 "CC_command.l" - { ace_cc_yylval.num = atoi(ace_cc_yytext); return T_NUM; } -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 21: - ACE_CC_YY_RULE_SETUP - #line 52 "CC_command.l" - { ace_cc_yylval.id = ACE_OS::strdup(ace_cc_yytext); - return T_IDENT; } -- ACE_CC_YY_BREAK -+ /* ACE_CC_YY_BREAK */ - case 22: - ACE_CC_YY_RULE_SETUP - #line 54 "CC_command.l" -@@ -1216,7 +1216,7 @@ - } - #endif /* ifndef ACE_CC_YY_NO_UNPUT */ - -- -+#ifndef ACE_CC_YY_NO_INPUT - #ifdef __cplusplus - static int ace_cc_yyinput() - #else -@@ -1265,13 +1265,13 @@ - if ( ace_cc_yywrap() ) - return EOF; - -- if ( ! ace_cc_yy_did_buffer_switch_on_eof ) -+ /* if ( ! ace_cc_yy_did_buffer_switch_on_eof ) - ACE_CC_YY_NEW_FILE; - #ifdef __cplusplus - return ace_cc_yyinput(); - #else - return input(); --#endif -+ #endif */ - } - - case EOB_ACT_CONTINUE_SCAN: -@@ -1289,6 +1289,7 @@ - - return c; - } -+#endif /* ! ACE_CC_YY_NO_INPUT */ - - - #ifdef ACE_CC_YY_USE_PROTOS diff --git a/TAO/orbsvcs/tests/Concurrency/svc.conf b/TAO/orbsvcs/tests/Concurrency/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources <which> -# where <which> can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# <none currently> -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency <which> -# where <which> can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags <flags> -# specifies the default thread flags to use, where <flags> is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy <which> -# where <which> can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize <unsigned> -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/tests/Concurrency/test.basic b/TAO/orbsvcs/tests/Concurrency/test.basic deleted file mode 100644 index d0e5ee8e650..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.basic +++ /dev/null @@ -1,21 +0,0 @@ -create test; -lock test read; -try_lock test read; -unlock test read; -unlock test read; -lock test write; -try_lock test write; -unlock test write; -lock test upgrade; -try_lock test upgrade; -unlock test upgrade; -lock test intention_read; -try_lock test intention_read; -unlock test intention_read; -unlock test intention_read; -lock test intention_write; -try_lock test intention_write; -unlock test intention_write; -create ls2; -unlock ls2 write; -exception IDL:CosConcurrencyControl/LockNotHeld:1.0; diff --git a/TAO/orbsvcs/tests/Concurrency/test.dinphil b/TAO/orbsvcs/tests/Concurrency/test.dinphil deleted file mode 100644 index 81b02f90ee7..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.dinphil +++ /dev/null @@ -1,12 +0,0 @@ -print "Creating lock sets"; -create fork1; -create fork2; -create fork3; -create fork4; -create fork5; -print "Running the tests"; -start test.phil1; -start test.phil2; -start test.phil3; -start test.phil4; -start test.phil5; diff --git a/TAO/orbsvcs/tests/Concurrency/test.e1 b/TAO/orbsvcs/tests/Concurrency/test.e1 deleted file mode 100644 index 1c1e4517680..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.e1 +++ /dev/null @@ -1,2 +0,0 @@ -wait "Press return"; -unlock ls1 write; diff --git a/TAO/orbsvcs/tests/Concurrency/test.extended b/TAO/orbsvcs/tests/Concurrency/test.extended deleted file mode 100644 index 330f03e39c5..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.extended +++ /dev/null @@ -1,4 +0,0 @@ -create ls1; -lock ls1 write; -wait "Run test.e1 - then press return"; -lock ls1 write; diff --git a/TAO/orbsvcs/tests/Concurrency/test.phil1 b/TAO/orbsvcs/tests/Concurrency/test.phil1 deleted file mode 100644 index 19d25e04ef9..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.phil1 +++ /dev/null @@ -1,6 +0,0 @@ -repeat 100; -lock fork2 write; -lock fork1 write; -print "Phil 1 eating"; -unlock fork2 write; -unlock fork1 write; diff --git a/TAO/orbsvcs/tests/Concurrency/test.phil2 b/TAO/orbsvcs/tests/Concurrency/test.phil2 deleted file mode 100644 index 7f02934cf4d..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.phil2 +++ /dev/null @@ -1,6 +0,0 @@ -repeat 100; -lock fork2 write; -lock fork3 write; -print "Phil 2 eating"; -unlock fork2 write; -unlock fork3 write; diff --git a/TAO/orbsvcs/tests/Concurrency/test.phil3 b/TAO/orbsvcs/tests/Concurrency/test.phil3 deleted file mode 100644 index 4d808e88ac7..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.phil3 +++ /dev/null @@ -1,6 +0,0 @@ -repeat 100; -lock fork3 write; -lock fork4 write; -print "Phil 3 eating"; -unlock fork3 write; -unlock fork4 write; diff --git a/TAO/orbsvcs/tests/Concurrency/test.phil4 b/TAO/orbsvcs/tests/Concurrency/test.phil4 deleted file mode 100644 index 36910b9a9aa..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.phil4 +++ /dev/null @@ -1,6 +0,0 @@ -repeat 100; -lock fork4 write; -lock fork5 write; -print "Phil 4 eating"; -unlock fork4 write; -unlock fork5 write; diff --git a/TAO/orbsvcs/tests/Concurrency/test.phil5 b/TAO/orbsvcs/tests/Concurrency/test.phil5 deleted file mode 100644 index b5f5058eac6..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/test.phil5 +++ /dev/null @@ -1,6 +0,0 @@ -repeat 100; -lock fork5 write; -lock fork1 write; -print "Phil 5 eating"; -unlock fork5 write; -unlock fork1 write; diff --git a/TAO/orbsvcs/tests/Concurrency/tmplinst.cpp b/TAO/orbsvcs/tests/Concurrency/tmplinst.cpp deleted file mode 100644 index 3c8d0dcdd5f..00000000000 --- a/TAO/orbsvcs/tests/Concurrency/tmplinst.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// -// $Id$ -// - -// The contents of this file REALLY should be generated by the IDL -// compiler, but that functionality isn't available yet. - -#include "orbsvcs/orbsvcs/CosConcurrencyControlC.h" - -ACE_RCSID(Concurrency, tmplinst, "$Id$") - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |