Opened 10 years ago

Last modified 10 years ago

#7811 new Bugs

interprocess/synchronization_mechanisms.html message_queue example bug

Reported by: sarum9in@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.52.0 Severity: Cosmetic
Keywords: Cc:

Description

http://www.boost.org/doc/libs/1_52_0/doc/html/interprocess/synchronization_mechanisms.html#interprocess.synchronization_mechanisms.message_queue.message_queue_example

See the second example here (after "This is the second process:"):

      //Open a message queue.
      message_queue mq
         (open_only        //only create
         ,"message_queue"  //name
         );

The first arguments of the constructor conradicts comment message. It seems that "only create" should be replaced by "only open".

Change History (1)

comment:1 by viboes, 10 years ago

Component: Documentationinterprocess
Owner: changed from Matias Capeletto to Ion Gaztañaga
Note: See TracTickets for help on using tickets.