thread class patch to llvm/system

Hi!
Here i a patch for support platform independent threading. (needed for clang server (clang distcc project)).

Cheers,
Csaba Hruska

thread.patch (10.3 KB)

Hi Csaba,

+ /// Releases and removes the lock
+ /// @brief Destructor
+ ~Thread ( void );

What lock is that? Also, why ( void ) and not ()? (Lots more
of these later).

+ typedef void (*ThreadFunc)( void *data );