epoll rocks! Now I think the left bugs is in protocols' method.
authorNalaGinrut <NalaGinrut@gmail.com>
Wed, 21 Mar 2012 17:53:17 +0000 (01:53 +0800)
committerNalaGinrut <NalaGinrut@gmail.com>
Wed, 21 Mar 2012 17:53:17 +0000 (01:53 +0800)
commitff5fabe1b697583307e1f49082050425ecc90514
treebfbc86490e8300cf661109019dd7b13bae2afbf6
parent63fca662609bfe8c8f52043f36f1f6430735f270
epoll rocks! Now I think the left bugs is in protocols' method.
modified:   cee/event/rag_epoll.c
modified:   cee/event/rag_epoll.h
* FIXED: re-design the event_set struct. So there's no redundant events copy anymore which makes
         more efficient.
modified:   ragnarok/main.scm
* FIXED: The daemon eats almost 99% cpu. I added (sleep 1000) into infinite-loop, now it's OK!
modified:   ragnarok/posix.scm
* ADD: ragnarok-accept
modified:   ragnarok/server.scm
* FIXED: It causes problems when adding new request connect-socket into a write-set. So I removed it.
cee/event/rag_epoll.c
cee/event/rag_epoll.h
ragnarok/main.scm
ragnarok/posix.scm
ragnarok/server.scm