average-vr-56795
05/01/2019, 5:06 PMExterns
actually injected into each ffi function into Native
, rather than having them being global statics 🙂witty-crayon-22786
05/01/2019, 5:18 PMaverage-vr-56795
05/01/2019, 5:19 PMset_externs
once and then everything grabbing it from a global static Mutex<Externs>
, I’m going to have things like scheduler.product_request
pass around a handle to an immutable Externs
objectaverage-vr-56795
05/01/2019, 5:20 PMwitty-crayon-22786
05/01/2019, 5:21 PMwitty-crayon-22786
05/01/2019, 5:21 PMaverage-vr-56795
05/01/2019, 5:22 PMwitty-crayon-22786
05/01/2019, 5:23 PMaverage-vr-56795
05/01/2019, 5:23 PMFrom
implementations, but otherwise it’s just moving a little code around 🙂average-vr-56795
05/01/2019, 5:23 PMwitty-crayon-22786
05/01/2019, 5:23 PMaverage-vr-56795
05/01/2019, 5:24 PMwitty-crayon-22786
05/01/2019, 5:24 PMaverage-vr-56795
05/01/2019, 5:24 PMself.context
call before the logging initialisation, I figured I’d solve the root cause of the problem by just passing the required context into the functionwitty-crayon-22786
05/01/2019, 5:24 PMaverage-vr-56795
05/01/2019, 5:25 PMwitty-crayon-22786
05/01/2019, 5:25 PMwitty-crayon-22786
05/01/2019, 5:26 PMwitty-crayon-22786
05/01/2019, 5:26 PMaverage-vr-56795
05/01/2019, 5:27 PMwitty-crayon-22786
05/01/2019, 5:27 PMwitty-crayon-22786
05/01/2019, 5:28 PMwitty-crayon-22786
05/01/2019, 5:29 PMwitty-crayon-22786
05/01/2019, 5:30 PMaverage-vr-56795
05/01/2019, 5:31 PMwitty-crayon-22786
05/01/2019, 5:34 PMwitty-crayon-22786
05/01/2019, 5:34 PM