Archive Index This month's Index

Subject: Re: About thread safety

Re: About thread safety

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 May 2008 22:12:07 +0200 (CEST)

On Wed, 21 May 2008, Eino Tuominen wrote:

> I tried to read through the docs but didn't see this one mentioned: can is
> it safe to call e.g. ares_gethostbyname() using channel initialized on
> another thread?

As long as the threads never ever use the "channel" pointer at the same time
you can pass it around as much as you want.

-- 
  / daniel.haxx.se
Received on 2008-05-21