Bug #542

tpgetrply for same thread multiple active call descriptors might drop call descriptor if reading the reply for different active all descriptor

Added by Madars over 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:04/25/2020
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

Currently there is limitation for tpgetrply().

If doing this way:

cd1=tpacall(..);
cd2=tpacall(..);
cd3=tpacall(..);

tpgetrply(cd2,...); // here if answer for cd1 is returned first, the message is being dropped
tpgetrply(cd3,...);
tpgetrply(cd1,...);

Instead the message shall be enqueued and read later from queue is asking for cd1 descriptor.

In the same way tpcancel() shall delete any enqueued messages if not proccessed.

History

#2 Updated by Madars over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#3 Updated by Madars about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF