Skip to content

Commit

Permalink
Remove reference to "copying back" for use_mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
Pennycook committed Nov 9, 2023
1 parent 5fa63b9 commit d341f85
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4949,8 +4949,9 @@ property::buffer::use_mutex
[code]#buffer# can be shared with the application via a
[code]#std::mutex# provided to the property. The mutex
[code]#m# is locked by the runtime whenever the data is in
use and unlocked otherwise. Data is copied back to
[code]#hostData# when the mutex is unlocked by the runtime.
use and unlocked otherwise. The contents of [code]#hostData# are
guaranteed to reflect the contents of the buffer when the
[code]#std::mutex# is unlocked by the runtime.

a@
[source]
Expand Down Expand Up @@ -5962,8 +5963,9 @@ property::image::use_mutex
application via a [code]#std::mutex# provided to the
property. The [code]#std::mutex# is locked by
the runtime whenever the data is in use and unlocked
otherwise. Data is copied back to [code]#hostData# when
the [code]#std::mutex# is unlocked by the runtime.
otherwise. The contents of [code]#hostData# are
guaranteed to reflect the contents of the image when the
[code]#std::mutex# is unlocked by the runtime.

a@
[source]
Expand Down

0 comments on commit d341f85

Please sign in to comment.