- 11 Jan, 2018 1 commit
-
-
Kenton Varda authored
@kloepper pointed out a while back that every compiler you've ever heard of supports this. Plus, it's more concise, it's not prone to copy-paste errors, and it looks nicer. At the time I wanted to remain consistent and I didn't feel like spending the time to update all my existing code. But, every time I've added a new header since I've cursed the include guard, so I finally broke down and changed it.
-
- 11 Dec, 2017 1 commit
-
-
Kenton Varda authored
timer.h takes the place of the old time.h, while time.h itself has been pared down to only non-async-related stuff. Since async-io.h includes timer.h, I suspect no one will be broken by this change. I could have instead moved the non-async parts of time.h into a new header to avoid any possibility of breakage, but time.h is the correct name for the core header, and timer.h is the correct name for the async parts (the Timer class)... so I'm risking it.
-
- 14 Nov, 2017 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
(Later, we should add a nice subprocess API around this, maybe even one that can work on Windows too...)
-
- 07 Nov, 2016 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
I prefer #ifdefing out the whole file rather than adjusting every build system.
-
- 02 Oct, 2016 1 commit
-
-
David Renshaw authored
-
- 30 Oct, 2015 1 commit
-
-
David Renshaw authored
-
- 29 Aug, 2015 1 commit
-
-
Oliver Kuckertz authored
-
- 20 Apr, 2015 1 commit
-
-
Kenton Varda authored
-
- 11 Dec, 2014 1 commit
-
-
Kenton Varda authored
-
- 09 Dec, 2014 1 commit
-
-
Kenton Varda authored
This is not currently used, but eventually we'll use this to support efficient inter-thread messaging. That said, I've decided that inter-thread messaging is complicated and I don't want to work on it right now.
-
- 06 Dec, 2014 1 commit
-
-
Kenton Varda authored
-
- 01 Dec, 2014 1 commit
-
-
Kenton Varda authored
-
- 22 Nov, 2014 1 commit
-
-
Kenton Varda authored
This prevents the compiler from reporting warnings in these headers while compiling application code. Hopefully this will stem the never-ending stream of complaints from people who enable pedantic warnings.
-
- 20 Jun, 2014 1 commit
-
-
Kenton Varda authored
For portions currently copyright by Kenton (most of it), transfer copyright to Sandstorm Development Group, Inc. (Kenton's company). The license change is practically meaningless, as MIT and BSD 2-clause are legally equivalent. However, the BSD 2-clause license is sometimes confused for its ugly siblings, BSD 3-clause and BSD 4-clause. The MIT license is more immediately recognizeable for what it is. Rémy Blank and Jason Choy (the two non-trivial contributors) are on record as approving this change: https://groups.google.com/d/msg/capnproto/xXDd2HUOCcc/gbe_COIuXKYJ
-
- 01 Apr, 2014 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
- Define separate times for durations vs. absolute times. - Make more consistent with existing precedents in KJ style.
-
- 30 Mar, 2014 1 commit
-
-
Remy Blank authored
-
- 10 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 07 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 04 Dec, 2013 1 commit
-
-
Kenton Varda authored
Overhaul the way EventLoop is specialized so that it's possible to hook up to an existing event loop infrastructure that is not KJ-aware. This also makes the async IO API more dependency-injection-friendly.
-
- 28 Nov, 2013 1 commit
-
-
Kenton Varda authored
Revamp concurrency model, part 1: EventLoop no longer allows cross-thread event queuing, simplifying many things. Capability clients are no longer thread-safe, so they don't have to be so const. In the future, explicit ways to communicate between threads will be re-added, but threads will be treated more like separate vats that just happen to have a particularly fat pipe. Upcoming: Remove mutexes.
-
- 14 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 03 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 02 Nov, 2013 1 commit
-
-
Kenton Varda authored
-