Hi, You can store pointers in uv_async_t.data and uv_work_t.data. Is that what you are asking?
~Jamie On Wednesday, July 11, 2018 at 3:34:25 PM UTC-4, sourevault wrote: > > Hi > > - Is there a way to send the req object in "uv_work_t req" > > - to async_cb in "uv_async_init(uv_loop_t* loop, uv_async_t* async, > uv_async_cb async_cb)" > > - async_cb recieves "uv_async_t" but I want to call a persistant function > i have saved in "uv_work_t req" when inititing the thread. > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to libuv+unsubscr...@googlegroups.com. To post to this group, send email to libuv@googlegroups.com. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.