Is Surfer multi threaded?

Surfer is single threaded. This means the user interface, gridding, import/export, etc all share one thread and the redraw to regenerate the offscreen image of the window contents runs on a second thread.  The redraw of the screen contents can proceed at the same time as other tasks (like user interface changes, gridding, etc). However, the redraw thread is not used very heavily since redraw usually happens fairly quickly.


It is up to Windows how those threads are mapped to processors (or cores in a multi-core CPU). In general though, a single threaded application can only use 100% of a single core processor, 50% of both cores in a dual processor, 25% of all 4 cores in a quad core processor, etc. On a dual core CPU (where a single threaded application always uses both cores at 50% each), to get both cores running at 100%, you could get a big process running on the main thread (say a large gridding process) and then trigger a massive redraw to get the second thread running.


Updated January 30, 2017


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.