[omniORB] [bug fix for 2.7.1] Re: AIX Problems

Sai-Lai Lo S.Lo@uk.research.att.com
23 Sep 1999 13:55:13 +0100


>>>>> Helmut Swaczinna writes:

> applies this only to AIX or is this a general bug fix?

This is a general fix for 2.7.1.

Sai-Lai



> At 10:56 23.09.99 +0100, you wrote:
>> 
>> Your first problem with 2.7.1 is a known bug and has been fixed in omniORB
>> 2.8.0.
>> 
>> The problem was that NetBufferedStream::RdUnlock() and WrUnlock() shouldn't
>> call giveback_*() when the strand is already dying.
>> 
>> The fix is:
>> 
>> void
>> NetBufferedStream::RdUnlock() {
>> if (pd_RdLock) {
>> if (!strandIsDying()) giveback_received();
>> Strand_Sync::RdUnlock();
>> pd_RdLock = 0;
>> }
>> return;
>> }
>> 
>> void
>> NetBufferedStream::WrUnlock() {
>> if (pd_WrLock) {
>> if (!strandIsDying()) giveback_reserved();
>> Strand_Sync::WrUnlock();
>> pd_WrLock = 0;
>> }
>> return;
>> }
>> 
>> 





-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND