Displaying 20 results from an estimated 83 matches for "threadsafe".
2004 Dec 02
2
installing Microsoft Office under wine
...ws"
[ronnave@RonsLinuxBox cdrecorder]$ fixme:msi:MsiEnableLogA 00000516
"c:\\windows\\temp\\Office 2000 Professional Setup (0006)_MsiExec.txt"
00000000
fixme:msi:MsiInstallProductW L"Z:\\media\\cdrecorder\\data1.msi" L""
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:ACTION_PerformAction UNHANDLED MSI ACTION L"AppSearch"
f...
2004 Dec 02
1
Microsoft Office XP Install problems on wine
...quot;LAUNCHEDFROMSETUP=1 SETUPEXEPATH=Z:\\media\\cdrecorder\\ LOGVERBOSE=1
DWSETUPLOGFILE=C:\\windows\\temp\\Office XP Professional Setup(0013).txt
DWMSILOGFILE=C:\\windows\\temp\\Office XP Professional
Setup(0013)_Task(0001).txt REBOOT=ReallySuppress"
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:msi:HANDLE_CustomType1 DATABASE NOT THREADSAFE... not starting
fixme:m...
2011 May 05
9
[threadsafe] Arel ToSql visitor is not threadsafe
Hey,
We hit a bug today because Arel::Visitors::ToSql is not threadsafe.
Here is what is happening:
Arel::Visitors::ENGINE_VISITORS is a cache of visitors instances.
These instances are not inherently threadsafe because it contains
state ''@last_column'', ''@connection'' that is shared between threads.
The other variables ''@po...
2007 Aug 29
1
What makes Rails'' routes non-thread-safe?
I was reading here and there about the differences between Merb and
Rails [1] and became curious about statements such as this:
> It is threadsafe with configurable Mutex Locks (Routing is also
> threadsafe)
Having mucked with the routes system, I had this awful feeling that I
don''t understand threading well enough to know if my contribution is
"thread safe". Can someone help me to understand what makes Merb'...
2011 Oct 28
3
Is active record 3.1.1 supposed to be threadsafe?
Hi There
Is active record 3.1.1 supposed to be threadsafe?
In other words, should the following (concurrent access to a model)
work?
Thread.new do MyModel.where(some_condition).first end
Thread.new do MyModel.where(some_condition).first end
I ask because upon the answer, it depends which component should handle
synchronization, and in consequence, which...
2002 Mar 27
1
What exactly is threadsafe
Hey I am playing with a LOT of threads right now, and I want to know if the
threads all need their own little vorbis encoders running in them or what
exactly is threadsafe in vorbis?
So here are the functions that would be called from many threads of with
buffer = vorbis_analysis_buffer( &m_vorbisDsp, 4*DATA_CHUNK_SIZE );
vorbis_analysis_wrote( &m_vorbisDsp, dataLength/dataSize );
while( vorbis_analysis_blockout( &m_vorbisDsp, &m_vorbisBlock ) =...
2012 Oct 05
1
Is Rails Logger Thread Safe?
Is Rails Logger truly not Thread Safe?
http://log.kares.org/2011/04/railslogger-is-not-threadsafe.html
This seems like an issue that should have been picked up quite a long time
ago. I just set config.threadsafe! in my config/application.rb and my log
output from rails server has completely disappeared.
If the logger is not thread-safe, I cannot help but wonder how much of the
Rails core i...
2006 Aug 09
7
Mongrel and multi apps
Hi,
I use Mongrel to serve my Rails applications on my server, but how can I
serve more than one application with one mongrel server?
Thanks.
-jec
--
Best regards / Salutations.
Jean-Eric Cuendet
Senior developer / Technical support
Riskpro Technologies SA
Av. Louis-Ruchonnet 2
CH-1003 Lausanne
Switzerland
Direct : +41 21 637 0123
Principal : +41 21 637 0110
Fax : +41 21 637 0111
2006 Aug 22
11
Multiple mongrels for one app
Hi mongrel-users,
This is my first post, so I''m not sure if it''s been asked before, but
I can''t find an answer anywhere.
If I have one rails application running, one processor I''m running it
on, and mongrel is multi-threaded, why should I have more than one
mongrel running?
Everyone seems to agree on 3-5 mongrels per rails app, but why?
I must be
2010 Aug 17
6
Overly aggressive constant unloading of Rails 3.0
In Rails 3.0 (both RC and edge), any constant that''s defined while loading a
file in development mode will get unloaded on each request, regardless of
whether it comes from an autoload path in the application or from external
code such as a gem.
Example file (tested on a fresh edge app):
# kittens.rb
require ''nibbler/json'' # "nibbler" is a gem specified
2014 Jun 04
0
Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application
I am running jruby (1.7.3) & rails 2.3.17 application whose apis are
exposed to outside app. When I add "config.threadsafe!" in my
development.rb/production.rb & hit lot many api requests in a second then I
am getting following errors randomly for some of the api requests:
1. TypeError (NilClass can't be coerced into Float)
2. RuntimeError (can't add a new key into hash during iteration)
3....
2006 May 30
4
Rails / ActionPack thread safety
Hi all,
Both the rails book (1st Ed) and the docs on the rails site (*and* the
Mongrel FAQ) tell me that rails (& ActionPack /ActiveRecord) is not
threadsafe. Since I need lots of worker threads in the app I''m working on
(details at the end of this mail) this poses quite a problem for me.
Is the lack of thread safety a conscious design decision (kind of
understandable for rails as such, but IMHO strange for ActiveRecord) or
just something n...
2006 Mar 28
2
Rails and Mongrel
...to a controller
which talks to the database (which takes up most of the time of the
request) and no other request will be processed by rails until the
database query is done and the result rendered and sent back to Mongrel?
If this is the case, is there any work being done on making Rails
threadsafe? I have tried to look for any info on this but haven''t
found any.
/ Jonas
2009 Mar 27
0
[LLVMdev] Connecting JITted code to gdb
...s a parameter to each call that cares about it.
Command-line options are used for convenience in a variety of
places... if there's some specific option that you need to modify at
runtime that can't be changed in any other way, patches to change that
are welcome.
Also, IIRC, LLVM isn't threadsafe at the moment...
-Eli
2009 Mar 27
2
[LLVMdev] Connecting JITted code to gdb
On Fri, Mar 27, 2009 at 3:48 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> Run with -debug-only=jit.
OT: I take it the recommended model for tools that embed LLVM is for
them to accept all of LLVM's command line arguments on their own
command lines? For Python, it'd be much nicer to make this stuff
tweakable through a module at runtime, or even, for thread-safety
reasons, as
2008 Jan 03
2
Interresting Changeset for Rails Trunk...
...so that it can be worked on independent of Mongrel?s release cycle (the Rails handler is currently in the Mongrel codebase). Jeremy Kemper (bitsweat) has already made a minor performance improvement by moving the mutex from the handler itself into the dispatcher. This means that as Rails gets more threadsafe, the Rails team can push the mutex further down so that it?s not a (scary) giant lock (the existing Mongrel Rails handler has a synchronized block around Rails? dispatcher).
Here''s the relevant Changeset URL: http://dev.rubyonrails.org/changeset/8488
2004 Aug 06
3
src/net/resolver.c patches for better IPv6 resolution
...LL || buff == NULL || len <= 0)
return NULL;
#ifdef HAVE_GETIPNODEBYNAME
- host = getipnodebyname(what, AF_INET6, AI_DEFAULT, &err);
- if (host) {
- if (_isip(what))
+ if (_isip(what)) {
+ /* According to FreeBSD's man page, getipnodebyname and such
+ * aren't threadsafe either */
+ _lock_resolver();
+ host = getipnodebyaddr(&addr_u.v4addr, sizeof(struct in_addr),
+ AF_INET, &err);
+ _unlock_resolver();
+ if (host == NULL) {
+ _lock_resolver();
+ host = getipnodebyaddr(&addr_u.v6addr,
+ sizeof(struct in6_addr), AF_INET6, &err);
+...
2009 Nov 01
1
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...ed
> patchsite:
> call <nop nop nop nop nop nop nop nop> // will be patched
>
>
Yes, that sounds good (except that we'd want a jmp instead of a call I
think), I'll post a patch to that bugreport tomorrow if time permits.
Would this mean that lazy-JITing would be threadsafe and the default
could stay lazy?
Best regards,
--Edwin
2008 Mar 19
1
Database Triggered Events in Rails.
...es flying back and forth.
I was also thinking of, not touching the database in the thread, but
posting the results back to a separate instance of the rails app, and
let that instance handle the writes to the database. This seems kludgey
though.
I''ve heard that merb, and some of those are threadsafe, maybe I can have
this piece of it, using that instead?
Or perhaps something else.
Thanks for any response!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rai...
2004 Nov 17
2
ices-2.0.0 compile problems
...run into the next problem:
checking for pkg-config... /usr/bin/pkg-config
checking /usr/include/shout.h usability... yes
checking /usr/include/shout.h presence... yes
checking for /usr/include/shout.h... yes
checking for shout_new... yes
configure: error: This libshout isn't threadsafe
Having fixed that too by editing configure line 20279 the same
way, configure completed successfully but make broke with
In file included from cfgparse.h:17,
from input.c:31:
stream.h:18:25: shout/shout.h: No such file or directory
Getting rather desperate I run
#!/...