- 授权协议: 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 文件描述符。
Two Scoops of Django
Daniel Greenfeld、Audrey M. Roy / CreateSpace Independent Publishing Platform / 2013-4-16 / USD 29.95
Two Scoops of Django: Best Practices For Django 1.5 is chock-full of material that will help you with your Django projects. We'll introduce you to various tips, tricks, patterns, code snippets, and......一起来看看 《Two Scoops of Django》 这本书的介绍吧!
XML、JSON 在线转换
在线XML、JSON转换工具
HEX HSV 转换工具
HEX HSV 互换工具
