00:26:49  * brsonquit (Ping timeout: 260 seconds)
00:27:22  * brsonjoined
01:20:57  * tunniclmquit (Ping timeout: 260 seconds)
02:49:17  * Fishrock123quit (Remote host closed the connection)
05:05:28  * brsonquit (Quit: leaving)
05:26:22  * zju_xquit (Ping timeout: 240 seconds)
05:52:03  * Fishrock123joined
05:56:28  * Fishrock123quit (Ping timeout: 240 seconds)
06:38:42  * MoZu4kjoined
06:43:22  * zju_xjoined
07:00:58  * MoZu4kquit (Quit: MoZu4k)
07:05:46  * Fishrock123joined
07:06:57  * Fishrock123quit (Client Quit)
07:46:56  * saghuljoined
08:29:06  * rendarjoined
09:05:16  * xer0xquit (Ping timeout: 240 seconds)
09:06:12  * xer0xjoined
10:05:57  * rmg_quit (Ping timeout: 260 seconds)
10:09:53  * rmgjoined
10:15:20  * rmg_joined
10:16:41  * rmgquit (Ping timeout: 260 seconds)
10:58:58  * zju_xquit (Ping timeout: 260 seconds)
11:25:11  * mylesborinsquit (Quit: farewell for now)
11:25:41  * mylesborinsjoined
11:29:55  * rmg_quit (Read error: Connection reset by peer)
11:30:08  * rmgjoined
11:31:36  * bnoordhuisjoined
12:51:02  * bnoordhuisquit (Ping timeout: 240 seconds)
15:00:23  * bnoordhuisjoined
15:08:00  * cremesquit (Ping timeout: 268 seconds)
15:08:37  * cremesjoined
15:53:33  * Fishrock123joined
16:56:55  * rmgquit (Read error: Connection reset by peer)
16:57:25  * rmgjoined
17:03:01  * cremesquit (Quit: cremes)
17:15:45  * saghulquit (Ping timeout: 260 seconds)
17:23:21  * cremesjoined
17:30:46  * cremesquit (Quit: cremes)
17:32:19  * niskaquit (Quit: Leaving)
17:32:35  * cremesjoined
17:55:59  * niskajoined
19:04:56  * seishunjoined
19:06:07  <seishun>anyone who has time to explain to me how this code works? https://github.com/libuv/libuv/blob/1a96fe33343f82721ba8bc93adb5a67ddcf70ec4/src/win/pipe.c#L1392-L1428
19:07:26  <seishun>all the magic with CreateEvent, CloseHandle and REGISTER_HANDLE_REQ
19:12:35  * Jacob843quit (Remote host closed the connection)
19:13:00  * Jacob843joined
19:14:37  * tunniclmjoined
19:17:30  * Fishrock123quit (Read error: Connection reset by peer)
19:18:47  <bnoordhuis>seishun: it does a synchronous write, but i suspect you figured that out already
19:18:55  * Fishrock123joined
19:19:23  <seishun>bnoordhuis: yeah I'm trying to figure out how it eventually runs the callback
19:20:10  <bnoordhuis>seishun: REGISTER_HANDLE_REQ puts the req on a queue that's dispatched later
19:20:50  <seishun>thanks, I'll look into it
19:21:11  <seishun>are CreateEvent and CloseHandle irrelevant for this?
19:22:26  <bnoordhuis>seishun: they're just nt calls to create a handle libuv can wait (block) on
19:29:51  <seishun>bnoordhuis: and I assume it goes through pGetQueuedCompletionStatusEx?
19:39:51  <seishun>bnoordhuis: apparently it does, but how does uv_pipe_write_impl affect the subsequent result of pGetQueuedCompletionStatusEx?
19:47:01  <seishun>I'm guessing it does PostQueuedCompletionStatus somewhere, but where?
19:52:07  <seishun>it seems not
19:52:44  * seishunquit (Quit: Leaving)
19:53:14  * seishunjoined
20:16:24  * Fishrock123quit (Remote host closed the connection)
20:29:15  * rendarquit (Ping timeout: 240 seconds)
20:40:09  <seishun>https://github.com/libuv/libuv/pull/238 so this is where the POST_COMPLETION_FOR_REQ line I was looking for got removed
20:40:34  <seishun>but now if only someone could tell me where on earth it gets posted now
20:50:04  <bnoordhuis>seishun: i think WriteFile does that implicitly?
20:50:21  <seishun>yeah I guess
20:51:16  <bnoordhuis>i'll grant that the code doesn't look Obviously Correct(TM)
20:55:15  <seishun>it seems WriteFile doesn't do that implicitly under some circumstances
21:05:33  <bnoordhuis>oh?
21:06:33  <seishun>I was investigating node#11514
21:07:49  <seishun>it hangs because ppGetQueuedCompletionStatusEx never returns because no one posted the completion event
21:10:07  <seishun>and I don't see anything about it in the documentation for WriteFile
21:16:23  <bnoordhuis>orangemocha and piscisaureus are the people you want to talk to
21:16:45  <bnoordhuis>i admit to only rudimentary knowledge of src/win
21:17:09  <seishun>I'll cc them I guess
21:33:39  * rmg_joined
21:34:37  * rmgquit (Read error: Connection reset by peer)
22:09:35  * bnoordhuisquit (Quit: leaving)
22:14:27  * cremesquit (Quit: cremes)
22:42:30  * seishunquit (Ping timeout: 268 seconds)
22:56:30  * cremesjoined
23:25:08  * cremesquit (Quit: cremes)
23:26:54  * cremesjoined