diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-07 21:14:34 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-07 21:14:34 +0000 |
commit | 8905cea157657f6462ebd69166bd9136520b4e55 (patch) | |
tree | 526b4e8367f796dbb25145233ed545ac6950daee /examples | |
parent | 7e8de08d792550095d9202aa7f642f42ad7ff37a (diff) | |
download | ATCD-8905cea157657f6462ebd69166bd9136520b4e55.tar.gz |
replace ACE_SYNCH_1 and _2 with _DECL and _USE
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Threads/tss1.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/Threads/tss1.cpp b/examples/Threads/tss1.cpp index 7aeadc7fee1..cc3c863d1a3 100644 --- a/examples/Threads/tss1.cpp +++ b/examples/Threads/tss1.cpp @@ -85,8 +85,8 @@ ACE_TSS<Errno> TSS_Error; // (Sun C++ 4.2 with -O3 won't link if the following is static.) int close_started = 0; -template <ACE_SYNCH_1> -class Tester: public ACE_Task<ACE_SYNCH_2> +template <ACE_SYNCH_DECL> +class Tester: public ACE_Task<ACE_SYNCH_USE> { public: Tester (void) {} @@ -100,8 +100,8 @@ public: virtual int close (u_long args = 0); }; -template <ACE_SYNCH_1> int -Tester<ACE_SYNCH_2>::svc (void) +template <ACE_SYNCH_DECL> int +Tester<ACE_SYNCH_USE>::svc (void) { ACE_DEBUG ((LM_DEBUG, "(%t) svc: setting error code to 1\n")); TSS_Error->error (1); @@ -116,15 +116,15 @@ Tester<ACE_SYNCH_2>::svc (void) return 0; } -template <ACE_SYNCH_1> int -Tester<ACE_SYNCH_2>::open (void *) +template <ACE_SYNCH_DECL> int +Tester<ACE_SYNCH_USE>::open (void *) { // Make this an Active Object. return this->activate (); } -template <ACE_SYNCH_1> -int Tester<ACE_SYNCH_2>::close (u_long) +template <ACE_SYNCH_DECL> +int Tester<ACE_SYNCH_USE>::close (u_long) { ACE_DEBUG ((LM_DEBUG, "(%t) close running\n")); close_started = 1; |