| 37 | namespace cache |
| 38 | { |
| 39 | void |
| 40 | write(const std::string &k, std::string &&s) |
| 41 | { |
| 42 | Key key(k); |
| 43 | TSCont continuation = TSContCreate(Write::handle, nullptr); |
| 44 | assert(continuation != nullptr); |
| 45 | TSContDataSet(continuation, new Write(std::move(s))); |
| 46 | TSCacheWrite(continuation, key.key()); |
| 47 | } |
| 48 | |
| 49 | int |
| 50 | Write::handle(TSCont c, TSEvent e, void *v) |
no test coverage detected