00:26:32  * Guest2462joined
00:28:09  <Guest2462>Quick question regarding timers, do they execute on the thread pool or the main thread?
00:33:07  <refack>AFAIK on the main thread
00:33:07  <refack>Everything except FS, getaddrinfo, and queue_work runs in the main thread as per http://docs.libuv.org/en/v1.x/threadpool.html
00:37:18  <refack>The "timers" themselves are a synthetic construct and are implemented just as a list of timeouts on `epoll` - http://docs.libuv.org/en/v1.x/timer.html
00:40:53  <Guest2462>Yeah I get that, I just have a bunch of callbacks running every 40 ms doing 1ms worth of work
00:41:20  <Guest2462>Without hacking the lib is there any way to get them to execute on the pool?
00:42:26  <refack>queue_work referenced in the first URL above
00:43:01  <refack>if the callback just queues a work item
00:44:24  <refack>AFAIK there's no way to run the callbacks on the pool by default, but maybe one of the seniors knows better
00:59:33  <Guest2462>it looks like it might be possible if I change handle->timer_cb(handle) in uv__run_timers to be uv_queue_work()
00:59:47  <Guest2462>though I'm not sure if this would cause any adverse effects
01:09:09  <refack>If it doesn't work, you can post a question on GitHub. Some of the other devs are more active there
01:16:35  * euoiajoined
01:20:40  * Guest2462quit (Ping timeout: 260 seconds)
02:47:47  * euoiaquit (Ping timeout: 260 seconds)
06:33:29  * rendarjoined
10:25:11  * mylesborinsquit (Quit: farewell for now)
10:25:42  * mylesborinsjoined
11:04:39  * euoiajoined
12:20:46  * euoiaquit (Ping timeout: 264 seconds)
12:31:20  * euoiajoined
13:17:21  * euoiaquit (Ping timeout: 248 seconds)
14:17:11  * euoiajoined
15:24:28  * euoiaquit (Ping timeout: 258 seconds)
15:30:57  * euoiajoined
15:50:25  * euoiaquit (Ping timeout: 248 seconds)
17:15:03  * saghuljoined
17:38:49  * saghulquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:48:09  * saghuljoined
18:16:12  * rendarquit (Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!)
22:36:29  * saghulquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:49:07  * saghuljoined
23:03:52  * saghulquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:32:59  * saghuljoined