commit | 9737685943fedf5796ff157306ca70aaa25750c7 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Oct 13 14:47:50 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu Oct 13 14:58:38 2016 -0700 |
tree | bb88b1f53adc0a91c198bbb1297310a5c1131f53 | |
parent | a2539fab95008bee7fc1e4651d24b6a0427b88ce [diff] |
Add/use adaptive spinning. Add spin_t and spin_{init,adaptive}(), which provide a simple abstraction for adaptive spinning. Adaptively spin during busy waits in bootstrapping and rtree node initialization.