cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Locking and multi on multiple connections.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 8 Dec 2010 12:20:49 -0800

On Wed, Dec 08, 2010 at 08:43:40PM +0200, Michael Menegakis wrote:
> I notice an app I'm developing goes fine in terms of locking if
> requests are being done at least 0.5-1 sec apart. However, if 2 or 3
> are done simultaneously there's high probability of a short lock. This
> is important in that app since it's a game.

What locks are you talking about here? libcurl doesn't use any locks by
default (except when using NSS), and in a single-threaded application
you don't need to install things like OpenSSL or share locks.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-08