Fwd: Multithreaded elevation lookups

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Multithreaded elevation lookups

Potts, Garrett
Hello All:

Oscar has added multi-threaded friendly support to the elevation manager.


Take care

Garrett


Begin forwarded message:

From: "Kramer, Oscar" <[hidden email]>
To: "Potts, Garrett" <[hidden email]>, "Burken, David" <[hidden email]>, "Hicks, David" <[hidden email]>, "Bortman, Scott" <[hidden email]>
Cc: "Lucas, Mark" <[hidden email]>
Subject: Multithreaded elevation lookups
Date: February 3, 2015 at 4:08:21 PM EST

Hi guys,

This is just a quick heads-up on utilizing the new elevation code in trunk. It is now multithread-friendly, meaning different threads won't lock up waiting for a return from ElevManager::getHeightAboveEllipsoid(). However, your application needs to be multithreaded itself to take advantage of the new design.

All you need to enable the capability is the following in your prefs file:

elevation_manager.threads: yes

You can also specify an integer instead of "yes" to hardcode the number of concurrent threads supported if you want to experiment -- "yes" just sets it to the number of cores.

Next on the list is a thread-friendly image tile cache...

Oscar


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer

smime.p7s (1K) Download Attachment