summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-07-13 02:53:39 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-07-13 02:53:39 +0000
commitf866bbfbe7ae77026680dce705764b4945d969f0 (patch)
tree2719c1694cc4e49d92352f35298d0f19ea8c697c /examples/Shared_Malloc
parent5e0efc3ea893aa0c185b7efcc2b2d1d508eb4063 (diff)
downloadATCD-f866bbfbe7ae77026680dce705764b4945d969f0.tar.gz
ChangeLogTag:Mon Jul 12 19:51:21 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'examples/Shared_Malloc')
-rw-r--r--examples/Shared_Malloc/Options.cpp80
1 files changed, 40 insertions, 40 deletions
diff --git a/examples/Shared_Malloc/Options.cpp b/examples/Shared_Malloc/Options.cpp
index 2ec9de67d04..d8956c009ea 100644
--- a/examples/Shared_Malloc/Options.cpp
+++ b/examples/Shared_Malloc/Options.cpp
@@ -149,49 +149,49 @@ Options::parse_args (int argc, ACE_TCHAR *argv[])
)
{
switch (c)
- {
- case 'd':
- this->debug_ = 1;
- break;
- case 'e':
- this->exec_slave_ = 1;
- break;
- case 'h':
- this->print_usage_and_die ();
- /* NOTREACHED */
- break;
- case 'l':
- this->use_sbrk_ = 0;
- break;
- case 'L':
- this->max_msg_size_ = ACE_OS::atoi (get_opt.opt_arg ());
- break;
- case 'm':
- this->use_mmap_ = 1;
- break;
- case 'n':
- this->iteration_count_ = ACE_OS::atoi (get_opt.opt_arg ());
- break;
- case 'p': // Spawn processes rather than threads
- this->spawn_threads_ = 0;
- break;
- case 's':
- // Use System V shared memory...
- this->use_shmem_ = 1;
- break;
- case 't':
- this->spawn_count_ = ACE_OS::atoi (get_opt.opt_arg ());
- break;
- case 'T':
+ {
+ case 'd':
+ this->debug_ = 1;
+ break;
+ case 'e':
+ this->exec_slave_ = 1;
+ break;
+ case 'h':
+ this->print_usage_and_die ();
+ /* NOTREACHED */
+ break;
+ case 'l':
+ this->use_sbrk_ = 0;
+ break;
+ case 'L':
+ this->max_msg_size_ = ACE_OS::atoi (get_opt.opt_arg ());
+ break;
+ case 'm':
+ this->use_mmap_ = 1;
+ break;
+ case 'n':
+ this->iteration_count_ = ACE_OS::atoi (get_opt.opt_arg ());
+ break;
+ case 'p': // Spawn processes rather than threads
+ this->spawn_threads_ = 0;
+ break;
+ case 's':
+ // Use System V shared memory...
+ this->use_shmem_ = 1;
+ break;
+ case 't':
+ this->spawn_count_ = ACE_OS::atoi (get_opt.opt_arg ());
+ break;
+ case 'T':
#if defined (ACE_HAS_TRACE)
ACE_Trace::start_tracing ();
#endif /* ACE_HAS_TRACE */
- break;
- default:
- this->print_usage_and_die ();
- /* NOTREACHED */
- break;
- }
+ break;
+ default:
+ this->print_usage_and_die ();
+ /* NOTREACHED */
+ break;
+ }
}
// Switch to using MMAP when the -p and -e options are enabled.