[Unbound-users] Using libunbound from other languages
miek at miek.nl
Mon Jul 22 16:43:57 UTC 2013
[ Quoting <unbound-users+phil at spodhu> in "Re: [Unbound-users] Using libunboun..." ]
> On 2013-07-22 at 10:32 +0000, Miek Gieben wrote:
> > In this case I'm talking about using libunbound in Go and the locking issues
> > that can occur with wrt to the crypto library that is used.
> > In Go you do not have control over the amount of OS threads the runtime uses.
> > Go uses goroutines and N of those routines are mapped to an OS thread at any moment
> > in time.
> For this sort of scenario, you want Go's runtime.LockOSThread().
Hmmmm, that would certainly help (and maybe hurt performance), but then I still
don't have the proper thread locking in place....
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the Unbound-users