| 1 |
2005-11-15 22:12 robert |
|---|
| 2 |
|
|---|
| 3 |
* win32_src/: Win32Condition.h, Win32ThreadBarrier.cpp: Converted |
|---|
| 4 |
to dos endings. |
|---|
| 5 |
|
|---|
| 6 |
2005-11-15 18:31 robert |
|---|
| 7 |
|
|---|
| 8 |
* Make/makedefs: From Sean Spicer, compile fixes for Intel |
|---|
| 9 |
compiler. |
|---|
| 10 |
|
|---|
| 11 |
2005-11-11 10:48 robert |
|---|
| 12 |
|
|---|
| 13 |
* Make/instrules: From Colin McDonald, build fix for Solaris. |
|---|
| 14 |
|
|---|
| 15 |
2005-11-03 11:36 robert |
|---|
| 16 |
|
|---|
| 17 |
* win32_src/HandleHolder.h: From Thibault Genessay, |
|---|
| 18 |
|
|---|
| 19 |
"Under Windows, the current implementation of the operator bool() |
|---|
| 20 |
of the HandleHolder class can return true even if the handle is |
|---|
| 21 |
not valid. This happens when Win32 calls return NULL instead of |
|---|
| 22 |
INVALID_HANDLE_VALUE as expected by the operator bool(). |
|---|
| 23 |
|
|---|
| 24 |
The modified file makes the OpenThreads::Thread::start() method |
|---|
| 25 |
return non-zero in this case, and should also ensure that other |
|---|
| 26 |
calls to Win32 functions returning handles are correctly checked. |
|---|
| 27 |
" |
|---|
| 28 |
|
|---|
| 29 |
2005-09-28 15:02 robert |
|---|
| 30 |
|
|---|
| 31 |
* include/OpenThreads/Exports: From Chris Hanson, "Minor changes to |
|---|
| 32 |
support Win32 static library linking, when used in conjunction |
|---|
| 33 |
with static-enabled .dsp (forthcoming)." |
|---|
| 34 |
|
|---|
| 35 |
2005-06-24 16:39 robert |
|---|
| 36 |
|
|---|
| 37 |
* Make/makedefs: From Colin McDonald: |
|---|
| 38 |
|
|---|
| 39 |
"Some makedefs fixes for Solaris: |
|---|
| 40 |
|
|---|
| 41 |
For multithreaded applications the -mt option must be |
|---|
| 42 |
specified on both |
|---|
| 43 |
the compile and link steps, to ensure correct behaviour. |
|---|
| 44 |
According to |
|---|
| 45 |
the Sun compiler documentation it sets REENTRANT flags in the |
|---|
| 46 |
system |
|---|
| 47 |
header files, and links the -lthread library in the correct |
|---|
| 48 |
order. |
|---|
| 49 |
|
|---|
| 50 |
When compiling shared libraries the -KPIC option should be |
|---|
| 51 |
specified. |
|---|
| 52 |
Although Solaris will handle shared libraries without |
|---|
| 53 |
position-independent code there is a performance penalty. |
|---|
| 54 |
The linker |
|---|
| 55 |
reference manual says: 'If a shared object is built from code |
|---|
| 56 |
that is |
|---|
| 57 |
not position-independent, the text segment will usually |
|---|
| 58 |
require a large |
|---|
| 59 |
number of relocations to be performed at runtime. Although |
|---|
| 60 |
the runtime |
|---|
| 61 |
linker is equipped to handle this, the system overhead this |
|---|
| 62 |
creates can |
|---|
| 63 |
cause serious performance degradation'." |
|---|
| 64 |
|
|---|
| 65 |
2005-05-24 16:54 robert |
|---|
| 66 |
|
|---|
| 67 |
* win32_src/Win32Thread.cpp: Added pragma to remove depreacted API |
|---|
| 68 |
warning under VS8.0 |
|---|
| 69 |
|
|---|
| 70 |
2005-05-20 22:11 robert |
|---|
| 71 |
|
|---|
| 72 |
* include/OpenThreads/Thread, pthread_src/PThread.c++, |
|---|
| 73 |
sproc_src/SprocThread.c++, win32_src/Win32Thread.cpp: Renamed |
|---|
| 74 |
Thread::usleep(uint) to Thread::microSleep(uint) to avoid compile |
|---|
| 75 |
problems when usleep is defined by extenal dependencies. |
|---|
| 76 |
|
|---|
| 77 |
2005-05-13 11:55 bbralo |
|---|
| 78 |
|
|---|
| 79 |
* win32_src/: Win32Thread.cpp, Win32ThreadPrivateData.h: removed |
|---|
| 80 |
unneded variables (stackSizeLocked and idSet ) |
|---|
| 81 |
|
|---|
| 82 |
2005-05-13 10:10 bbralo |
|---|
| 83 |
|
|---|
| 84 |
* win32_src/Win32ThreadBarrier.cpp: removed extra ScopedLock |
|---|
| 85 |
|
|---|
| 86 |
2005-05-12 21:54 don |
|---|
| 87 |
|
|---|
| 88 |
* win32_src/Win32ThreadBarrier.cpp: Changed scoped lock to just |
|---|
| 89 |
non-scoped lock in invalidate(), as release() must be called |
|---|
| 90 |
after the lock has been unlocked. Avoiding deadlock. |
|---|
| 91 |
|
|---|
| 92 |
2005-05-12 21:42 don |
|---|
| 93 |
|
|---|
| 94 |
* win32_src/Win32ThreadBarrier.cpp: Fixed barrier::invalidate |
|---|
| 95 |
non-compile on win32 |
|---|
| 96 |
|
|---|
| 97 |
2005-05-12 21:37 don |
|---|
| 98 |
|
|---|
| 99 |
* win32_src/Win32ThreadBarrier.cpp: Small typo in invalidate() |
|---|
| 100 |
|
|---|
| 101 |
2005-05-12 17:55 don |
|---|
| 102 |
|
|---|
| 103 |
* include/OpenThreads/Barrier, pthread_src/PThreadBarrier.c++, |
|---|
| 104 |
win32_src/Win32ThreadBarrier.cpp: Added Barrier::invalidate() |
|---|
| 105 |
|
|---|
| 106 |
2005-05-11 20:23 don |
|---|
| 107 |
|
|---|
| 108 |
* Make/instrules: Fix for links in instrules |
|---|
| 109 |
|
|---|
| 110 |
2005-05-10 10:07 robert |
|---|
| 111 |
|
|---|
| 112 |
* Make/dolink.sh: Changed -ne to $LINK_ECHO_OPTION to fix cross |
|---|
| 113 |
platform compile issues |
|---|
| 114 |
|
|---|
| 115 |
2005-05-04 10:16 robert |
|---|
| 116 |
|
|---|
| 117 |
* include/OpenThreads/: Barrier, Condition, Mutex, Thread: From |
|---|
| 118 |
Martin Aumueller, commented out unused parameters to prevent |
|---|
| 119 |
warnings. |
|---|
| 120 |
|
|---|
| 121 |
2005-04-28 06:08 robert |
|---|
| 122 |
|
|---|
| 123 |
* Make/dolink.sh: From Marco Jez, added -ne option echo usage to |
|---|
| 124 |
fix stdout/stderr redirection error under Mingw. |
|---|
| 125 |
|
|---|
| 126 |
2005-04-26 14:45 don |
|---|
| 127 |
|
|---|
| 128 |
* Make/instrules: er.. added the um.. @ to the inst line.... for |
|---|
| 129 |
inst_headers |
|---|
| 130 |
|
|---|
| 131 |
2005-04-25 14:48 don |
|---|
| 132 |
|
|---|
| 133 |
* Make/instrules: Small fix in instrules to check for status of |
|---|
| 134 |
header files |
|---|
| 135 |
|
|---|
| 136 |
2005-04-24 17:04 sspicer |
|---|
| 137 |
|
|---|
| 138 |
* include/OpenThreads/Thread, pthread_src/PThread.c++, |
|---|
| 139 |
sproc_src/SprocThread.c++, win32_src/Win32Thread.cpp: |
|---|
| 140 |
Prefix PRIORITY and SCHEDULE params with THREAD_ |
|---|
| 141 |
|
|---|
| 142 |
2005-04-22 09:34 bbralo |
|---|
| 143 |
|
|---|
| 144 |
* README.txt: test acces |
|---|
| 145 |
|
|---|
| 146 |
2005-04-18 08:59 robert |
|---|
| 147 |
|
|---|
| 148 |
* examples_src/: GNUmakefile, simplethreader/SimpleThreader.cpp, |
|---|
| 149 |
workcrew/ThreadReporter.h, workcrew/WorkCrew.c++: From Bob |
|---|
| 150 |
Kuehne, warning fixes for OSX build. From Robert Osfield, |
|---|
| 151 |
warnings fixes for Linux build. |
|---|
| 152 |
|
|---|
| 153 |
2005-04-11 21:47 sspicer |
|---|
| 154 |
|
|---|
| 155 |
* include/OpenThreads/Thread, pthread_src/PThread.c++, |
|---|
| 156 |
sproc_src/SprocThread.c++, win32_src/Win32Thread.cpp: |
|---|
| 157 |
Commit Boris' changes to the trunk after testing. -sean |
|---|
| 158 |
|
|---|
| 159 |
2005-04-08 10:03 bbralo |
|---|
| 160 |
|
|---|
| 161 |
* include/OpenThreads/Thread: usleep implementation |
|---|
| 162 |
|
|---|
| 163 |
2005-04-08 09:57 bbralo |
|---|
| 164 |
|
|---|
| 165 |
* win32_src/Win32Thread.cpp, sproc_src/SprocThread.c++, |
|---|
| 166 |
pthread_src/PThread.c++: usleep implementation |
|---|
| 167 |
|
|---|
| 168 |
2005-04-05 19:00 donburns |
|---|
| 169 |
|
|---|
| 170 |
* Make/: distrules, instrules, makedefs, makerpms, makerules, |
|---|
| 171 |
rpm.header: Updates for HP-UX build system on acc (not gcc). |
|---|
| 172 |
|
|---|
| 173 |
2005-03-24 13:55 donburns |
|---|
| 174 |
|
|---|
| 175 |
* Make/makerules: Added static target for mac build |
|---|
| 176 |
|
|---|
| 177 |
2005-02-05 04:07 donburns |
|---|
| 178 |
|
|---|
| 179 |
* Make/: distrules, makerpms, rpm.files, rpm.header: Added RPM |
|---|
| 180 |
build files |
|---|
| 181 |
|
|---|
| 182 |
2005-01-15 23:13 donburns |
|---|
| 183 |
|
|---|
| 184 |
* Make/makedefs, Make/makerules, include/OpenThreads/ScopedLock: |
|---|
| 185 |
Updated make environment to build static libs on Linux Add c++ |
|---|
| 186 |
header to ScopedLock to assist editors |
|---|
| 187 |
|
|---|
| 188 |
2004-12-04 23:33 donburns |
|---|
| 189 |
|
|---|
| 190 |
* Make/openthreads.pc: Changed version number for package config |
|---|
| 191 |
|
|---|
| 192 |
2004-11-20 10:13 robertosfield |
|---|
| 193 |
|
|---|
| 194 |
* Make/makedefs: From John Shue, fix for FreeBSD build |
|---|
| 195 |
|
|---|
| 196 |
2004-11-17 16:22 robertosfield |
|---|
| 197 |
|
|---|
| 198 |
* GNUmakefile: From Thom DeCarlo, change to force Cygwin build to |
|---|
| 199 |
use Win32 threads. |
|---|
| 200 |
|
|---|
| 201 |
2004-11-15 19:53 robertosfield |
|---|
| 202 |
|
|---|
| 203 |
* Make/openthreads.pc: From Loic Dachary, added pk-config file. |
|---|
| 204 |
|
|---|
| 205 |
2004-11-15 09:57 robertosfield |
|---|
| 206 |
|
|---|
| 207 |
* Make/makedefs: From Loic Dachary, fixes to soname generation. |
|---|
| 208 |
|
|---|
| 209 |
2004-11-14 17:19 robertosfield |
|---|
| 210 |
|
|---|
| 211 |
* Make/makedefs: Added option for compiling with soname under Linux |
|---|
| 212 |
when the env is set: |
|---|
| 213 |
|
|---|
| 214 |
export COMPILE_OSG_OP_OT_WITH_SONAMES=YES |
|---|
| 215 |
|
|---|
| 216 |
2004-09-27 23:27 donburns |
|---|
| 217 |
|
|---|
| 218 |
* win32_src/GNUmakefile: Fixed C++FILES to CXXFILES |
|---|
| 219 |
|
|---|
| 220 |
2004-08-30 11:13 bbralo |
|---|
| 221 |
|
|---|
| 222 |
* win32_src/Win32Thread.cpp: setProcessorAffinity |
|---|
| 223 |
|
|---|
| 224 |
2004-08-28 20:54 donburns |
|---|
| 225 |
|
|---|
| 226 |
* pthread_src/PThread.c++: Small change for IRIX to make |
|---|
| 227 |
processorAffinity work |
|---|
| 228 |
|
|---|
| 229 |
2004-08-27 17:45 donburns |
|---|
| 230 |
|
|---|
| 231 |
* include/OpenThreads/Thread, pthread_src/PThread.c++, |
|---|
| 232 |
pthread_src/PThreadPrivateData.h: Added setProcessorAffinity() to |
|---|
| 233 |
Pthread header and Pthread implementation for __sgi |
|---|
| 234 |
|
|---|
| 235 |
2004-08-17 15:34 sspicer |
|---|
| 236 |
|
|---|
| 237 |
* include/OpenThreads/Barrier, pthread_src/PThreadBarrier.c++, |
|---|
| 238 |
sproc_src/SprocBarrier.c++, win32_src/Win32ThreadBarrier.cpp: |
|---|
| 239 |
Added Barrier::release(), Barrier::numThreadsCurrentlyBlocked(). |
|---|
| 240 |
|
|---|
| 241 |
2004-08-09 17:03 robertosfield |
|---|
| 242 |
|
|---|
| 243 |
* Make/makedefs: Set REVISION number back to 0 after 1.3 release. |
|---|
| 244 |
|
|---|
| 245 |
2004-08-09 17:01 robertosfield |
|---|
| 246 |
|
|---|
| 247 |
* Make/makedefs: Set relase and revision number for 1.3 release |
|---|
| 248 |
|
|---|
| 249 |
2004-08-09 17:01 robertosfield |
|---|
| 250 |
|
|---|
| 251 |
* include/OpenThreads/Thread: Minor fix to indentation |
|---|
| 252 |
|
|---|
| 253 |
2004-07-26 16:49 robertosfield |
|---|
| 254 |
|
|---|
| 255 |
* include/OpenThreads/ScopedLock: Added a return to the end of the |
|---|
| 256 |
file to fix a warning under IRIX. |
|---|
| 257 |
|
|---|
| 258 |
2004-07-26 16:46 robertosfield |
|---|
| 259 |
|
|---|
| 260 |
* win32_src/OpenThreads.dsp: Made the keyword substitution use -ko |
|---|
| 261 |
and did a unix2dos, to ensure that windows file endings are |
|---|
| 262 |
maintained. |
|---|
| 263 |
|
|---|
| 264 |
2004-05-18 08:55 bbralo |
|---|
| 265 |
|
|---|
| 266 |
* win32_src/Win32Thread.cpp: cancelCleanup after run() iff thread |
|---|
| 267 |
is canceled. Change suggested by Frank Lindeman |
|---|
| 268 |
|
|---|
| 269 |
2004-05-15 09:42 robertosfield |
|---|
| 270 |
|
|---|
| 271 |
* win32_src/GNUmakefile: GNUmakefle for Cygwin/mingw build (from |
|---|
| 272 |
Norman Vine, if my memory serves me correctly:) |
|---|
| 273 |
|
|---|
| 274 |
2004-05-12 14:18 bbralo |
|---|
| 275 |
|
|---|
| 276 |
* win32_src/HandleHolder.h: HandleHolder for proper handling of |
|---|
| 277 |
win32 HANDLE-s |
|---|
| 278 |
|
|---|
| 279 |
2004-05-12 09:42 bbralo |
|---|
| 280 |
|
|---|
| 281 |
* win32_src/OpenThreads.mak: HandleHolder.h + ScopedLock in |
|---|
| 282 |
includes |
|---|
| 283 |
|
|---|
| 284 |
2004-05-12 09:32 bbralo |
|---|
| 285 |
|
|---|
| 286 |
* win32_src/: Win32ThreadPrivateData.h, OpenThreads.dsp, |
|---|
| 287 |
WIN32Condition.cpp, Win32ConditionPrivateData.h, Win32Thread.cpp: |
|---|
| 288 |
HandleHolder for proper handling of win32 HANDLE-s |
|---|
| 289 |
|
|---|
| 290 |
2004-05-11 17:25 bbralo |
|---|
| 291 |
|
|---|
| 292 |
* win32_src/Win32Thread.cpp: *close thread handle in |
|---|
| 293 |
~Win32ThredaPrivateData() *implementation of |
|---|
| 294 |
PrintSchedulingInfo() |
|---|
| 295 |
|
|---|
| 296 |
2004-05-10 08:24 bbralo |
|---|
| 297 |
|
|---|
| 298 |
* win32_src/Win32ConditionPrivateData.h: added try catch block in |
|---|
| 299 |
wait() - fix for hang on exit. |
|---|
| 300 |
|
|---|
| 301 |
2004-04-14 23:36 donburns |
|---|
| 302 |
|
|---|
| 303 |
* sproc_src/SprocThread.c++: Added startThread() to the sproc |
|---|
| 304 |
implementation of Thread. |
|---|
| 305 |
|
|---|
| 306 |
2004-04-10 16:49 donburns |
|---|
| 307 |
|
|---|
| 308 |
* Make/makedefs: Added -DOPENTHREADS_EXPORT to Cygwin and Mingw |
|---|
| 309 |
defines |
|---|
| 310 |
|
|---|
| 311 |
2004-02-27 09:34 bbralo |
|---|
| 312 |
|
|---|
| 313 |
* win32_src/Win32Thread.cpp: fix for broken STLs where size_t is |
|---|
| 314 |
not in std ( VC < 7.1 ) |
|---|
| 315 |
|
|---|
| 316 |
2004-02-24 20:41 sspicer |
|---|
| 317 |
|
|---|
| 318 |
* pthread_src/: PThreadBarrierPrivateData.h, PThreadCondition.c++, |
|---|
| 319 |
PThreadConditionPrivateData.h, PThreadMutexPrivateData.h, |
|---|
| 320 |
PThreadPrivateData.h: |
|---|
| 321 |
Fix improper placement of "namespace" directives in pthread_src. |
|---|
| 322 |
|
|---|
| 323 |
2003-10-27 19:27 sspicer |
|---|
| 324 |
|
|---|
| 325 |
* pthread_src/PThreadCondition.c++: |
|---|
| 326 |
Fix PThreadCondition.c++ build error on MacOS X Panther. |
|---|
| 327 |
|
|---|
| 328 |
2003-10-06 17:05 sspicer |
|---|
| 329 |
|
|---|
| 330 |
* examples_src/simplethreader/SimpleThreader.cpp: |
|---|
| 331 |
Some small fixes to support IRIX sproc. |
|---|
| 332 |
|
|---|
| 333 |
2003-10-06 17:03 sspicer |
|---|
| 334 |
|
|---|
| 335 |
* sproc_src/: GNUmakefile, SharedArena.c++, SharedArena.h, |
|---|
| 336 |
SprocBarrier.c++, SprocBarrierPrivateData.h, SprocCondition.c++, |
|---|
| 337 |
SprocConditionPrivateData.h, SprocMutex.c++, |
|---|
| 338 |
SprocMutexPrivateData.h, SprocThread.c++, |
|---|
| 339 |
SprocThreadPrivateActions.h, SprocThreadPrivateData.h: |
|---|
| 340 |
Initial commit. |
|---|
| 341 |
|
|---|
| 342 |
2003-09-16 08:42 robertosfield |
|---|
| 343 |
|
|---|
| 344 |
* pthread_src/PThread.c++: And return 0 to pthread cancel |
|---|
| 345 |
implemenation to catch the case when no thread is running. |
|---|
| 346 |
|
|---|
| 347 |
2003-09-12 20:52 robertosfield |
|---|
| 348 |
|
|---|
| 349 |
* GNUmakefile, Make/makedefs, pthread_src/GNUmakefile, |
|---|
| 350 |
pthread_src/PThreadCondition.c++: From Norman Vine, fixes for |
|---|
| 351 |
Cygwin + Mingw builds |
|---|
| 352 |
|
|---|
| 353 |
2003-09-12 10:32 robertosfield |
|---|
| 354 |
|
|---|
| 355 |
* win32_src/: Makefile, OpenThreads.mak: From Norman Vine, |
|---|
| 356 |
Makefile's for OpenThreads win32. |
|---|
| 357 |
|
|---|
| 358 |
2003-09-10 22:37 robertosfield |
|---|
| 359 |
|
|---|
| 360 |
* examples_src/simplethreader/simplethreader.dsp: Did a to_dos to |
|---|
| 361 |
fix unix line endings. |
|---|
| 362 |
|
|---|
| 363 |
2003-09-10 14:29 robertosfield |
|---|
| 364 |
|
|---|
| 365 |
* win32_src/Win32Thread.cpp: Fix for warning under Windows. |
|---|
| 366 |
|
|---|
| 367 |
2003-09-06 08:57 robertosfield |
|---|
| 368 |
|
|---|
| 369 |
* pthread_src/PThread.c++, win32_src/Win32Thread.cpp: Added an if |
|---|
| 370 |
(pd->isRunning) check to the pthread + win32 thread |
|---|
| 371 |
Thread::cancel() implementation to prevent cancel's being done on |
|---|
| 372 |
an non running thread. This has been introduced to |
|---|
| 373 |
"speculatively" solve a crash that has been reported on the OSG |
|---|
| 374 |
that looked like an example of cancel() being called the thread |
|---|
| 375 |
was started. |
|---|
| 376 |
|
|---|
| 377 |
2003-09-01 09:37 robertosfield |
|---|
| 378 |
|
|---|
| 379 |
* pthread_src/PThread.c++, win32_src/Win32Thread.cpp: Added a cout |
|---|
| 380 |
to warn of thread still running when the destructor is entered. |
|---|
| 381 |
|
|---|
| 382 |
2003-08-29 23:24 robertosfield |
|---|
| 383 |
|
|---|
| 384 |
* win32_src/OpenThreads.dsp: Fixes to project files. |
|---|
| 385 |
|
|---|
| 386 |
2003-08-29 14:30 robertosfield |
|---|
| 387 |
|
|---|
| 388 |
* win32_src/Win32Thread.cpp: Comment out the |
|---|
| 389 |
(WaitForSingleObject(pd->tid,INFINITE)!=WAIT_OBJECT_0) in the |
|---|
| 390 |
win32 cancel implemention. |
|---|
| 391 |
|
|---|
| 392 |
2003-08-29 12:33 bbralo |
|---|
| 393 |
|
|---|
| 394 |
* win32_src/: OpenThreads.dsp, WIN32Condition.cpp, |
|---|
| 395 |
Win32ConditionPrivateData.h, Win32Thread.cpp, |
|---|
| 396 |
Win32ThreadBarrier.cpp: Thread cancelation support take 3 :-) * |
|---|
| 397 |
cancelEvent in Win32 thread implementation. Event is signaled in |
|---|
| 398 |
cancel() * testCancel() checks event (with |
|---|
| 399 |
WaitForSingleObject(cancelEvent, 0) ) * cooperativeWait( handle, |
|---|
| 400 |
timeout ) cheks cancelEvent besides handle and exits if |
|---|
| 401 |
cancelEvent is signaled * Thread::cancel() has right semantics |
|---|
| 402 |
finally - deffered - signal cancelEvent than wait for thread |
|---|
| 403 |
to exit - async - terminateThread unconditionally - |
|---|
| 404 |
disable - do nothing |
|---|
| 405 |
|
|---|
| 406 |
2003-08-29 12:03 bbralo |
|---|
| 407 |
|
|---|
| 408 |
* win32_src/Win32ThreadPrivateData.h: added cancelEvent member for |
|---|
| 409 |
thread cancelation support |
|---|
| 410 |
|
|---|
| 411 |
2003-08-29 12:01 bbralo |
|---|
| 412 |
|
|---|
| 413 |
* include/OpenThreads/ScopedLock: ScopedLock and ReveseScopedLock |
|---|
| 414 |
templates |
|---|
| 415 |
|
|---|
| 416 |
2003-08-29 11:59 bbralo |
|---|
| 417 |
|
|---|
| 418 |
* include/OpenThreads/Thread: added getImplementation() (needed for |
|---|
| 419 |
Win32) |
|---|
| 420 |
|
|---|
| 421 |
2003-08-29 11:27 robertosfield |
|---|
| 422 |
|
|---|
| 423 |
* win32_src/Win32ConditionPrivateData.h: Changed INFINITE wait time |
|---|
| 424 |
to timeout_ms to be consistent with the wat() input paramters. |
|---|
| 425 |
|
|---|
| 426 |
2003-08-28 15:13 bbralo |
|---|
| 427 |
|
|---|
| 428 |
* win32_src/: OpenThreads.dsp, WIN32Condition.cpp, |
|---|
| 429 |
Win32ConditionPrivateData.h, Win32Thread.cpp, |
|---|
| 430 |
Win32ThreadBarrier.cpp, Win32ThreadPrivateData.h: thread |
|---|
| 431 |
cancelation issues: * condition::wait and condition::broadcast() |
|---|
| 432 |
now uses WaitForMultipleObject API with second handle being |
|---|
| 433 |
thread handle. *to make this work change is made in |
|---|
| 434 |
thread::cancel -reintroduced WaitForSingleObject but with |
|---|
| 435 |
shorter timeout this time. This shold take care delays on exit |
|---|
| 436 |
* remove unneeded testCanlel() calls |
|---|
| 437 |
|
|---|
| 438 |
2003-08-26 08:37 robertosfield |
|---|
| 439 |
|
|---|
| 440 |
* win32_src/Win32ConditionPrivateData.h: Moved position of Thread* |
|---|
| 441 |
thread = CurrentThread() out of the inner loop. |
|---|
| 442 |
|
|---|
| 443 |
2003-08-25 13:59 robertosfield |
|---|
| 444 |
|
|---|
| 445 |
* win32_src/Win32ConditionPrivateData.h: Compile fix for Win32. |
|---|
| 446 |
|
|---|
| 447 |
2003-08-23 15:50 robertosfield |
|---|
| 448 |
|
|---|
| 449 |
* win32_src/: WIN32Condition.cpp, Win32ConditionPrivateData.h, |
|---|
| 450 |
Win32Thread.cpp, Win32ThreadBarrier.cpp: Win32 build and bug |
|---|
| 451 |
fixes from Marco Jez. |
|---|
| 452 |
|
|---|
| 453 |
2003-08-22 21:50 robertosfield |
|---|
| 454 |
|
|---|
| 455 |
* win32_src/Win32Thread.cpp: Marco's change to testCancel() to use |
|---|
| 456 |
GetCurrentThreadId(). |
|---|
| 457 |
|
|---|
| 458 |
2003-08-22 21:45 robertosfield |
|---|
| 459 |
|
|---|
| 460 |
* win32_src/Win32ConditionPrivateData.h: Fixes to Win32 threading |
|---|
| 461 |
code. |
|---|
| 462 |
|
|---|
| 463 |
2003-08-22 18:42 robertosfield |
|---|
| 464 |
|
|---|
| 465 |
* win32_src/: WIN32Condition.cpp, Win32ConditionPrivateData.h, |
|---|
| 466 |
Win32Thread.cpp, Win32ThreadBarrier.cpp: To the Win32 |
|---|
| 467 |
implemenation: |
|---|
| 468 |
|
|---|
| 469 |
Added checks for valid CurrentThread() when issuing |
|---|
| 470 |
testCancel(). |
|---|
| 471 |
|
|---|
| 472 |
Added time slicing the wait() implementation with |
|---|
| 473 |
testCancel() being |
|---|
| 474 |
issued on each slice. |
|---|
| 475 |
|
|---|
| 476 |
2003-08-21 21:21 robertosfield |
|---|
| 477 |
|
|---|
| 478 |
* win32_src/Win32Thread.cpp: Fixed typo. |
|---|
| 479 |
|
|---|
| 480 |
2003-08-21 21:14 robertosfield |
|---|
| 481 |
|
|---|
| 482 |
* win32_src/: WIN32Condition.cpp, Win32Thread.cpp, |
|---|
| 483 |
Win32ThreadBarrier.cpp: Added testCancel into |
|---|
| 484 |
Thread::YeildCurrentThread(), Barrier and Condition code under |
|---|
| 485 |
Win32 to help respond to cancel requests. |
|---|
| 486 |
|
|---|
| 487 |
2003-08-19 19:19 sspicer |
|---|
| 488 |
|
|---|
| 489 |
* Make/makedefs, examples_src/simplethreader/SimpleThreader.cpp, |
|---|
| 490 |
include/OpenThreads/Thread, pthread_src/PThread.c++, |
|---|
| 491 |
win32_src/Win32Thread.cpp: |
|---|
| 492 |
Change Thread::Yield() to Thread::YieldCurrentThread() to avoid |
|---|
| 493 |
name collisions on Windows. |
|---|
| 494 |
|
|---|
| 495 |
2003-08-07 16:52 sspicer |
|---|
| 496 |
|
|---|
| 497 |
* pthread_src/PThread.c++: |
|---|
| 498 |
remove setCancelModeAsyncronous from the destructor, could cause |
|---|
| 499 |
havoc. |
|---|
| 500 |
|
|---|
| 501 |
2003-08-07 16:50 sspicer |
|---|
| 502 |
|
|---|
| 503 |
* include/OpenThreads/Condition: |
|---|
| 504 |
Make methods virtual. |
|---|
| 505 |
|
|---|
| 506 |
2003-08-07 15:10 sspicer |
|---|
| 507 |
|
|---|
| 508 |
* include/OpenThreads/: Barrier, Condition, Exports, Mutex, Thread: |
|---|
| 509 |
|
|---|
| 510 |
Bring headers inline with what was in osgcvs.no-ip.com. Namely |
|---|
| 511 |
add c++ to top of headers, and comment out pragma. |
|---|
| 512 |
|
|---|
| 513 |
2003-08-06 14:49 sspicer |
|---|
| 514 |
|
|---|
| 515 |
* win32_src/OpenThreads.dsp: |
|---|
| 516 |
Change release version to use non-debug dll. |
|---|
| 517 |
|
|---|
| 518 |
2003-08-05 22:41 sspicer |
|---|
| 519 |
|
|---|
| 520 |
* examples_src/: simplethreader/GNUmakefile, workcrew/GNUmakefile, |
|---|
| 521 |
workcrew/WorkCrew.c++: |
|---|
| 522 |
Fixing examples. |
|---|
| 523 |
|
|---|
| 524 |
2003-08-04 14:29 sspicer |
|---|
| 525 |
|
|---|
| 526 |
* pthread_src/PThreadCondition.c++: |
|---|
| 527 |
typedef ::timespec to OpenThreads::timespec for OSX 10.3. |
|---|
| 528 |
|
|---|
| 529 |
2003-07-23 10:40 bbralo |
|---|
| 530 |
|
|---|
| 531 |
* win32_src/Win32ConditionPrivateData.h: added Interlocked |
|---|
| 532 |
primitives for waiters count |
|---|
| 533 |
|
|---|
| 534 |
2003-07-23 09:37 donburns |
|---|
| 535 |
|
|---|
| 536 |
* include/OpenThreads/Exports, win32_src/OpenThreads.dsp: Windows |
|---|
| 537 |
builds are never complete.... Fixed a couple more booboos. |
|---|
| 538 |
|
|---|
| 539 |
2003-07-23 08:45 donburns |
|---|
| 540 |
|
|---|
| 541 |
* win32_src/: OpenThread.dsp, OpenThread.dsw, OpenThreads.dsp, |
|---|
| 542 |
OpenThreads.dsw: fixed windows build (again). |
|---|
| 543 |
|
|---|
| 544 |
2003-07-22 17:27 donburns |
|---|
| 545 |
|
|---|
| 546 |
* win32_src/: OpenThreads.dsp, OpenThreads.dsw: |
|---|
| 547 |
Added OpenThreads.dsw and OpenThreads.dsp |
|---|
| 548 |
|
|---|
| 549 |
2003-07-22 10:17 bbralo |
|---|
| 550 |
|
|---|
| 551 |
* win32_src/OpenThread.dsw: added simplethreader project into |
|---|
| 552 |
workspace |
|---|
| 553 |
|
|---|
| 554 |
2003-07-22 10:15 bbralo |
|---|
| 555 |
|
|---|
| 556 |
* win32_src/: WIN32Condition.cpp, Win32BarrierPrivateData.h, |
|---|
| 557 |
Win32ConditionPrivateData.h, Win32MutexPrivateData.h, |
|---|
| 558 |
Win32ThreadBarrier.cpp, Win32Mutex.cpp: fix CR/LF |
|---|
| 559 |
|
|---|
| 560 |
2003-07-22 10:07 bbralo |
|---|
| 561 |
|
|---|
| 562 |
* win32_src/: Win32Thread.cpp, Win32ThreadPrivateData.h: |
|---|
| 563 |
CurrentThread() implementation |
|---|
| 564 |
|
|---|
| 565 |
2003-07-22 10:05 bbralo |
|---|
| 566 |
|
|---|
| 567 |
* include/OpenThreads/Exports: changed #pragma comment( lib .. ) to |
|---|
| 568 |
reflect new name |
|---|
| 569 |
|
|---|
| 570 |
2003-07-22 10:03 bbralo |
|---|
| 571 |
|
|---|
| 572 |
* include/OpenThreads/Thread: CurrentThread() implementation for |
|---|
| 573 |
win32 |
|---|
| 574 |
|
|---|
| 575 |
2003-07-22 10:00 bbralo |
|---|
| 576 |
|
|---|
| 577 |
* examples_src/simplethreader/: SimpleThreader.c++, |
|---|
| 578 |
ThreadObserver.c++, ThreadReporter.c++: Changed extension from |
|---|
| 579 |
c++ to cpp for VC to work. |
|---|
| 580 |
|
|---|
| 581 |
2003-07-22 09:59 bbralo |
|---|
| 582 |
|
|---|
| 583 |
* examples_src/simplethreader/: SimpleThreader.cpp, |
|---|
| 584 |
ThreadObserver.cpp, ThreadReporter.cpp, simplethreader.dsp, |
|---|
| 585 |
simplethreader.plg: Changed extension from c++ to cpp for VC to |
|---|
| 586 |
work. Added CurrentChecker() for testing of |
|---|
| 587 |
Thread::CurrentThread() workings. Various WIN32 fixes |
|---|
| 588 |
|
|---|
| 589 |
2003-07-22 09:57 bbralo |
|---|
| 590 |
|
|---|
| 591 |
* examples_src/simplethreader/: GNUmakefile, ThreadReporter.h: |
|---|
| 592 |
Changed extension from c++ to cpp for VC to work. Added |
|---|
| 593 |
CurrentChecker() for testing of Thread::CurrentThread() workings. |
|---|
| 594 |
Changed include <list.h> into more standard sequence #include |
|---|
| 595 |
<list> ->using std::list Various WIN32 fixes |
|---|
| 596 |
|
|---|
| 597 |
2003-07-22 00:36 sspicer |
|---|
| 598 |
|
|---|
| 599 |
* include/OpenThreads/Thread, pthread_src/PThread.c++, |
|---|
| 600 |
pthread_src/PThreadPrivateData.h, win32_src/Win32Thread.cpp: |
|---|
| 601 |
Implement first pass at Thread::CurrentThread() to return a |
|---|
| 602 |
pointer to the current thread being executed. If NULL, this |
|---|
| 603 |
probably means it's the main thread. Also change Thread::yield |
|---|
| 604 |
-> Thread::Yield() and make it static. |
|---|
| 605 |
|
|---|
| 606 |
2003-07-18 22:16 sspicer |
|---|
| 607 |
|
|---|
| 608 |
* AUTHORS.txt, COPYING.txt, ChangeLog, GNUmakefile, INSTALL.txt, |
|---|
| 609 |
README.txt, TODO.txt, Make/cygwin_plugin_def, Make/distrules, |
|---|
| 610 |
Make/docrules, Make/dolink.sh, Make/help.sh, Make/helprules, |
|---|
| 611 |
Make/instrules, Make/makedefs, Make/makedirdefs, |
|---|
| 612 |
Make/makedirrules, Make/makeinnosetup, Make/makepkg, |
|---|
| 613 |
Make/makerpms, Make/makerules, Make/versionrules, bin/README, |
|---|
| 614 |
docs/doxyfile, examples_src/GNUmakefile, |
|---|
| 615 |
examples_src/simplethreader/GNUmakefile, |
|---|
| 616 |
examples_src/simplethreader/SimpleThreader.c++, |
|---|
| 617 |
examples_src/simplethreader/ThreadObserver.c++, |
|---|
| 618 |
examples_src/simplethreader/ThreadObserver.h, |
|---|
| 619 |
examples_src/simplethreader/ThreadReporter.c++, |
|---|
| 620 |
examples_src/simplethreader/ThreadReporter.h, |
|---|
| 621 |
examples_src/workcrew/GNUmakefile, |
|---|
| 622 |
examples_src/workcrew/ThreadObserver.c++, |
|---|
| 623 |
examples_src/workcrew/ThreadObserver.h, |
|---|
| 624 |
examples_src/workcrew/ThreadReporter.c++, |
|---|
| 625 |
examples_src/workcrew/ThreadReporter.h, |
|---|
| 626 |
examples_src/workcrew/WorkCrew.c++, include/OpenThreads/Barrier, |
|---|
| 627 |
include/OpenThreads/Condition, include/OpenThreads/Exports, |
|---|
| 628 |
include/OpenThreads/Mutex, include/OpenThreads/Thread, |
|---|
| 629 |
lib/README, pthread_src/GNUmakefile, pthread_src/PThread.c++, |
|---|
| 630 |
pthread_src/PThreadBarrier.c++, |
|---|
| 631 |
pthread_src/PThreadBarrierPrivateData.h, |
|---|
| 632 |
pthread_src/PThreadCondition.c++, |
|---|
| 633 |
pthread_src/PThreadConditionPrivateData.h, |
|---|
| 634 |
pthread_src/PThreadMutex.c++, |
|---|
| 635 |
pthread_src/PThreadMutexPrivateData.h, |
|---|
| 636 |
pthread_src/PThreadPrivateData.h, win32_src/OpenThread.dsp, |
|---|
| 637 |
win32_src/OpenThread.dsw, win32_src/WIN32Condition.cpp, |
|---|
| 638 |
win32_src/Win32BarrierPrivateData.h, win32_src/Win32Condition.h, |
|---|
| 639 |
win32_src/Win32ConditionPrivateData.h, win32_src/Win32Mutex.cpp, |
|---|
| 640 |
win32_src/Win32MutexPrivateData.h, win32_src/Win32Thread.cpp, |
|---|
| 641 |
win32_src/Win32ThreadBarrier.cpp, |
|---|
| 642 |
win32_src/Win32ThreadPrivateData.h: Initial Import from |
|---|
| 643 |
osgcvs.no-ip.net, 7.18.2003 |
|---|
| 644 |
|
|---|
| 645 |
2003-07-18 22:16 sspicer |
|---|
| 646 |
|
|---|
| 647 |
* AUTHORS.txt, COPYING.txt, ChangeLog, GNUmakefile, INSTALL.txt, |
|---|
| 648 |
README.txt, TODO.txt, Make/cygwin_plugin_def, Make/distrules, |
|---|
| 649 |
Make/docrules, Make/dolink.sh, Make/help.sh, Make/helprules, |
|---|
| 650 |
Make/instrules, Make/makedefs, Make/makedirdefs, |
|---|
| 651 |
Make/makedirrules, Make/makeinnosetup, Make/makepkg, |
|---|
| 652 |
Make/makerpms, Make/makerules, Make/versionrules, bin/README, |
|---|
| 653 |
docs/doxyfile, examples_src/GNUmakefile, |
|---|
| 654 |
examples_src/simplethreader/GNUmakefile, |
|---|
| 655 |
examples_src/simplethreader/SimpleThreader.c++, |
|---|
| 656 |
examples_src/simplethreader/ThreadObserver.c++, |
|---|
| 657 |
examples_src/simplethreader/ThreadObserver.h, |
|---|
| 658 |
examples_src/simplethreader/ThreadReporter.c++, |
|---|
| 659 |
examples_src/simplethreader/ThreadReporter.h, |
|---|
| 660 |
examples_src/workcrew/GNUmakefile, |
|---|
| 661 |
examples_src/workcrew/ThreadObserver.c++, |
|---|
| 662 |
examples_src/workcrew/ThreadObserver.h, |
|---|
| 663 |
examples_src/workcrew/ThreadReporter.c++, |
|---|
| 664 |
examples_src/workcrew/ThreadReporter.h, |
|---|
| 665 |
examples_src/workcrew/WorkCrew.c++, include/OpenThreads/Barrier, |
|---|
| 666 |
include/OpenThreads/Condition, include/OpenThreads/Exports, |
|---|
| 667 |
include/OpenThreads/Mutex, include/OpenThreads/Thread, |
|---|
| 668 |
lib/README, pthread_src/GNUmakefile, pthread_src/PThread.c++, |
|---|
| 669 |
pthread_src/PThreadBarrier.c++, |
|---|
| 670 |
pthread_src/PThreadBarrierPrivateData.h, |
|---|
| 671 |
pthread_src/PThreadCondition.c++, |
|---|
| 672 |
pthread_src/PThreadConditionPrivateData.h, |
|---|
| 673 |
pthread_src/PThreadMutex.c++, |
|---|
| 674 |
pthread_src/PThreadMutexPrivateData.h, |
|---|
| 675 |
pthread_src/PThreadPrivateData.h, win32_src/OpenThread.dsp, |
|---|
| 676 |
win32_src/OpenThread.dsw, win32_src/WIN32Condition.cpp, |
|---|
| 677 |
win32_src/Win32BarrierPrivateData.h, win32_src/Win32Condition.h, |
|---|
| 678 |
win32_src/Win32ConditionPrivateData.h, win32_src/Win32Mutex.cpp, |
|---|
| 679 |
win32_src/Win32MutexPrivateData.h, win32_src/Win32Thread.cpp, |
|---|
| 680 |
win32_src/Win32ThreadBarrier.cpp, |
|---|
| 681 |
win32_src/Win32ThreadPrivateData.h: Initial revision |
|---|
| 682 |
|
|---|