Opened 7 years ago

#11730 new Patches

Extend interprocess::message_queue to be lazy initializable

Reported by: Lingxi Li <lilingxi.cs@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.59.0 Severity: Optimization
Keywords: lazy initialization Cc:

Description

Both shared_memory_object and mapped_region support lazy initialization, so I think message_queue should support it also. Specifically, the following methods are added to message_queue_t: 1) Default constructor 2) Move constructor/assignment operator 3) swap() 4) is_open() (naming convention follows std::basic_filebuf::is_open()) Submitted as a pull request on GitHub: https://github.com/boostorg/interprocess/pull/20

Change History (0)

Note: See TracTickets for help on using tickets.