| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 120298
|
|
|
|
|
|
|
| |
doesn't warn about unreachable instructions. Patch
by Erick Tryzelaar (#111).
llvm-svn: 81110
|
|
|
|
|
|
|
|
| |
template parameter specifying whether this mutex
should become a no-op when not running in multithreaded mode. Make sys::Mutex a typedef of SmartMutex<false>, to preserve source compatibility.
llvm-svn: 73709
|
|
|
|
|
|
| |
malloc'ed memory.
llvm-svn: 58805
|
|
|
|
|
|
| |
Patch by Hasso Tepper!
llvm-svn: 52781
|
|
|
|
| |
llvm-svn: 52592
|
|
|
|
| |
llvm-svn: 50695
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
| |
llvm-svn: 45165
|
|
|
|
|
|
| |
NetBSD also doesn't have pthread_mutexattr_setpshared
llvm-svn: 33406
|
|
|
|
| |
llvm-svn: 31373
|
|
|
|
| |
llvm-svn: 29932
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 27761
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 22587
|
|
|
|
| |
llvm-svn: 22523
|
|
|
|
|
|
| |
of pthreads is missing that call (despite it violating the spec).
llvm-svn: 22423
|
|
|
|
| |
llvm-svn: 22420
|
|
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
|