mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-30 08:08:39 -05:00
Make output arguments of decoders shared between threads
This is only a temporary fix becuase if both decoders were to produce results that need accumulating e.g. number of decodes, then more complex code to merge the results would be needed. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4940 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
94911071be
commit
133b603c39
@ -41,7 +41,7 @@ subroutine decoder(ss,id2)
|
|||||||
ntol65=20
|
ntol65=20
|
||||||
|
|
||||||
!$ call omp_set_dynamic(.true.)
|
!$ call omp_set_dynamic(.true.)
|
||||||
!$omp parallel sections num_threads(2) copyin(/tracer_priv/)
|
!$omp parallel sections num_threads(2) copyin(/tracer_priv/) shared(ndecoded)
|
||||||
|
|
||||||
!$omp section
|
!$omp section
|
||||||
if(nmode.eq.65 .or. (nmode.gt.65 .and. ntxmode.eq.65)) then
|
if(nmode.eq.65 .or. (nmode.gt.65 .and. ntxmode.eq.65)) then
|
||||||
|
Loading…
Reference in New Issue
Block a user