KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How does one call Go code in C from threads that weren't created by Go? What do I assign to a C function pointer such that threads not created by Go can call that pointer and enter into Go code? Update0 I don't want to use SWIG. The callbacks will be coming from threads Go hasn't seen before. Neither cgo/life nor anything in pkg/runtime demonstrates this behaviour AFAICT.
Tags (comma-separated)
Save Edits
Cancel