header (C) fixes
iprt/asm.h,*: Revised the ASMAtomic*Ptr functions and macros. The new saves lots of unsafe (void * volatile *) casts as well as adding some type safety when using GCC (typeof rulez).
Automated rebranding to Oracle copyright/license strings via filemuncher
iprt/lockvalidation: give better names to anonymous locks
iprt: Use RTMSINTERVAL for timeouts. Fixed missing timeout underflow checks in two RTFileAioCtxWait implementations.
iprt/RTSemMutex: MutexSem -> hMutexSem
iprt: RTSemMutex order validation.
iprt,pdmcritsect: More flexible lock naming, added RTCritSectSetSubClass and made some RTCritSectInitEx.
iprt,pdmcritsect: Some more lock validator code, almost there now... :-)
iprt,pdmcritsect: RTMSINTERVAL, RTLockValidatorClass* and some related renaming.
semmutex-win.cpp: Correct RTSemMutexIsOwned().
nitpicking.
iprt,pdmcritsect: Added RTSemEvent[Set|Add|Remove]Signaller so that we can validate who is signalling an event if we like and, more importantly, detect deadlocks involving event semaphores. More attempts at dealing with the races (and bugs) in the all-other-threads-blocking detection in tstRTLockValidator.cpp, adding RTThreadGetReallySleeping and RTThreadGetNativeState in the process.
copy & past fix.
build fix
iprt/semmutex*: Added RTSemMutexIsOwned. Rewrote mutex recursion handling for windows (semmutex-win.cpp).
IPRT,pdmcritsect: More lock validator hacking.
iprt,pdmcritsect: More lock validator refactoring and debugging. Added hooks to semrw-generic.cpp. (Everything is still disabled.)
iprt,pdmcritsect: Shortening and cleaning up the lock validator structure names.
iprt: More deadlock hacking.
IPRT,PDMCritSect: Fixing critsect regression; contains under construction rw deadlock detection code.
IPRT,PDMCritSect: More lock validator refactoring.
IPRT,PDMCritSect: More lock validation.
IPRT,PDMCritSect,Main: Moved code dealing with lock counting from RTThread to RTLockValidator. Fixed thread termination assertion on windows.
IPRT,PDMAllocCritSect: Don't bitch when recursivly entering a mutex.
semmutex-win.cpp: Use a structure instead of storing the native handle as the IPRT handle. This allows for the same parameter checking as elsewhere as well as lock validation.
IPRT: Split up sems-win.cpp and semnoint-generic.cpp