lailongwei / llbc

一个简洁、高效、跨平台、多语言支持的服务端开发框架,面向Service及Component,底层c++实现。
MIT License
103 stars 33 forks source link

【llbc】App运行时能力扩充 #224

Open lailongwei opened 9 months ago

lailongwei commented 9 months ago

App运行时能力扩充:

支持只允许启动唯一一个实例功能

通过生成<xxx>.pid文件功能来确保只生成一个实例的功能,同时也将pid文件生成标准化

tart_fin文件文件功能调整

生成一个<app>_runtime_info文件,里面详细描述这个app运行时信息,建议使用Properties格式来描述(LLBC_Property):

app.running_phase=xxx # 运行时阶段
app.pid = xxx # pid
app.others = xxx

技术细节Tips: