Skip to content

Commit

Permalink
Fix a typo in ABI_Dev_Notes.md (#17832)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoshisuki authored Oct 9, 2023
1 parent 60f19ab commit ba72bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ABI_Dev_Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Global variables may get constructed or destructed inside "DllMain". There are s
## Thread Local variables
Onnxruntime must support explicit linking, where the operating system loads the DLL on demand at runtime, instead of process startup time. This is required by our language bindings like C#/Java.

However, there are some special restrictions on this, If a thread local variable need non-trivial construction, for the threads already exist before onnxruntime.dll is loaded, the variable won't get initialized correctly. So it's better to only access such variables from onnxruntime internal threads, or make these variables function local (Like the magic statics).
However, there are some special restrictions on this. If a thread local variable need non-trivial construction, for the threads already exist before onnxruntime.dll is loaded, the variable won't get initialized correctly. So it's better to only access such variables from onnxruntime internal threads, or make these variables function local (Like the magic statics).


## No undefined symbols
Expand Down

0 comments on commit ba72bb6

Please sign in to comment.