Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 08:27:10 am
Xith3D CommunityXith3D InternalsDeveloper discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)Making vecmath2 thread safe?
Pages: 1 [2]
Print
Author Topic: Making vecmath2 thread safe?  (Read 3198 times)
LeoMaheo
Just dropped in

Offline Offline

Posts: 22


View Profile
« Reply #15 on: 30. September 2008, 07:00:44 pm »

I have moved the double-implementations into the vecmath2 package and implemented the ThreadLocal support. Please check, if it is as you wanted it.

Yes, everything seems fine. I think I verified that all POOL:s use ThreadLocal; the below search query returns no rows Smiley (so no non-ThreadLocal pool usage then).

find src/org/openmali/vecmath2/ | xargs grep POOL | egrep -v '\.svn/|java: *//private|POOL.get|ThreadLocal.*POOL ='

Thanks for your effort.

(Oops, I had automatic notifications turned off -- that's why I didn't notice your reply until now. Now I've turned them on Smiley  )
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic