Test a multi-threaded client of librosie
librosie
was designed to be used with pthreads
where each thread will initialize its own instance of Rosie using initialize()
.
This capability needs to be tested.
Note: Check to see if cjson
will cause a problem. Do we need to use cjson.safe
and cjson.new
?
A useful test would ensure the independence of the engines and be invokable from the command line so it can be used in the Rosie automated test suite. It should return an exit status of 0 for success, and other values for failures.