XieHan
e9aa77bce6
update WFServer. Now WFServer::stop() operation will block till all server tasks' series end.
2021-01-15 19:48:25 +08:00
XieHan
4ecac779f5
fix writev() problem when iovcnt==0 on macOS
2020-11-20 20:22:51 +08:00
xiehan
beecf7caf4
stddef.h is required by offsetof() ( #81 )
...
* stddef.h is required by offsetof()
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-10-01 16:34:16 +00:00
xiehan
65473be586
Change some includes to forward declarations ( #57 )
...
* Make thrdpool stronger
* Fix some comments
* fix grammar
* change some include to forward declaration
* remove some typedef
* move codes
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-09-18 15:08:43 +00:00
xiehan
e831d9523b
Allow thread task to destroy thread pool. Interesting. ( #52 )
...
* Make thrdpool stronger
* Fix some comments
* fix grammar
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-09-16 18:21:29 +08:00
xiehan
5f906f3132
Update msgqueue.c
2020-09-14 19:15:27 +00:00
xiehan
7a5a818e66
Add some comments ( #46 )
...
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-09-13 16:14:52 +00:00
XieHan
7987298d75
Make code styles more consistent with poller.
2020-09-13 01:36:13 +08:00
XieHan
6d779ed259
Should broadcast writers when setting nonblock.
2020-09-13 00:43:29 +08:00
XieHan
3f6e20fc20
Change msgqueue's fields sequence.
2020-09-12 18:18:46 +08:00
XieHan
dedcfbd726
optimize msgqueue
2020-09-12 17:56:28 +08:00
XieHan
6dc99cf30d
Change poller's interface of returning result. Now we use callback.
2020-09-12 14:42:31 +08:00
XieHan
76a6fa1b7e
Change poller's interface of returning result. Now we use callback.
2020-09-12 14:39:30 +08:00
XieHan
cec4f69280
Change poller's interface of returning result. Now we use callback.
2020-09-12 14:35:17 +08:00
XieHan
1dcfd05aee
Fix bug in poller. This bug may affect files aio on macOS
2020-09-04 20:03:33 +08:00
xiehan
9c7d164262
Update Communicator.cc
2020-09-01 18:20:02 +08:00
XieHan
d2372b450b
Add 'const' to some functions' prototypes.
2020-08-26 02:39:28 +08:00
XieHan
692d272cb3
Pack a union to save some bytes.
2020-08-07 20:44:08 +08:00
xiehan
df557fa9be
Update CommScheduler.h
2020-07-30 16:04:07 +00:00
XieHan
354ff7432b
initialization
2020-07-29 13:42:26 +08:00