summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfcolin2008-05-19 16:38:17 +0000
committerfcolin2008-05-19 16:38:17 +0000
commit04b93464d970f6345736676a2265e83329c56ad9 (patch)
tree61a52581f51d3d4c7f663d1b44fd12bea4f04eb1 /src
parent59d8a06d2a754ee255eb2b786bcf37b4bc36fa67 (diff)
downloadivy-c-04b93464d970f6345736676a2265e83329c56ad9.zip
ivy-c-04b93464d970f6345736676a2265e83329c56ad9.tar.gz
ivy-c-04b93464d970f6345736676a2265e83329c56ad9.tar.bz2
ivy-c-04b93464d970f6345736676a2265e83329c56ad9.tar.xz
correction OpenMP pour Windows
Diffstat (limited to 'src')
-rw-r--r--src/ivy.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 439f334..a873762 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -1088,6 +1088,7 @@ int IvySendMsg(const char *fmt, ...) /* version dictionnaire */
/* pour toutes les regexp */
#ifdef OPENMP
+ {
#define TABLEAU_PREALABLE 1 // mode normal, les autres sont pour le debug
//#define TABLEAU_PREALABLE_SEQUENTIEL 1
//#define SINGLE_NOWAIT 1
@@ -1101,9 +1102,9 @@ int IvySendMsg(const char *fmt, ...) /* version dictionnaire */
{
#pragma omp for schedule(guided) // après debug mettre schedule(guided, 10)
for(count=0; count<ompDictCache.numPtr; count++) {
- match_count += RegexpCall (ompDictCache.msgPtrArray[count], buffer.data);
- }
-}
+ match_count += RegexpCall (ompDictCache.msgPtrArray[count], buffer.data);
+ }
+ }
#endif // SCHEDULE_GUIDED
@@ -1142,7 +1143,7 @@ int IvySendMsg(const char *fmt, ...) /* version dictionnaire */
}
#endif // SEQUENTIEL_DEBUG
-
+ }
#else // PAS OPENMP