search for: threadsupport

Displaying 16 results from an estimated 16 matches for "threadsupport".

2005 Mar 16
2
[LLVMdev] Adding system libraries to the LLVM build
...Mac OS X (I just did a CVS up and it will take another hour or two to build), but I'm having an issue with building on Linux. Specifically, "lli" fails to link because it now needs to link against libpthread, because it ends up pulling in ExecutionEngine.h which in turn pulls in ThreadSupport.h. I'm wondering how this should be fixed, because I'm afraid it may not be a simple problem. So the first question is, to which Makefile do I need to add the "-lpthread" flag to get the thing to compile? The next issue is what is the *right* way to do this: 1. Some platforms...
2015 Oct 08
2
llvm:cl::parser subclasses final in 3.7?
...ct MaxThreadsParser : public llvm::cl::parser<unsigned> { bool parse(llvm::cl::Option &O, llvm::StringRef ArgName, llvm::StringRef Arg, unsigned &Val); }; But that's now causing: In file included from /home/lak/my_svn/llvm-carte/llvm-3.7.0/tools/carte++/tools/ir2v/ThreadSupport.cpp:1: /home/lak/my_svn/llvm-carte/llvm-3.7.0/tools/carte++/tools/ir2v/ThreadSupport.h:12:34: error: base 'parser' is marked 'final' struct MaxThreadsParser : public llvm::cl::parser<unsigned> { What's the new way to do this now? It looks like the documentation at h...
2005 Feb 20
0
[LLVMdev] Attempt #1: JIT Thread Safety
...carefully. I tried to make getModule return a constant reference, but that quickly led me into deep trouble in the world of const correctness. I've attached my patch against the latest CVS. There is one "trivial" fix which should be committed, even if this patch is incorrect. In ThreadSupport.h, the include guard macro needs to have "LLVM_" prefixed to it. The ThreadSupport-PThread.h and ThreadSupport-NoSupport.h files look for the macro with this prefix. Thank you, Evan Jones -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm-threadsa...
2004 Aug 31
4
[LLVMdev] More configure problems
...n-freebsd5.2.1 checking host system type... i386-unknown-freebsd5.2.1 checking target system type... i386-unknown-freebsd5.2.1 test: Unknown: bad number And finally: config.status: creating Makefile.config config.status: creating include/Support/DataTypes.h config.status: creating include/Support/ThreadSupport.h config.status: creating include/Support/hash_map config.status: creating include/Support/hash_set config.status: creating include/Support/iterator config.status: creating include/Config/config.h config.status: linking ../lib/System/Unknown to lib/System/platform config.status: error: ../lib/Syste...
2005 Mar 16
0
[LLVMdev] Adding system libraries to the LLVM build
...just did a CVS up and it will take another hour or two to build), but > I'm having an issue with building on Linux. Specifically, "lli" fails to link > because it now needs to link against libpthread, because it ends up pulling > in ExecutionEngine.h which in turn pulls in ThreadSupport.h. I'm wondering > how this should be fixed, because I'm afraid it may not be a simple problem. Ah, ok. > So the first question is, to which Makefile do I need to add the "-lpthread" > flag to get the thing to compile? The next issue is what is the *right* way > t...
2005 Aug 28
1
[LLVMdev] MutexGuard and MutexLocker
...05-08-27 at 11:47 -0700, Reid Spencer wrote: > Alkis Evlogimenos wrote: > > It seems that these two classes are the same... Maybe they should be > > merged into 1 class? > > > I think you're looking at something old. MutexLocker doesn't exist any more. llvm/Support/ThreadSupport.h is not generated anymore? -- Alkis
2004 Aug 31
0
[LLVMdev] More configure problems
...... i386-unknown-freebsd5.2.1 > checking target system type... i386-unknown-freebsd5.2.1 > test: Unknown: bad number > > And finally: > > config.status: creating Makefile.config > config.status: creating include/Support/DataTypes.h > config.status: creating include/Support/ThreadSupport.h > config.status: creating include/Support/hash_map > config.status: creating include/Support/hash_set > config.status: creating include/Support/iterator > config.status: creating include/Config/config.h > config.status: linking ../lib/System/Unknown to lib/System/platform > conf...
2004 Nov 15
0
[LLVMdev] Fixes for windows version
...lativePath="..\..\include\llvm\Support\StableBasicBlockNumbering.h"> > + </File> > + <File > + RelativePath="..\..\include\llvm\Support\SystemUtils.h"> > + </File> > + <File > + RelativePath="..\..\include\llvm\Support\ThreadSupport-NoSupport.h"> > + </File> > + <File > + RelativePath="..\..\include\llvm\Support\ThreadSupport-PThreads.h"> > + </File> > + <File > + RelativePath="..\..\include\llvm\Support\Timer.h"> > + </File> > +...
2004 Nov 15
2
[LLVMdev] Fixes for windows version
Hi, when I updated the sources today there were several small problems that stopped the windows version from compiling, here are the patches m. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: win32patches.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041115/34634455/attachment.txt>
2005 Aug 27
2
[LLVMdev] MutexGuard and MutexLocker
It seems that these two classes are the same... Maybe they should be merged into 1 class? -- Alkis
2005 Aug 27
0
[LLVMdev] MutexGuard and MutexLocker
Alkis Evlogimenos wrote: > It seems that these two classes are the same... Maybe they should be > merged into 1 class? > I think you're looking at something old. MutexLocker doesn't exist any more. Reid.
2004 Aug 31
2
[LLVMdev] More configure problems
...checking target system type... i386-unknown-freebsd5.2.1 > > test: Unknown: bad number > > > > And finally: > > > > config.status: creating Makefile.config > > config.status: creating include/Support/DataTypes.h > > config.status: creating include/Support/ThreadSupport.h > > config.status: creating include/Support/hash_map > > config.status: creating include/Support/hash_set > > config.status: creating include/Support/iterator > > config.status: creating include/Config/config.h > > config.status: linking ../lib/System/Unknown to lib/...
2005 Feb 09
0
[LLVMdev] Interactions with threads and native code
...ocking it when particular state is accessed. Note that the JIT subclasses this in lib/ExecutionEngine/JIT/JIT.h, so its accesses should be synchronized as well. The only really tricky thing about this is making the locking portable across platforms. However, I think the include/llvm/Support/ThreadSupport.h file should export what you need. > What about the LLVM interpreter, for situations where there is no JIT? Is it > thread-safe? Yes, I believe it is thread safe. However, is not widely used and is REALLY slow (even for an interpreter). >>> Does anyone have any thoughts about...
2005 Feb 09
2
[LLVMdev] Interactions with threads and native code
On Feb 8, 2005, at 21:36, Chris Lattner wrote: > That is correct. If you try to run threaded programs in the JIT, it > might run into problems if multiple functions need to JIT functions at > the same time. This should be very simple to deal with, we just > haven't had anyone take up the task yet. Only the JIT is affected > here, not the static code generator or C
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...nclude\llvm\Support\StableBasicBlockNumbering.h"> > > </File> > > <File > > RelativePath="..\..\include\llvm\Support\SystemUtils.h"> > > </File> > > <File > > RelativePath="..\..\include\llvm\Support\ThreadSupport-NoSupport.h"> > > </File> > > <File > > RelativePath="..\..\include\llvm\Support\ThreadSupport-PThreads.h"> > > </File> > > <File > > RelativePath="..\..\include\llvm\Support\Timer.h"> > &...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...RelativePath="..\..\include\llvm\Support\StableBasicBlockNumbering.h"> > </File> > <File > RelativePath="..\..\include\llvm\Support\SystemUtils.h"> > </File> > <File > RelativePath="..\..\include\llvm\Support\ThreadSupport-NoSupport.h"> > </File> > <File > RelativePath="..\..\include\llvm\Support\ThreadSupport-PThreads.h"> > </File> > <File > RelativePath="..\..\include\llvm\Support\Timer.h"> > </File> > <Fi...