summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Mutex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR808:Reid Spencer2007-01-201-1/+1
| | | | | | NetBSD also doesn't have pthread_mutexattr_setpshared llvm-svn: 33406
* Get rid of unused variable.Reid Spencer2006-11-021-1/+1
| | | | llvm-svn: 31373
* simplify AnalysisGroup registration, eliminating one typeid call.Chris Lattner2006-08-281-1/+1
| | | | llvm-svn: 29932
* For PR780:Reid Spencer2006-07-261-0/+3
| | | | | | | | | | | | 1. Move IncludeFile.h to System library 2. Move IncludeFile.cpp to System library 3. #1 and #2 required to prevent cyclic library dependencies for libSystem 4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h 5. Add IncludeFile support to various lib/System classes. 6. Add new lib/System classes to LinkAllVMCore.h All this in an attempt to pull in lib/System to what's required for VMCore llvm-svn: 29287
* Add checks for __OpenBSD__.Jeff Cohen2006-04-171-1/+1
| | | | llvm-svn: 27761
* 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