Html doc fixes
This commit is contained in:
parent
fea1bbb188
commit
3b859ab539
4 changed files with 11 additions and 9 deletions
|
|
@ -495,8 +495,10 @@ the C++ object when the Go object is freed. It is strongly recommended to read
|
|||
the <a href="https://golang.org/pkg/runtime/#SetFinalizer">runtime.SetFinalizer
|
||||
</a> documentation before using this technique to understand the
|
||||
<tt>runtime.SetFinalizer</tt> limitations.<br>
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
Common pitfalls with <tt>runtime.SetFinalizer</tt> are:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
If a hierarchy of C++ objects will be automatically freed by Go finalizers then
|
||||
|
|
@ -514,7 +516,6 @@ The Go finalizer function typically runs in a different OS thread which can be
|
|||
problematic with C++ code that uses thread-local storage.
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<tt>runtime.SetFinalizer</tt> Example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue