FusionDale
来源:互联网 发布:域名dns服务器设置 编辑:程序博客网 时间:2024/06/05 00:13
FusionDale is applied Fusion and will be a collection of different services for use by applications and other libraries.
There's a component manager(Coma) which allows any process to create a component - identified by only a string at the moment - and provide methods and notifications. Other processes can get acess to the component and call methods or listen to notifications. Multiple component managers can exist with each one identified globally by a string.
You have the ability to create 'thread lcoal shared memory' and reuse it to avoid alloc/free for every RPC call with data not already in shared memory. Allocation will happen on first call or if the buffer needs to be extended, but there's a method to free it in case a big allocation has been done or just for cleanup.
Be aware that only method calls are synchronous. Notifications are sent out and execution returns to the sender immediately. Component implements can register a callback being called when there's no more recipient for a notification that was sent, e.g. to free the shared data associated with the notification.
FusionDale also contains a messaging API for notifications and data distribution using shared memory with lifecycle management. The attached data is freed after all recipients have processed the message, or existed, or died. Not that this functionality is not as efficient as the rest of FusionDale - some relevant improvements in Fusion are required here.
- FusionDale
- 第一章Linux内核简介
- JavaScript 对象方法 类方法 原型方法的区别;私有属性 公有属性 公有静态属性的区别
- Struts2的自动类型转换及自定义类型转换
- Answer to Chapter 5 of O'Reilly Learning Sql on SQL Server 2005
- IE6和IE7下根Canvas的KeyDown事件都不能被方向键触发
- FusionDale
- Java培训笔记十三(考试)
- 循环缓冲区的一点笔记
- Android 用命令进入flash模式
- FusionSound
- printf 函数中处理参数的核心函数
- JavaScript时钟
- fckeditor_2.6.6 文件上传绝对路径的设置(每用户独立目录)
- 初次见面