diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-17 20:23:08 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-17 20:23:08 +0000 |
commit | 0a7665b02073765200100d5996d25848e9d9e2db (patch) | |
tree | bd7b1e248695eb499993dc8c1b290cb849f6cdb5 /ace/CORBA_macros.h | |
parent | 836bcfdaf2929bd5a1cd8efc193b04b2541c9af3 (diff) | |
download | ATCD-0a7665b02073765200100d5996d25848e9d9e2db.tar.gz |
ChangeLogTag:Mon May 17 15:08:45 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/CORBA_macros.h')
-rw-r--r-- | ace/CORBA_macros.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/CORBA_macros.h b/ace/CORBA_macros.h index 7b115f21745..c540e5af1f6 100644 --- a/ace/CORBA_macros.h +++ b/ace/CORBA_macros.h @@ -363,13 +363,13 @@ ACE_Guard<MUTEX> OBJ (LOCK); \ if (OBJ.locked () == 0) ACE_THROW_INT (EXCEPTION); -# define ACE_READ_GUARD_THROW_EX(MUTEX,OBJ,LOCK) \ +# define ACE_READ_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \ ACE_Read_Guard<MUTEX> OBJ (LOCK); \ - if (OBJ.locked () == 0) return; + if (OBJ.locked () == 0) ACE_THROW_INT (EXCEPTION); -# define ACE_WRITE_GUARD_THROW_EX(MUTEX,OBJ,LOCK) \ +# define ACE_WRITE_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \ ACE_Write_Guard<MUTEX> OBJ (LOCK); \ - if (OBJ.locked () == 0) return; + if (OBJ.locked () == 0) ACE_THROW_INT (EXCEPTION); // The following ACE_GUARD_THROW* macros are to be depricated soon. // -------------------- Start Depricated -------------------- |