On Wed, Aug 5, 2020 at 8:01 PM Yosef Yo <[email protected]> wrote: > > In go/src/runtime/os/linux.go, function futexsleep is defined as to call > futex function of linux. runtime. futex is implemented in syscall assembly > instruction. I am currently dynamically loading a golang c-shared library as > a plugin, and I wanted to intercept the futex syscall and use my own > implementation. Can anyone give me a hint on how to intercept runtime > functions? OR is it even possible?
There is no support for this. As far as I know it is not possible. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVUYNzEvfUa46nEEQ7WvNE-zgQE%3DT6xegO%2BL0krzZn5_w%40mail.gmail.com.
