Changeset 33089 for trunk/psLib/src/imageops
- Timestamp:
- Jan 11, 2012, 10:16:48 AM (15 years ago)
- Location:
- trunk/psLib/src/imageops
- Files:
-
- 2 edited
-
psImageConvolve.c (modified) (5 diffs)
-
psImageCovariance.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.c
r32745 r33089 1039 1039 } 1040 1040 } 1041 if (!psThreadPoolWait(true )) {1041 if (!psThreadPoolWait(true, true)) { 1042 1042 psError(PS_ERR_UNKNOWN, false, "Error waiting for threads."); 1043 1043 psFree(gaussNorm); … … 1390 1390 } 1391 1391 // wait here for the threaded jobs to finish (NOP if threading is not active) 1392 if (!psThreadPoolWait(true )) {1392 if (!psThreadPoolWait(true, true)) { 1393 1393 psError(PS_ERR_UNKNOWN, false, "Unable to smooth image"); 1394 1394 psFree(calculation); … … 1437 1437 1438 1438 // wait here for the threaded jobs to finish (NOP if threading is not active) 1439 if (!psThreadPoolWait(true )) {1439 if (!psThreadPoolWait(true, true)) { 1440 1440 psError(PS_ERR_UNKNOWN, false, "Unable to smooth image"); 1441 1441 psFree(calculation); … … 1752 1752 } 1753 1753 } 1754 if (!psThreadPoolWait(true )) {1754 if (!psThreadPoolWait(true, true)) { 1755 1755 psError(PS_ERR_UNKNOWN, false, "Error waiting for threads."); 1756 1756 psFree(conv); … … 1787 1787 } 1788 1788 } 1789 if (!psThreadPoolWait(true )) {1789 if (!psThreadPoolWait(true, true)) { 1790 1790 psError(PS_ERR_UNKNOWN, false, "Error waiting for threads."); 1791 1791 psFree(conv); -
trunk/psLib/src/imageops/psImageCovariance.c
r32714 r33089 193 193 } 194 194 195 if (threaded && !psThreadPoolWait(true )) {195 if (threaded && !psThreadPoolWait(true, true)) { 196 196 psError(PS_ERR_UNKNOWN, false, "Error waiting for threads."); 197 197 return false; … … 360 360 } 361 361 } 362 if (threaded && !psThreadPoolWait(true )) {362 if (threaded && !psThreadPoolWait(true, true)) { 363 363 psError(PS_ERR_UNKNOWN, false, "Error waiting for threads."); 364 364 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
