Changeset 423
- Timestamp:
- 07/29/08 18:49:12 (4 months ago)
- Files:
-
- trunk/BAL/OWBAL/Skeletons/Types/Threading.t (modified) (3 diffs)
- trunk/BAL/scripts/generators/headerGenerator.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/OWBAL/Skeletons/Types/Threading.t
r419 r423 42 42 #include <wtf/Noncopyable.h> 43 43 44 // On wx/Win, including windows.h here causes multiply-defined symbol errors 45 // for libjpeg and wx, and also wx needs to include windows.h itself first for wx 46 // includes to work right. So until we can find a better solution to this problem, 47 // on wx, we workaround including windows.h here. 44 48 45 49 #include <pthread.h> … … 232 236 }; 233 237 234 /**235 * InterlockedIncrement description236 * @param[in] : description237 * @param[out] : description238 * @code239 * @endcode240 */241 long InterlockedIncrement(long volatile *Addend);242 243 244 /**245 * InterlockedDecrement description246 * @param[in] : description247 * @param[out] : description248 * @code249 * @endcode250 */251 long InterlockedDecrement(long volatile *Addend)252 /**253 * atomicDecrement description254 * @param[in] : description255 * @param[out] : description256 * @code257 * @endcode258 */259 inline int atomicDecrement(int volatile* addend) ;260 261 262 263 238 264 239 template<class T> class ThreadSafeShared : public OWBALBase, Noncopyable { 265 publi 240 public: 241 /** 242 * ThreadSafeShared description 243 * @param[in] : description 244 * @param[out] : description 245 * @code 246 * @endcode 247 */ 248 ThreadSafeShared(int initialRefCount = 1); 266 249 267 250 /** … … 335 318 using WTF::waitForThreadCompletion; 336 319 337 #endif // Threading_ 320 #endif // Threading_h 321 322 323 324 trunk/BAL/scripts/generators/headerGenerator.py
r389 r423 141 141 #print "bad" + l 142 142 remove = 2 143 elseFound = 0 143 144 else : 144 145 if l.find('if !PLATFORM') != -1 and l.find('GTK') == -1 : … … 155 156 156 157 if remove == 1 or remove == 2 : 157 if l.find("#if") != -1: 158 if l.find("#if") != -1: 158 159 ifFound += 1 159 160 if l.find("#else") != -1: … … 161 162 if l.find("endif") != -1: 162 163 ifFound -= 1 163 elseFound = 0 164 elseFound = 0 164 165 notplat = 0 165 166 if ifFound == 0 : … … 178 179 if remove == 2 : 179 180 if elseFound == 1 : 180 if l.find("#else") == -1 and l.find("#error") == -1 :181 if l.find("#else") == -1 and l.find("#error") == -1 : 181 182 resultString += l + '\n' 182 183 else :
