Feature #463

System V queue interface optimizations

Added by Madars over 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:10/19/2019
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

To avoid un-needed notifications to time-out monitor thread via pipe,
for each queue descriptor we shall keep the hash list of the message submitted in the pipe.

Thus before main thread sends request for timeout, check the hash list, if have entry, then update.
If no entry is found, add one and then add tout request to hash list and send notification via pipe.

The hash list must be synchronized.

History

#1 Updated by Madars over 4 years ago

The other option would be that aux thread scans for timeouts once in a second and internal pipe is not used for sending infos to aux thread. And use internal pipe only when main thread requires has file descriptors which requires to be rearmed.

#2 Updated by Madars almost 4 years ago

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

7.1+

#3 Updated by Madars over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF