Commit Graph

10 Commits

Author SHA1 Message Date
Avi Kivity
7f8d88371a Add LICENSE, NOTICE, and copyright headers to all source files.
The two files imported from the OSv project retain their original licenses.
2015-02-19 16:52:34 +02:00
Gleb Natapov
b958a44304 smp: create seastar threads using DPDK when compiled with DPDK support
DPDK initialization creates its own threads and assumes that application
uses them, otherwise things do not work correctly (rte_lcore_id()
returns incorrect value for instance). This patch uses DPDK threads to
run seastar main loop making DPDK APIs work as expected.
2014-12-18 14:43:37 +02:00
Avi Kivity
d222ea6ceb util: add defer(), a function that defers work until the end of scope 2014-11-18 10:27:51 +02:00
Tomasz Grabiec
3de4680e56 function_input_iterator: fix postfix operator++ 2014-10-30 19:51:21 +02:00
Avi Kivity
5a6771ee33 Drop eclipse workaround for reference qualified member functions
Latest eclipse understands it.
2014-10-19 17:42:47 +03:00
Avi Kivity
d63489d6b8 util: add transform_iterator
Like boost's - an iterator that applies a function to the result
of an underlying iterator.  Unlike boost, it supports using lambdas
for the function.
2014-10-15 17:16:55 +03:00
Avi Kivity
4c64750f76 util: add function_input_iterator
Like boost's template of the same name, but works with lambdas.
2014-10-15 16:57:18 +03:00
Avi Kivity
cca41658aa util: add conversions library
At this time, support parsing a memory size (e.g "2T" == 2 << 40).
2014-10-12 16:34:16 +03:00
Avi Kivity
6f86186e6d eclipse: support for lvalue references 2014-09-08 21:22:51 +03:00
Avi Kivity
6f22345cf0 Add eclipse.hh to hide Eclipse CDT parsing errors 2014-09-04 10:42:01 +03:00