[SERVER-33572] Provide a bounded, interruptible, thread safe, producer consumer queue Created: 01/Mar/18  Updated: 29/Oct/23  Resolved: 08/Mar/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.4.14, 3.6.4, 3.7.3

Type: Improvement Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-33760 Backport WithLock to 3.4 Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6, v3.4
Sprint: Platforms 2018-03-12
Participants:

 Description   

Providing a bounded, interruptible, thread safe, producer consumer queue, should allow us to be more explicit with our queueing in the server.



 Comments   
Comment by Githook User [ 08/Mar/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-33572 Add ProducerConsumerQueue to util

Add a bounded, interruptible, thread safe, single producer,
multi-consumer queue to the utility directory.

(cherry picked from commit 6cfa204de9fe5a5c0f93c0ba2e0fc8f19d307b78)

HEAVILY UPDATED FOR C++11 SUPPORT
Branch: v3.4
https://github.com/mongodb/mongo/commit/64bbe539d70881b6f72cc7d8714432c532756e5a

Comment by Githook User [ 08/Mar/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-33572 Add ProducerConsumerQueue to util

Add a bounded, interruptible, thread safe, single producer,
multi-consumer queue to the utility directory.

(cherry picked from commit 6cfa204de9fe5a5c0f93c0ba2e0fc8f19d307b78)
Branch: v3.6
https://github.com/mongodb/mongo/commit/27463d85a93a327656a611fd984dc21b045f7eca

Comment by Githook User [ 08/Mar/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-33572 Add ProducerConsumerQueue to util

Add a bounded, interruptible, thread safe, single producer,
multi-consumer queue to the utility directory.
Branch: master
https://github.com/mongodb/mongo/commit/6cfa204de9fe5a5c0f93c0ba2e0fc8f19d307b78

Generated at Thu Feb 08 04:33:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.