Bug #542
tpgetrply for same thread multiple active call descriptors might drop call descriptor if reading the reply for different active all descriptor
Status: | Closed | Start date: | 04/25/2020 | |
---|---|---|---|---|
Priority: | Normal (Code 4) | Due 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
#1 Updated by Madars over 3 years ago
#2 Updated by Madars over 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
#3 Updated by Madars about 3 years ago
- Status changed from Resolved to Closed