summaryrefslogtreecommitdiff
path: root/src/lib/shm_rbuff_pthr.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-11-26 04:32:29 +0100
committerSander Vrijders <sander@ouroboros.rocks>2020-12-02 19:21:25 +0100
commitaef6bdb1eadf8779173145710306ea5b6d81b8ec (patch)
treea5e804050f8103669c8ea77866bf2eb84c31b79b /src/lib/shm_rbuff_pthr.c
parent632fb36765c2f485b3eb7fec9cdaba24f35e2c15 (diff)
downloadouroboros-aef6bdb1eadf8779173145710306ea5b6d81b8ec.tar.gz
ouroboros-aef6bdb1eadf8779173145710306ea5b6d81b8ec.zip
tools: Default ocbr to sleep and add --spin option
The ocbr client was spinning the CPU by default, which made sense on lab servers with dual xeons, but not so much for average users. Now sleeping becomes the default. Busy waiting can be enabled using --spin if needed. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/shm_rbuff_pthr.c')
0 files changed, 0 insertions, 0 deletions