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?
Thanks in advance! -- 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/7bdec4f0-c62f-4be2-a66b-7280eae4be56n%40googlegroups.com.
