首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 演员模型C library for

演员模型C library for

  • 资源大小:328.62 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 模型 演员

资 源 简 介

About libactor is a library for C that allows a developer to easily program with the Actor Model. Right now it is usable, although it may not be ready for production. It uses pthreads and the library handles all of threading issues, so you don’t have to worry about any of it at all. In a future version I plan to add more sandboxing to the actors, so that when one actor crashes, they don’t all go down! Right now it supports the following: Spawn actor Sending messages Broadcast message Actor memory management convenience functions(when an actor dies, the memory is freed!) You can find documentation here. Installation Get a copy of the source in the downloads section. ./configure && makesudo make install Example Here is an example of two actors that just Ping/Pong each other.

文 件 列 表

libactor-0.1
aclocal.m4
AUTHORS
ChangeLog
config.guess
config.sub
configure
._configure.ac
configure.ac
._COPYING
COPYING
._depcomp
depcomp
doc
examples
INSTALL
install-sh
ltmain.sh
._Makefile.am
Makefile.am
Makefile.in
missing
._NEWS
NEWS
._README
README
src

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP