兰铃

Results 34 comments of 兰铃

我也想知道这个placeholder怎么改

这是我 `gitalk.js` 里的内容,敢问改哪里@GaisaiYuno ```javascript /* global hexo */ 'use strict'; const path = require('path'); // Add comment hexo.extend.filter.register('theme_inject', injects => { let theme = hexo.theme.config; if (!theme.gitalk.enable) return; injects.comment.raw('gitalk', '',...

@booxood 不太强烈,虽然可以忍受,但能改最好。

If I add thread-sleep, the results will be 6. ```cpp void push(const int& index) { std::this_thread::sleep_for(std::chrono::milliseconds(2000)); for (auto& i : v1[index]) { std::lock_guard m{mtx}; q.push(i); } } ``` Is there...

when `pool.shutdown()` was runned, I found that `m_queue.size()` isn't equal to zero. How to fix it up? I'll try to fix it.

I wrote an inelegant solution. When the thread pool is closed, the task queue is checked to see if there are any tasks left. If so, execution continues. ```cpp void...

OK, I think this plan is better. I will send pull request, Thank you for writing such good code that I can use in my application program. ```cpp void operator()()...

楼主,问一下:你浏览器的标题栏怎么做到的,就是 啊,页面崩溃啦,咦,又好了。