-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DSO: Support hot-swapping, enabled with new flag
DL_HOTSWAP
.
- lib/dl_lib.c: - Extract function `DL_invoke()` from `DL_func()` - Add functions `DL_get_hotswap()` and `DL_func_hotswap` for reloading DSO libraries when `DL_HOTSWAP` is enabled. - include/dao.h: Add declaration of functions `DL_get_hotswap()` and `DL_func_hotswap`. - maple/: menu.c: `domenu()`, popupmenu.c: `do_cmd()` & xover.c: `xover()`: Do not modify the callback table when `DL_HOTSWAP` is enabled. - include/cppdef.h: Add macro `DL_HOTSWAP_SCOPE` for declaring DSO object pointers. - maple/: Do not preserve DSO function pointers when `DL_HOTSWAP` is enabled. - sample/dreambbs.conf: Add build config `DL_HOTSWAP` for enabling hot-swapping. - include/global.h: Add `MODULE_DL_HOTSWAP` for `module_flags`. - so/xyz.c: `x_siteinfo()`: Add information for hot-swapping enabling information.
- Loading branch information
1 parent
9d72e6c
commit b662e9d
Showing
13 changed files
with
80 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters