* Refactored the kernel daemon code into a class.
* Added a second kernel daemon service, resource resizer, which is mainly supposed to be used for resizing allocations asynchrounously. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,12 +6,21 @@
|
||||
#define _KERNEL_DAEMON_H
|
||||
|
||||
|
||||
#include <OS.h>
|
||||
#include <KernelExport.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
status_t register_resource_resizer(daemon_hook function, void* arg,
|
||||
int frequency);
|
||||
status_t unregister_resource_resizer(daemon_hook function, void* arg);
|
||||
|
||||
status_t kernel_daemon_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL_DAEMON_H */
|
||||
|
||||
Reference in New Issue
Block a user