An Tao
An Tao
那你在callback里要做计数,搞个容器的智能指针存category的查询结果,如果是fastDbClient,都在一个线程里可以不用mutex,然后容器的大小和product数组相等的时候去渲染view;这样要读很多次db,还不如自己写个sql join一下;另外协程可以简化异步编程,也可以尝试一下。
@vedranmiletic When a patch fails the existing test, I prefer not to merge it. I think you can create a port/solaris branch on this repository (instead of on your forked...
@vedranmiletic I compiled and tested drogon on OmniOS, and I found that errors are in the trantor library. The reading and writing on a TCP connection don't work. I'll try...
@vedranmiletic I know what's wrong with trantor now. The IO multiplexer (epoll on linux and kqueue on macOS or FreeBSD) is different on solaris, the change you made just implement...
@vedranmiletic ``` commit 49c6311642f38070d34dd1a4f0408f8f41a5ebfc Merge: 4dade42 c611b9f Author: an-tao Date: Wed Dec 19 13:50:17 2018 +0800 Merge pull request #5 from an-tao/kqueue Use kqueue instead of poll in MacOS/BSD commit...
@vedranmiletic Thanks so much for resuming this PR, I have no environment of solaris OS, would you please test this PR on your Solaris host?
Did you use the latest commit of the master branch?
We made some patches to fix the crash on exit, please use the last commit or wait for the 1.7.6 release.
Did you call "app().run()" in another thread than the main thread?
Where did you call the `app().quit()` method? Would you please make a complete minimal example to reproduce this problem?