diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-12-08 04:44:58 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-12-08 04:44:58 +0000 |
commit | 1316ac97b9980b5f3317eb2f39448da9b7e6960e (patch) | |
tree | 0b26be4083134b21af463fd9e9d442227f4b52db /examples | |
parent | 505a415683c84d11929102b80b7c35b4d7eb1444 (diff) | |
download | ATCD-1316ac97b9980b5f3317eb2f39448da9b7e6960e.tar.gz |
ChangeLogTag:Thu Dec 5 20:30:56 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Synch/README | 6 | ||||
-rw-r--r-- | examples/Synch/proc_sema.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/Synch/README b/examples/Synch/README index 51dd14ce4ae..526120f2744 100644 --- a/examples/Synch/README +++ b/examples/Synch/README @@ -16,6 +16,6 @@ consumer process. The available options are: You can use this test to see how process semaphores work. For example, run the program as: - proc_sema -c -n 10 - proc_sema -s -n 3 - proc_sema -s -n 7 + proc_sema -c -i 10 + proc_sema -s -i 3 + proc_sema -s -i 7 diff --git a/examples/Synch/proc_sema.cpp b/examples/Synch/proc_sema.cpp index 4ee81f6f9c0..3666b552cd8 100644 --- a/examples/Synch/proc_sema.cpp +++ b/examples/Synch/proc_sema.cpp @@ -11,7 +11,7 @@ int producer (ACE_SYNCH_PROCESS_SEMAPHORE &sema, for (int i = iter; i > 0; --i) { ACE_DEBUG ((LM_DEBUG, - "Try acquiring the semaphore (%d): ", + "Try releasing the semaphore (%d): ", i)); int result = sema.release (); |