Skip to content
  1. Jul 16, 2005
  2. Jul 15, 2005
  3. Jul 14, 2005
  4. Jul 13, 2005
  5. Jul 12, 2005
    • Reid Spencer's avatar
      For PR418: · 6855097c
      Reid Spencer authored
      Add an example program that utilizes multiple threads in the JIT to process
      work. This was used by Evan Jones as the original test case for ensuring
      that the ExecutionEngine was thread safe.
      
      Original source by Evan Jones (adapted from other LLVM JIT examples) and
      made LLVM style compliant by Reid Spencer.
      
      llvm-svn: 22411
      6855097c
    • Nate Begeman's avatar
      Check in the last of the darwin-specific code necessary to get shootout · 8dd96ec7
      Nate Begeman authored
      working before modifying the asm printer to use the subtarget info.
      
      llvm-svn: 22408
      8dd96ec7
    • Nate Begeman's avatar
      5fc86e83
    • Reid Spencer's avatar
      Update release notes regarding thread-safe JIT. · 4386e4a8
      Reid Spencer authored
      llvm-svn: 22405
      4386e4a8
    • Reid Spencer's avatar
      For PR540: · 79876f52
      Reid Spencer authored
      This patch completes the changes for making lli thread-safe. Here's the list
      of changes:
      * The Support/ThreadSupport* files were removed and replaced with the
        MutexGuard.h file since all ThreadSupport* declared was a Mutex Guard.
        The implementation of MutexGuard.h is now based on sys::Mutex which hides
        its implementation and makes it unnecessary to have the -NoSupport.h and
        -PThreads.h versions of ThreadSupport.
      
      * All places in ExecutionEngine that previously referred to "Mutex" now
        refer to sys::Mutex
      
      * All places in ExecutionEngine that previously referred to "MutexLocker"
        now refer to MutexGuard (this is frivolous but I believe the technically
        correct name for such a class is "Guard" not a "Locker").
      
      These changes passed all of llvm-test. All we need now are some test cases
      that actually use multiple threads.
      
      llvm-svn: 22404
      79876f52
    • Reid Spencer's avatar
      For PR540: · f404981b
      Reid Spencer authored
      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
      f404981b
    • Reid Spencer's avatar
      For PR540: · 1aa7d05f
      Reid Spencer authored
      * Add check for pthread.h
      * Make sure -lpthread gets added to LIBS if its available
      
      llvm-svn: 22402
      1aa7d05f
Loading