Re: [eigen] Help on solving a race condition |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Help on solving a race condition
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Thu, 14 Jun 2012 14:19:32 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5kA5sm3MlZazcE//5tzkZYE2veea04lxTF0B4Ld6+7Y=; b=FqLF3tCkLFa+9bVX2oJW8EjS5+NY8hBzGD6+AsEQGDexHfxAECuFCOdv0TuLXGK5PR H1h2DXHQRNLAL15jjPSJZ2cCCLwoHbSeFnv6ls9EioMk3aVazc26Nb8O34+7zvtA8yM0 Qq9yBYm/29EgzRfIsg0ZyWSdo50qUweyMK1AJ6dBG1pIItXVza2n1vmxmNsRZgYadiwo errtzmna703N4SNPPkwiVZBvyOXgKRiOzTLpssBMGMUIDhnLcSSDMCY4a9MlJPFGTddA iigflgs/Y+CaYdVOJfEZEpwxYC7peeeyK2H9nrU4JKDf9sZqeYL+cSrthuTEMeL5zq9i WmZg==
Hi all,
I attached a patch on the associated bug report that adds an
initParallel() function which must be called at the initialization
time of a multi-threaded application calling Eigen from multiple
threads:
http://eigen.tuxfamily.org/bz/show_bug.cgi?id=466
I know this is not an ideal solution, but at least this will allow to
release 3.1 safely.
I'll commit this patch right now such that I can run the unit tests on
various servers (I still want to release the RC tonight), but feel
free to comment.
best,
Gael.