On Tue, Nov 30, 2010 at 10:20:52PM +0000, Garth N. Wells wrote: > We have a thread-safe problem in GenericFunction with the member object > > mutable Data data; > > Any ideas on how to get rid of it? We really should pass data > through the function interfaces, but we're constrained in this case > by the UFC interface. > > Garth
Is it possible to have a pool of Data objects and have each thread select the proper one: data[thread_id] -- Anders _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

