Ticket #7783: fix_comment_typo.patch

File fix_comment_typo.patch, 1.3 KB (added by oss.2012.team+F2@…, 10 years ago)

Patch for libs/lockfree/doc/lockfree.qbk

  • libs/lockfree/doc/lockfree.qbk

     
    7575
    7676When discussing the performance of non-blocking data structures, one has to distinguish between *amortized* and
    7777*worst-case* costs. The definition of 'lock-free' and 'wait-free' only mention the upper bound of an operation. Therefore
    78 lock-free data structures are not necesarily the best choice for every use case. In order to maximise the throughput of an
     78lock-free data structures are not necessarily the best choice for every use case. In order to maximise the throughput of an
    7979application one should consider high-performance concurrent data structures [footnote
    8080[@http://threadingbuildingblocks.org/ Intel's Thread Building Blocks library] provides many efficient concurrent data structures,
    8181which are not necessarily lock-free.].
     
    161161
    162162[h2 Queue]
    163163
    164 The [classref boost::lockfree::queue boost::lockfree::queue] class implements a multi-writer/multi-reader queue queue. The
     164The [classref boost::lockfree::queue boost::lockfree::queue] class implements a multi-writer/multi-reader queue. The
    165165following example shows how integer values are produced and consumed by 4 threads each:
    166166
    167167[import ../examples/queue.cpp]