wrk icon indicating copy to clipboard operation
wrk copied to clipboard

How to share data between threads

Open littleningmeng opened this issue 3 years ago • 0 comments

I need to load local resource data in setup function and share the data between all threads.
Currently global setup and threads' setup use different lua_State. Is it possible to share data with a simple way ?

littleningmeng avatar Apr 18 '21 11:04 littleningmeng