[Unbound-users] Using libunbound from other languages

Miek Gieben 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....

- Grtz,

 ---
   Miek Gieben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20130722/fff679dd/attachment.bin>


More information about the Unbound-users mailing list