- 授权协议: Apache
- 开发语言: Lua
- 操作系统: Linux
- 软件首页: https://github.com/Hevienz/lua-epoll
- 软件文档: https://github.com/Hevienz/lua-epoll
软件介绍
Lua的epoll模块
更多细节,请查看sample.lua
API:
ok,err=epoll.setnonblocking(fd)
设置一个文件描述符非阻塞。
epfd,err=epoll.create()
创建一个 epoll 文件描述符。
ok,err=epoll.register(epfd,fd,eventmask)
把目标文件描述符 fd 注册到由 epfd 引用的 epoll 实例上并把相应的事件 event 与内部的 fd 相链接。
ok,err=epoll.modify(epfd,fd,eventmask)
更改目标文件描述符 fd 相关联的事件 event。
ok,err=epoll.unregister(epfd,fd)
从由 epfd 引用的 epoll 实例中删除目标文件描述符 fd。
events,err=epoll.wait(epfd,timeout,max_events)
在一个 epoll 文件描述符上等待 I/O 事件。
ok,err=epoll.close(epfd)
关闭一个 epoll 文件描述符。
ActionScript 3.0 Cookbook
Joey Lott、Darron Schall、Keith Peters / Adobe Dev Library / 2006-10-11 / GBP 28.50
Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia offered the first method for building web pages with the responsiveness and functionality of desktop programs......一起来看看 《ActionScript 3.0 Cookbook》 这本书的介绍吧!
