summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Mutex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR616:Reid Spencer2005-08-241-3/+17
| | | | | | | | | | These patches make threading optional in LLVM. The configuration scripts are now modified to accept a --disable-threads switch. If this is used, the Mutex class will be implemented with all functions as no-op. Furthermore, linking against libpthread will not be done. Finally, the ParallelJIT example needs libpthread so its makefile was changed to always add -lpthread to the link line. llvm-svn: 23003
* Fix grammar: it's == "it is".Misha Brukman2005-08-021-1/+1
| | | | llvm-svn: 22587
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-7/+7
| | | | llvm-svn: 22523
* Don't call pthread_mutexattr_setpshared on FreeBSD because its implementationReid Spencer2005-07-131-0/+2
| | | | | | of pthreads is missing that call (despite it violating the spec). llvm-svn: 22423
* Win32 support for Mutex class.Jeff Cohen2005-07-131-3/+5
| | | | llvm-svn: 22420
* For PR540:Reid Spencer2005-07-121-0/+141
Add a Mutex class for thread synchronization in a platform-independent way. The current implementation only supports pthreads. Win32 use of Critical Sections will be added later. The design permits other threading models to be used if (and only if) pthreads is not available. llvm-svn: 22403
OpenPOWER on IntegriCloud