commit | 0fb516e678db1e880df9467a8cff595183d4bf7a | [log] [tgz] |
---|---|---|
author | Kenton Varda <[email protected]> | Fri Apr 29 10:38:56 2022 -0500 |
committer | Kenton Varda <[email protected]> | Fri Apr 29 14:05:49 2022 -0500 |
tree | c4c3a40ce112754579826ae90db1401198637487 | |
parent | cb4ee7591937fb859aabbc0e5984cae4462ca68d [diff] |
Fibers don't require makecontext() on Windows. This also fixes the MinGW linker errors about pthreads. It turns out async-test.c++ uses pthreads when fibers are disabled. So when the MinGW build incorrectly decided it couldn't use fibers, it then started trying to use pthreads, which we don't link against on Windows.
Cap‘n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Cap’n Proto is INFINITY TIMES faster than Protocol Buffers.