kumquat-buildroot/package/libfastjson/Config.in
Yann E. MORIN c10b7c07a4 package/libfastjson: can use threads instead of atomics
When atomic intrisics are missing, libfastjson falls back to using
pthread mutexes to manage atomicity. Of course, this is much less
efficient than atomics, but it does the job.

Propagate the new dependency to rsyslog, the sole user of libfastjson.

Note: rsyslog already depends on threads for itself, but we believe it
is better to have the exact same dependency propagated.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 17:00:50 +02:00

17 lines
584 B
Plaintext

config BR2_PACKAGE_LIBFASTJSON
bool "libfastjson"
# uses the __sync_*_4 intrisics, or pthreads to emulate atomicity
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
help
Libfastjson - A fast json library for C
Libfastjson is a fork from json-c. The aim of this project
is not to provide a slightly modified clone of json-c.
Its aim is to provide:
- a small library with essential json handling functions
- sufficiently good json support (not 100% standards compliant)
- be very fast in processing
https://github.com/rsyslog/libfastjson/