Re: [go-nuts] cgo & long jump

2019-12-10 Thread pali
On Monday 09 December 2019 15:55:18 Ian Lance Taylor wrote: > On Mon, Dec 9, 2019 at 10:30 AM wrote: > > > > So should I interpret your answer as long jumps are not supported and > > caller of C function from Go must ensure that called C function would > > not call longjmp()? > > Correct: Go code

Re: [go-nuts] cgo & long jump

2019-12-09 Thread pali
On Monday 09 December 2019 10:18:26 Ian Lance Taylor wrote: > On Mon, Dec 9, 2019 at 8:57 AM wrote: > > > > I would like to ask some technical question about cgo and long jumps. > > > > In Go I have written shared library which exports C API and therefore > > can be called by other C applications.

[go-nuts] cgo & long jump

2019-12-09 Thread pali
Hello! I would like to ask some technical question about cgo and long jumps. In Go I have written shared library which exports C API and therefore can be called by other C applications. This my library is compiling with cgo, more precisely via: go build -buildmode=c-shared -compiler gc Now I wou