![]() |
|
#37
|
|||
|
|||
|
w/ thread_local its a per thread map and lib is loaded/freed per thread, if that thread exits is see no problem there. OS lib ref count is the same as it was before thread was entered.
well again, this was just a c++ type safe replacement for original post, nothing more nothing less. if you want to do an uber lib loader youre free to do so ![]() if you want to optimize lookup you could as well just add an optional opaque pointer and store some infos there. e.g.: PHP Code:
|
| The Following User Says Thank You to bugficks For This Useful Post: | ||
Indigo (07-19-2019) | ||
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling any function dynamically without typedef | Succubus | Source Code | 0 | 10-21-2021 16:34 |
| WinAPI: No WM_COMMAND Message? | aldente | General Discussion | 2 | 07-05-2006 07:17 |