Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274599 Details for
Bug 368685
nlopt: some optimizers are not thread-save because of static variables
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch adding TREADLOCAL specifier
nlopt-2.2.1-threadlocal.patch (text/plain), 535 bytes, created by
Gert Wollny
on 2011-05-25 12:16:42 UTC
(
hide
)
Description:
Patch adding TREADLOCAL specifier
Filename:
MIME Type:
Creator:
Gert Wollny
Created:
2011-05-25 12:16:42 UTC
Size:
535 bytes
patch
obsolete
>--- nlopt-2.2.1/luksan/pssubs.c 2010-08-13 19:27:38.000000000 +0200 >+++ nlopt-2.2.1.new/luksan/pssubs.c 2011-05-24 17:05:24.840000247 +0200 >@@ -283,10 +283,10 @@ > > /* Local variables */ > unsigned l1, l2, l3, m1, l5, m2, l7, m3; >- static double fl, fu, pl, rl, pu, ru; >- static int mes1, mes2, mes3, mode; >+ static THREADLOCAL double fl, fu, pl, rl, pu, ru; >+ static THREADLOCAL int mes1, mes2, mes3, mode; > int merr; >- static int mtyp; >+ static THREADLOCAL int mtyp; > int init1; > double rtemp; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 368685
: 274599