00:05:37  * olfoxquit (Quit: Connection closed for inactivity)
00:12:18  * grantilaquit (Quit: Leaving.)
00:28:52  * thealphanerdchanged nick to mylesborins
00:32:07  * lodlequit (Quit: Page closed)
02:05:40  * brsonquit (Quit: leaving)
02:09:59  * tunniclmquit (Ping timeout: 248 seconds)
05:34:01  * Matthew[m]quit (Read error: Connection reset by peer)
05:58:15  * Matthew[m]joined
06:06:57  * zju_xquit (Ping timeout: 246 seconds)
06:55:46  <pspi>libuv noobie here, when using uv_queue_work, how does the worker thread "signal" the main loop thread that work has completed, when the main loop thread can be in the midst of a blocking call to "select()"
06:56:49  <pspi>i understand select() wakes on activity on file descriptors, but how does worker threads fit into this?
07:43:52  * seishunjoined
08:09:24  * grantilajoined
08:12:41  * grantilaquit (Client Quit)
08:29:40  * rendarjoined
08:56:26  * seishunquit (Ping timeout: 245 seconds)
09:12:32  <txdv>pspi: you create a pipe
09:12:45  <txdv>you listen on input from the "select()"
09:12:52  <txdv>and then you can write from whatever you want to that pipe
09:48:59  <pspi>and when uv_queue_work contract states "once work has completed callback will be called on the loop thread", i understand that i don't specifically have to create any pipes for this to work, so i'm assuming it uses pipes internally to make this happen
09:56:53  <pspi>reading more source code, looks like uv_async_send handles the callback, so my question is better formed:
09:57:04  <pspi>how does uv_async_send wake up the the main event loop thread when it can be in the midst of a blocking select()?
09:59:51  <txdv>because the select listens on the pipes fd?
11:25:09  * mylesborinsquit (Quit: farewell for now)
11:25:39  * thealphanerdjoined
13:13:04  * zju3joined
13:33:35  * zju_25joined
13:34:42  * zju3quit (Ping timeout: 258 seconds)
14:35:28  * tellnesquit (Ping timeout: 245 seconds)
14:59:23  * tellnesjoined
16:08:29  * zju3joined
16:10:15  * Fishrock123joined
16:12:05  * zju_25quit (Ping timeout: 248 seconds)
16:28:19  * seishunjoined
16:34:21  * zju_25joined
16:35:33  * zju3quit (Ping timeout: 248 seconds)
16:40:55  * zju_xjoined
16:42:44  * brsonjoined
16:46:15  * zju_x1joined
16:46:44  * zju_xquit (Ping timeout: 246 seconds)
16:56:13  <kellabyte>the uv_listen() function takes a uv_stream_t* which has a .data field, if I set that, I should get it back in the callback right?
16:58:54  <txdv>kellabyte: https://github.com/libuv/libuv/blob/v1.x/include/uv.h#L406
16:59:02  <txdv>that field is in every handle
16:59:20  <txdv>If you have access in the callback to the handle, which you have in all the callbacks, then you have access to the data field
16:59:54  <kellabyte>ah ok thanks!
17:11:12  * grantilajoined
18:08:33  * thealphanerdchanged nick to mylesborins
18:26:05  * zju_xjoined
18:26:08  * zju3joined
18:28:05  * zju_25quit (Ping timeout: 248 seconds)
18:28:19  * zju_x1quit (Ping timeout: 272 seconds)
18:31:53  * zju_25joined
18:32:21  * zju_x1joined
18:32:26  * zju_xquit (Ping timeout: 246 seconds)
18:32:53  * zju3quit (Ping timeout: 248 seconds)
18:48:23  * zju_x1quit (Ping timeout: 256 seconds)
18:48:27  * zju_xjoined
18:48:31  * zju_25quit (Ping timeout: 245 seconds)
18:48:40  * zju3joined
19:15:50  * rendarquit (Ping timeout: 246 seconds)
19:16:15  * zju_25joined
19:16:21  * zju_x1joined
19:18:14  * zju_xquit (Ping timeout: 248 seconds)
19:18:21  * zju3quit (Ping timeout: 272 seconds)
19:36:04  * txdvquit (*.net *.split)
19:36:05  * cremesquit (*.net *.split)
19:36:05  * brett19quit (*.net *.split)
19:36:06  * hayesquit (*.net *.split)
19:36:06  * xer0x_quit (*.net *.split)
19:36:06  * paulfryzelquit (*.net *.split)
19:36:06  * tarruda_quit (*.net *.split)
19:36:06  * robertkowalskiquit (*.net *.split)
19:36:06  * julianduquequit (*.net *.split)
19:36:14  * julianduquejoined
19:36:15  * robertkowalskijoined
19:36:15  * brett19joined
19:36:18  * hayesjoined
19:36:21  * txdvjoined
19:36:21  * paulfryzeljoined
19:36:28  * xer0xjoined
19:36:31  * robertkowalskiquit (Changing host)
19:36:31  * robertkowalskijoined
19:36:43  * tarruda_joined
19:45:53  * rendarjoined
20:10:55  * cremesjoined
20:41:47  * tunniclmjoined
23:02:56  * grantilaquit (Quit: Leaving.)
23:15:11  * seishunquit (Ping timeout: 245 seconds)
23:38:46  * Fishrock123quit (Read error: Connection reset by peer)
23:39:38  * Fishrock123joined