Feature #463

System V queue interface optimizations

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

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


Target version:-


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.


#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 about 4 years ago

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


#3 Updated by Madars almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF