search for: reentrancy

Displaying 20 results from an estimated 49 matches for "reentrancy".

2006 Nov 21
1
f2c to achieve reentrancy in odesolve?
...in the current odesolve package) to make as few changes as possible to the Fortran 77 code. However, recently someone wanted to make nested calls to lsoda, which will not work, because Fortran is not generally reentrant. I understand I can use f2c to convert the codes to C, which would then gain reentrancy, and that there are parts of R which were translated from Fortran to C for just this reason (at least, I read that in an earlier R-help message). My questions to this group are: 1) Will this indeed automatically make the solvers reentrant? 2) How much do I need to worry about changed numerical be...
2008 Apr 07
1
[PATCH] virtio: remove overzealous BUG_ON.
The 'disable_cb' callback is designed as an optimization to tell the host we don't need callbacks now. As it is not reliable, the debug check is overzealous: it can happen on two CPUs at the same time. Document this. Even if it were reliable, the virtio_net driver doesn't disable callbacks on transmit so the START_USE/END_USE debugging reentrance protection can be easily tripped
2008 Apr 07
1
[PATCH] virtio: remove overzealous BUG_ON.
The 'disable_cb' callback is designed as an optimization to tell the host we don't need callbacks now. As it is not reliable, the debug check is overzealous: it can happen on two CPUs at the same time. Document this. Even if it were reliable, the virtio_net driver doesn't disable callbacks on transmit so the START_USE/END_USE debugging reentrance protection can be easily tripped
2012 Dec 04
2
Audit of NMI and MCE paths
I have just starting auditing the NMI path and found that the oprofile code calls into a fair amount of common code. So far, down the first leg of the call graph, I have found several ASSERT()s, a BUG() and many {rd,wr}msr()s. Given that these are common code, and sensible in their places, removing them for the sake of being on the NMI path seems silly. As an alternative, I suggest that we make
2011 May 24
3
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
Thanks for the tip, Brian. I did have a version that does everything in memory, but only had enough memory to get six threads going. (Although my system has 16GB, I have not taken the time to create 64-bit libraries for wxWidgets, TagLib, libFLAC, etc.) Based on the direction you are pointing me in, I assume that encoding from within the decoder is not permitted. I really like your idea of the
2009 Jul 21
1
[LLVMdev] LLVM and Interrupt Service Routines.
> How each target handles the code generation > differences will be the interesting part. Why not use a target specific calling convention? An interrupt is like a normal function call, it only has a different calling convention.
2011 May 24
0
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
...would start as soon as a thread opens up. > Based on the direction you are pointing me in, I assume that > encoding from > within the decoder is not permitted. I have no idea. My assumption before your email would have been that the individual encoder/decoder handles would allow reentrancy, but perhaps there are pieces of libFLAC that are not reentrant even when working on separate encoder/decoder objects. The only way to know for sure is if Josh Coalson pipes up, or someone takes the time to look at the source for a thorough code review. There's a possibility that yo...
2004 Jul 05
1
Tk force refresh
I'm trying to use a Tk widget to show some progress & intermediate results in a long-running R calculation. Does anybody know how (or whether) I can force a window redraw without waiting for the idle loop? Currently, refreshes only seem to happen when we return to the R toplevel read-eval-print loop. Thanks, Mark <><
2003 Jun 30
0
sysctl_out_proc() race in stable w/ patch
...ch below is a hack and cannot be directly applied due to other changes in my tree, but if someone would like to tackle this for 4.x I've provided you with a good start. The problem doesn't appear to be an issue in -current with the PROC lock held, though I am unsure if lock reentrancy is possible when a vm_fault is taken. -Matt Index: kern/kern_exit.c =================================================================== RCS file: /cvs/src/sys/kern/kern_exit.c,v retrieving revision 1.12 diff -u -r1.12 kern_exit.c --- kern/kern_exit.c 30 Jun 2003 19:50:31 -0000 1.12 +++...
2001 Jan 29
2
vorbis plugin crashing xmms
I've got a song that causes the vorbis plugin for xmms to crash while reading the vorbis equivilent of id3 tags. What is the proceedure for reporting bugs like this. Do I mail the bug into this mailing list and then serve the song off of a FTP server? -ben --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this
2007 Nov 09
0
10 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_loader.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie_clip_loader.c libswfdec/swfdec_movie.h
...imple-8.swf.trace | 12 ++++ test/trace/unloadmovie-simple.as | 16 +++++ 22 files changed, 205 insertions(+), 37 deletions(-) New commits: commit 1453a43c36678b07a4c585e1173a0d4b78bc8e52 Author: Benjamin Otte <otte at gnome.org> Date: Fri Nov 9 17:22:55 2007 +0100 handle reentrancy correctly fixes mysterious segfaults on AMD64 diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c index 04c21a0..618b9d7 100644 --- a/libswfdec/swfdec_loader.c +++ b/libswfdec/swfdec_loader.c @@ -210,9 +210,10 @@ swfdec_loader_init (SwfdecLoader *loader) static void swfde...
1999 Sep 29
1
nlm recursion problem
Hi I am trying to use nlm with an additional call to nlm within the function but after the first pass, the parameters to the outer call are being passed to the inner call. The inner call is a very trivial problem. ie: test.outer<-function(param.outer){ slope<-nlm(test.inner,param.inner) ... loglikelihood<-sum(...) return(-loglikelihood) } and nlm(test.outer,param.outer) on the
2000 Dec 15
0
Some libraries and ideas for a 'librarified' R
...is. On the route I learned C quite well and I discovered the power of scripting languages nad finally the S language. I wanted to write programs to perform routinely done exploratory data analysis, using gnuplot as the graphic driver. One of the my bigger concern has ever be memory management and reentrancy of my code, possibly avoiding using OS support (such as thread local storage on windows); I tried to allow for custom allocator in the library, supporting ANSI functions as a ready option ... I also have always used DOS (djgpp) and windows so I hated (and probably strongly dislike) autoconf and th...
2010 Nov 15
8
[LLVMdev] MC-JIT Design
...t;bar" to go ahead and see if you can find "bar" and immediately generated code for it. You can't do that in the FOOJIT model, because you won't know "bar" is undefined until you read the object back. However, in practice one needs to be careful about recursion and reentrancy, so you have to take care when trying to do things like this. The FOOJIT forces such tricks to go through a proper API (the FOO object) which I end up seeing as a feature, not a bug. -- And, a final word on API compatibility: As mentioned before, I have no *plan* to break any existing public inte...
2024 Jun 30
0
Making use of win32_segv
...9;t match - Rewrite win32_segv in terms of StringCcbPrintf to static storage and WriteFile(GetStdHandle(STD_ERROR_HANDLE), ...), which may be too much Attached is a crude first draft to see if the approach is viable. If it turns out to be a good idea, I can add the Rterm or thread ID checks, a reentrancy guard, declare and export a special struct win32_segvinfo from psignal.c, put all the crash reporting in win32_segv(), and move the VEH setup into psignal.c's signal(). (Just don't want to waste the effort if this proves ill-advised.) Without the patch: User at WIN-LGTSPJA3F1V MSYS /c/R/R-...
2003 Feb 07
1
Status of thread-safeness of libvorbis?
I have spent quite some hours in the archives of this mailinglist and read a few threads mainly by Jeff Squyres and Monty about making oggenc multithreaded. Those threads all are dated around January 2001, quite a time ago. For my work experience period I have to implement a parallel (threaded) ogg encoder (If this is possible, of course.) If it can be done, the code will be given back to the
2010 Nov 15
0
[LLVMdev] MC-JIT Design
...ee > if you can find "bar" and immediately generated code for it. You can't > do that in the FOOJIT model, because you won't know "bar" is undefined > until you read the object back. > > However, in practice one needs to be careful about recursion and > reentrancy, so you have to take care when trying to do things like > this. The FOOJIT forces such tricks to go through a proper API (the > FOO object) which I end up seeing as a feature, not a bug. > -- > > And, a final word on API compatibility: > > As mentioned before, I have no *plan*...
2010 Nov 16
0
[LLVMdev] MC-JIT Design
...ee > if you can find "bar" and immediately generated code for it. You can't > do that in the FOOJIT model, because you won't know "bar" is undefined > until you read the object back. > > However, in practice one needs to be careful about recursion and > reentrancy, so you have to take care when trying to do things like > this. The FOOJIT forces such tricks to go through a proper API (the > FOO object) which I end up seeing as a feature, not a bug. > -- > > And, a final word on API compatibility: > > As mentioned before, I have no *plan*...
2010 Nov 15
2
[LLVMdev] MC-JIT Design
...quot;bar" and immediately generated code for it. > > You can't do that in the FOOJIT model, because you won't know "bar" > > is undefined until you read the object back. > > > > However, in practice one needs to be careful about recursion and > > reentrancy, so you have to take care when trying to do things like > > this. The FOOJIT forces such tricks to go through a proper API (the > > FOO object) which I end up seeing as a feature, not a bug. > > -- > > > > And, a final word on API compatibility: > > > > As...
2010 Nov 15
1
[LLVMdev] MC-JIT Design
...t;bar" and immediately generated code for it. You can't > > do that in the FOOJIT model, because you won't know "bar" is undefined > > until you read the object back. > > > > However, in practice one needs to be careful about recursion and > > reentrancy, so you have to take care when trying to do things like > > this. The FOOJIT forces such tricks to go through a proper API (the > > FOO object) which I end up seeing as a feature, not a bug. > > -- > > > > And, a final word on API compatibility: > > > >...