Skip to content

Commit d49ef91

Browse files
committed
less confusing text
1 parent ea05a6e commit d49ef91

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/guides/blackboard_reference.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ then there is no guarantee that a copy of the object being shared isn't accessed
6868

6969
To prevent this issue, we provide a different API that includes a locking mechanism.
7070

71-
This is **NOT** thread-safe:
72-
73-
```cpp
74-
std::shared_ptr<Pointcloud> cloud_ptr;
75-
getInput("cloud", cloud_ptr);
76-
// modify the pointcloud referenced by cloud_ptr here
77-
```
78-
79-
The thread-safe alternative:
8071

8172
```cpp
8273
// inside this scope (as long as any_locked exists), a mutex protecting

0 commit comments

Comments
 (0)