00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:05:29  * avalanche123joined
00:27:34  * Ralithquit (Ping timeout: 255 seconds)
00:30:49  * qardquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:31:31  * qardjoined
00:31:33  * qardquit (Client Quit)
00:43:09  * dignifiedquirequit (Quit: dignifiedquire)
00:55:38  * Ralithjoined
01:25:58  * Fishrock123quit (Quit: Leaving...)
01:29:45  * jgiquit (Quit: jgi)
02:25:51  * avalanche123quit (Remote host closed the connection)
02:25:57  * avalanche123joined
02:42:05  * avalanche123quit (Remote host closed the connection)
02:44:28  * Damn3dquit (Ping timeout: 250 seconds)
02:47:42  * Damn3djoined
02:59:30  * stagasjoined
03:32:30  * avalanche123joined
03:39:02  * stagasquit (Quit: Konversation terminated!)
03:39:12  * stagasjoined
03:55:31  * stagasquit (Ping timeout: 240 seconds)
03:56:44  * inolenquit (Ping timeout: 256 seconds)
04:45:41  * bturkerjoined
04:53:57  * rmgquit (Remote host closed the connection)
05:13:07  * toothrotquit (Ping timeout: 240 seconds)
05:42:03  * LeftWingquit (Remote host closed the connection)
05:42:09  * bturkerquit (Ping timeout: 265 seconds)
05:42:10  * LeftWingjoined
05:42:34  * saapasquit (Ping timeout: 255 seconds)
05:43:22  * saapasjoined
05:49:56  * inolenjoined
05:54:32  * rmgjoined
05:59:07  * rmgquit (Ping timeout: 240 seconds)
05:59:37  * jgijoined
06:00:09  * bturkerjoined
06:18:53  * bturkerquit (Ping timeout: 265 seconds)
06:23:30  * Damn3dquit (Ping timeout: 256 seconds)
06:27:26  * Damn3djoined
06:32:21  * jgiquit (Quit: jgi)
07:06:50  * SergeiRNDjoined
07:14:55  * etnbrdjoined
07:15:01  * etnbrdchanged nick to etnbrd_
07:25:57  * rendarjoined
07:36:18  * roxlujoined
07:42:31  * j0hnsm1thjoined
07:50:07  * etnbrdjoined
07:50:16  * etnbrd_quit (Quit: etnbrd_)
07:51:41  * etnbrdquit (Client Quit)
08:26:38  * bturkerjoined
08:29:33  * dignifiedquirejoined
08:31:19  * bturkerquit (Ping timeout: 265 seconds)
08:41:57  * inolenquit (Quit: Leaving.)
08:53:16  * seishunjoined
09:15:01  * bturkerjoined
09:19:39  * bturkerquit (Ping timeout: 265 seconds)
09:27:47  * stagasjoined
09:57:58  * stagasquit (Ping timeout: 252 seconds)
10:17:01  * saghul_joined
10:18:39  * saghul_quit (Client Quit)
10:30:58  * jasnelljoined
11:02:06  * dignifiedquirequit (Quit: dignifiedquire)
11:02:56  * dignifiedquirejoined
11:04:11  * jasnellquit (Remote host closed the connection)
11:13:48  * rendarquit (Read error: Connection reset by peer)
11:24:02  * rendarjoined
11:24:07  * stagasjoined
11:24:24  * AlexisMochaquit (Ping timeout: 256 seconds)
11:26:26  * bturkerjoined
11:31:36  * bturkerquit (Ping timeout: 265 seconds)
11:31:40  * stagasquit (Ping timeout: 240 seconds)
11:41:05  * bturkerjoined
11:46:06  * bturkerquit (Ping timeout: 265 seconds)
11:56:47  * bturkerjoined
12:01:34  * bturkerquit (Ping timeout: 265 seconds)
12:26:41  * jasnelljoined
12:27:49  * SergeiRNDquit (Quit: Leaving.)
12:28:17  * jasnellquit (Read error: Connection reset by peer)
12:28:45  * jasnelljoined
12:39:07  * etnbrdjoined
12:43:08  * joaocgreisjoined
13:22:50  * danielijoined
13:31:55  * jasnellquit (Remote host closed the connection)
13:57:44  * rmgjoined
14:02:40  * orangemochajoined
14:02:57  * rmgquit (Ping timeout: 272 seconds)
14:21:12  * alexforsterjoined
14:23:52  * bturkerjoined
14:28:30  * bturkerquit (Ping timeout: 265 seconds)
14:33:00  * jasnelljoined
14:50:08  * evanluca_joined
15:03:14  * jasnellquit (Ping timeout: 246 seconds)
15:09:34  * bturkerjoined
15:47:51  * rmgjoined
16:04:01  * jgijoined
16:06:05  * inolenjoined
16:06:05  * jasnelljoined
16:07:06  * bturkerquit (Ping timeout: 265 seconds)
16:11:05  * jasnellquit (Remote host closed the connection)
16:14:15  * davijoined
16:15:57  * jasnelljoined
16:19:11  * Ralithquit (Ping timeout: 265 seconds)
16:30:07  * jasnellquit (Ping timeout: 255 seconds)
16:36:20  * dap_joined
16:36:53  * SergeiRNDjoined
16:39:37  * bturkerjoined
16:40:41  * jasnelljoined
16:53:33  * avalanche123quit (Remote host closed the connection)
16:53:39  * avalanche123joined
17:01:57  * edwin_liujoined
17:04:48  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:09:00  * daviquit (Ping timeout: 240 seconds)
17:14:57  * joaocgreisquit (Remote host closed the connection)
17:19:32  * etnbrdquit (Quit: etnbrd)
17:19:49  * SergeiRNDquit (Quit: Leaving.)
17:21:42  * qardjoined
17:26:18  * WalrusPonyquit (Read error: Connection reset by peer)
17:26:43  * WalrusPonyjoined
17:34:00  * avalanche123quit
17:34:56  * avalanche123joined
17:35:22  * edwin_liuquit (Remote host closed the connection)
17:35:30  * jgiquit (Quit: jgi)
17:37:10  * jgijoined
17:38:52  * edwin_liujoined
17:40:42  * Ralithjoined
17:41:16  <edwin_liu>question about libuv , if I want to run multiple tasks within a same loop, how do I know if the task ended?
17:43:20  * roxlujoined
17:43:36  * jasnellquit (Remote host closed the connection)
17:48:41  * evanluca_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:58:48  <jwilm>edwin_liu: tasks?
17:59:58  <edwin_liu>yes, for example , one is timer task , and another is http server
18:00:23  <edwin_liu>or one task contains timer task and also http server
18:01:46  <edwin_liu>or there is a complex task
18:03:53  <jwilm>edwin_liu: I see, you want to know when the loop is done doing work?
18:04:26  <edwin_liu>hmm... I want to know when the task finish his work
18:04:41  <jwilm>edwin_liu: you can pass a callback to the timers
18:04:46  <edwin_liu>if it is finished , I need to delete the task
18:05:27  <jwilm>edwin_liu: you have to decide what finished means
18:06:09  <jwilm>If you're using uv_queue_work for the server, that is typically when the after_work_cb runs
18:07:24  <edwin_liu>hmm...
18:09:26  * davijoined
18:09:56  <edwin_liu>uv_queue_work has relationship with thread
18:13:27  <edwin_liu>hmm... think there is one brower with one thread , and I can open multiple tab (multiple websites), for each tab I want to know if the website finished loaded
18:13:42  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
18:14:09  <edwin_liu>I can not use uv_loop_alive , since that it is for one browser
18:14:26  <jwilm>edwin_liu: You could add an async handle to the loop before loading and then notify from tab once it's ready
18:15:15  <edwin_liu>but async is for thread to thread
18:15:34  <edwin_liu>hmm... there is only one thread
18:17:35  <edwin_liu>I also thought another solution , tried to use multiple loop within one thread , but when I use I find that cpu useage up to 100%
18:18:18  <jwilm>If there's only one thread, then it sounds like your task is synchronous. "Done" would be defined by the tab creation function returning.
18:18:34  * bturkerquit (Ping timeout: 265 seconds)
18:20:22  * bturkerjoined
18:20:50  <edwin_liu>If I use multiple loop within one thread , my code maybe like this:while (uv_run(loop1, UV_RUN_NOWAIT) || uv_run(loop2, UV_RUN_NOWAIT) || uv_run(loop3, UV_RUN_NOWAIT));
18:21:40  <edwin_liu>If I use multiple loops , I can control the task
18:21:59  <edwin_liu>but if I use one loop with multiple tasks ,I can not control the task
18:23:02  <edwin_liu>if I use one thread , it is also "async" , for example , asynchttprequest , js timer
18:24:16  <jwilm>edwin_liu: Given what you've explained, it seems like you should just have a single loop
18:24:32  <jwilm>edwin_liu: the http request should use an async handle to notify the loop when it's done
18:24:49  <jwilm>edwin_liu: the timer will notify you as long as you are running the loop
18:27:48  * daviquit (Ping timeout: 246 seconds)
18:30:41  <edwin_liu>hmm... let me think about my question again ,
18:30:52  <edwin_liu>hope that I can find a good solution
18:37:24  * kevinsimperjoined
18:43:08  * jasnelljoined
18:48:03  * jasnellquit (Ping timeout: 265 seconds)
19:04:22  * jgiquit (Quit: jgi)
19:04:48  * jgijoined
19:05:50  * jgiquit (Client Quit)
19:10:26  * roxlujoined
19:13:43  * evanluca_joined
19:17:02  * qard_joined
19:17:04  * qardquit (Ping timeout: 244 seconds)
19:18:28  * edwin_liuquit (Remote host closed the connection)
19:28:05  * kevinsimperquit (Remote host closed the connection)
19:28:07  * rendarquit (Ping timeout: 240 seconds)
19:34:35  * rendarjoined
19:44:14  * inolenquit (Quit: Leaving.)
19:44:17  * jasnelljoined
19:46:43  * avalanche123quit (Remote host closed the connection)
19:47:09  * avalanche123joined
19:48:35  * jasnellquit (Ping timeout: 244 seconds)
19:50:49  * avalanch_joined
19:51:43  * avalanche123quit (Ping timeout: 255 seconds)
19:55:29  * evanluc__joined
19:59:15  * evanluca_quit (Ping timeout: 260 seconds)
20:10:06  * inolenjoined
20:23:01  * jgijoined
20:23:20  * dignifiedquirequit (Quit: dignifiedquire)
20:24:24  * dignifiedquirejoined
20:32:27  * jhamhaderjoined
20:32:27  * bturkerquit (Ping timeout: 265 seconds)
20:37:57  * tunniclmjoined
20:49:26  * danieliquit (Quit: *does an epic backflip into nowhere*)
20:51:54  * jgiquit (Quit: jgi)
20:53:27  * jgijoined
21:04:48  * danielijoined
21:06:13  * bturkerjoined
21:07:11  * seishunquit (Ping timeout: 250 seconds)
21:11:07  * bturkerquit (Ping timeout: 265 seconds)
21:13:51  * isaacs_changed nick to isaacs
21:14:10  * rendarquit
21:34:56  * bturkerjoined
21:37:51  * evanluc__quit (Quit: Textual IRC Client: www.textualapp.com)
21:47:40  * toothrotjoined
22:06:44  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
22:07:00  * inolenquit (Ping timeout: 256 seconds)
22:07:20  * alexforsterquit
22:16:54  * jhamhaderquit (Quit: leaving)
22:26:46  * dignifiedquirequit (Quit: dignifiedquire)
22:37:40  * toothrotquit (Ping timeout: 240 seconds)
22:47:50  * saapasquit (Ping timeout: 250 seconds)
22:48:24  * saapasjoined
23:00:30  * toothrotjoined
23:19:28  * saapasquit (Ping timeout: 250 seconds)
23:19:56  * saapasjoined
23:35:30  * qard_quit (Ping timeout: 250 seconds)
23:56:20  * inolenjoined