search for: eventloop

Displaying 20 results from an estimated 27 matches for "eventloop".

Did you mean: qeventloop
2004 Apr 26
1
eventloop
Hello. I'm writting a glx device and I've some performance problem with the eventloop registration system. The device is not refresh when there's no X event. That's problematic for animation and "smoothness" of display. Should I use threads or fork the R process to get and independant way to refresh my device ? Or do you know another way to refresh it ? Thanks...
2023 Jul 05
1
Libnbd asynchronous API with epoll
Hello, As part of the Rust bindings for Libnbd, I try to integrate the asynchronous (aio_*) functions with Tokio <https://docs.rs/tokio/latest/tokio/>, the most used asynchronous runtime in Rust. However, in its eventloop, Tokio uses epoll(7) instead of poll(2) (which is used internally in Libnbd). The difference is that poll(2) uses level-triggered notifications as aposed to epoll(7) which uses edge-triggered notifications. In short, the difference is that if one would wait for a file discriptor to be readable,...
2010 Dec 03
1
busy loop in libvirtd (cpu usage 100%)
Hi! Occasionally of late, I've seen a few cases where libvirtd cpu usage shoots up to 100% and stays there indefinitely. This seems to happen when a QEMU VM is starting up, although on one occasion I *think* I saw it happen after a QEMU VM was p2p-migrated. Doing strace -f -p <libvirtd pid> reveals a flood of poll() functions calls like these: [pid 1690] poll([{fd=3,
2006 Nov 01
4
Minor fix to multi-head changes for mixed resolutions
Hey, David, for me the recent multihead changes had minor a problem with mixed resolutions (1600x1200 & 1280x1024). The viewport was getting set partially off screen. The following tweak fixed it for me: --- plugins/display.c +++ plugins/display.c @@ -2069,7 +2069,7 @@ eventLoop (void) { if (s->nOutputDev > 1) glViewport (s->outputDev[i].region.extents.x1, - s->outputDev[i].region.extents.y1, + s->height - s->...
2006 Dec 12
2
dbusSendChangeSignalForOption crash
...1ca8c7 "dbus-marshal-basic.c", plugin=0x706f54 <Address 0x706f54 out of bounds>) at gconf.c:777 #12 0x00002aaaaad16665 in gconfInitPluginForDisplay (p=0x671620, d=0x52a260) at gconf.c:930 #13 0x00000000004221de in pushPlugin (p=0x671620) at plugin.c:239 #14 0x000000000040a432 in eventLoop () at display.c:1405 #15 0x00000000004089a8 in main (argc=4, argv=0x7ffff37638d8) at main.c:242
2002 Apr 11
1
segmentation violation when closing the data entry window (PR#1453)
...entry.c) Breakpoint 1, closewin () at dataentry.c:1315 1315 printf("In routine closewin\n"); (gdb) n In routine closewin 1316 XFreeGC(iodisplay, iogc); (gdb) 1317 XDestroyWindow(iodisplay, iowindow); (gdb) 1318 XCloseDisplay(iodisplay); (gdb) 1319 } (gdb) eventloop () at dataentry.c:1155 1155 done = 1; (gdb) 1157 break; (gdb) 1161 } (gdb) RX11_dataentry (call=0x850b7c0, op=0x8270afc, args=0x8bd4e84, rho=0x8bcd998) at dataentry.c:312 312 endcontext(&cntxt); (gdb) 313 closewin(); (gdb)...
2012 Mar 17
1
qtbase installation problems on MacOS
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120317/aaf91ee9/attachment.pl>
2023 Jul 06
1
Libnbd asynchronous API with epoll
...at 3:38?PM Tage Johansson <tage.j.lists at posteo.net> wrote: > As part of the Rust bindings for Libnbd, I try to integrate the > asynchronous (aio_*) functions with Tokio > <https://docs.rs/tokio/latest/tokio/>, the most used asynchronous runtime > in Rust. However, in its eventloop, Tokio uses epoll(7) instead of poll(2) > (which is used internally in Libnbd). The difference is that poll(2) uses > level-triggered notifications as aposed to epoll(7) which uses > edge-triggered notifications. > According to epoll(7) section "Level-triggered and edge-triggered&...
2005 Jul 13
0
how to connect to asterisk via perl agi
...i am getting this error while trying to run ast-rad-acc.pl my $ast_connected = 1; while( 1 ) { if( $astman->connect ) { $ast_connected = 1; syslog('info', 'Connected to Asterisk!'); $astman->setcallback('DEFAULT', \&status_callback); eval { $astman->eventloop; }; print STDERR "Connected To Asterisk\n"; } else { syslog('err', 'Could not connect to Asterisk!') if $ast_connected; print STDERR "could not Connect To Asterisk\n"; $ast_connected = 0; } sleep 1; } --------------------------------------------------...
2004 Aug 24
0
rgl installation problems
...install rgl >> >(rgl_0.64-13.tar.gz). I get the following, and the package does not install. >> >Any help would be greatly appreciated. I'm running R in redhat 9. >> >> The missing reference R_InputHandlers is declared in the >> $RHOME/src/include/R_ext/eventloop.h file, and I believe is compiled >> into the library R_X11 (with some extension). You don't seem to have >> that in the list of libraries: >> >> >g++ -L/usr/local/lib -o rgl.so x11lib.o x11gui.o types.o math.o fps.o >> >pixmap.o >> >gui.o api....
2005 Feb 25
0
Asterisk with PortaOne Radius client- problem in accounting script with OH323
...Channel','OH323/L19615','Cause',0,...) called at /usr/lib/perl5/site_perl/5.8.0 /Asterisk/Manager.pm line 331 Asterisk::Manager::handleevent('Asterisk::Manager=HASH(0x8776868)') called at /usr/lib/perl 5/site_perl/5.8.0/Asterisk/Manager.pm line 323 Asterisk::Manager::eventloop('Asterisk::Manager=HASH(0x8776868)') called at ./ast-rad-acc.p l line 113 eval {...} called at ./ast-rad-acc.pl line 113 ... Although, when limiting my context to an incoming call to asterisk, the accounting packet is sent successfully to RADIUS. Is the radius client package works...
2010 Oct 21
3
R-2.12.0 hangs while installing some packages on FreeBSD
I am working with R-2.12.0 on FreeBSD 9.0-CURRENT for a while now. I successfully installed more than 300 packages (most as dependencies of others). There are two packages I am not able to install: RGtk2 and rggobi. For example rggobi builds fine and after that it wants to load: ------------------------------------------------------ # R CMD INSTALL rggobi_2.1.16.tar.gz [..SNIP..] gcc
2010 Oct 21
3
R-2.12.0 hangs while installing some packages on FreeBSD
I am working with R-2.12.0 on FreeBSD 9.0-CURRENT for a while now. I successfully installed more than 300 packages (most as dependencies of others). There are two packages I am not able to install: RGtk2 and rggobi. For example rggobi builds fine and after that it wants to load: ------------------------------------------------------ # R CMD INSTALL rggobi_2.1.16.tar.gz [..SNIP..] gcc
2005 Apr 20
3
Embedded R and x11
Hi, I'm working on a frontend for R. I have R running in a separate thread in my application using Rf_initEmbeddedR, and I'm using R_tryEval to run commands in R (i.e. I don't run the mainloop). Everything works fine, except the x11-device: I can open x11-windows and paint to them alright from R. However, the x11-window does not respond to any events. E.g. clicking the
2003 Oct 18
1
libR.dylib on OS X
If one installs the CLI and RAqua versions, by saying both "make install" and "make install-aqua", then packages that use libR.dylib get their symbols from /Applications/StartR.app/RAqua.app/Contents/Frameworks/libR.dylib and not from /usr/local/lib/R/bin/libR.dylib. That's unfortunate, because the first is likely to change, and the second is not. For instance, what
2004 Jun 25
4
rgl installation problems
Hi! I'm new to R, but have worked with Splus before. I installed several packages in R (R-1.9.1) without problems, but when I try to install rgl (rgl_0.64-13.tar.gz). I get the following, and the package does not install. Any help would be greatly appreciated. I'm running R in redhat 9. Thanks, Enrique ------- [my pc]# R CMD INSTALL rgl_0.64-13.tar.gz * Installing *source* package
2003 Nov 08
1
RAqua with X11 TclTk
I've built a version of RAqua that uses X11 TclTk and NOT AquaTclTk. http://www.economia.unimi.it/R/RAquaX11.dmg (15 MB disk image) The idea is that you: launch RAqua, launch X application (the X Server), and from inside R type x11() # just tt set DISPLAY to :0.0. Eventually close this window device, we don't need this. load(tcltk) quartz() demo(tkdensity) It works on my Panther
2002 May 13
2
Interactive R, with wrapper
Hello team of R, We have a question about the interactivity of R in Windows, We are implementing a wrapper in C# for displaying graphics generated by R functions. The application in C# communicates with R by standard input and standard output. (when it is written "interactive()", the response is "FALSE") The problem we have is when writing in the standard input
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...n->secret($ast_password); $astman->host($ast_hostname); my $ast_connected = 1; while( 1 ) { if( $astman->connect ) { $ast_connected = 1; syslog('info', 'Connected to Asterisk!'); $astman->setcallback('DEFAULT', \&status_callback); eval { $astman->eventloop; }; } else { syslog('err', 'Could not connect to Asterisk!') if $ast_connected; $ast_connected = 0; } sleep 1; } sub status_callback { my (%event) = @_; return unless defined(%event); foreach (keys %event) { syslog('debug', "$_: &quot...
2007 May 19
2
Crash in blur.c (SIGSEGV)
...24ad30) at rotate.c:1471 s = (CompScreen *) 0x633f00 rd = (RotateDisplay *) 0xfde0b0 #34 0x00002aaab084dfeb in scaleHandleEvent (d=0x633f00, event=0x7fff0f24ad30) at scale.c:1673 s = <value optimized out> sd = (ScaleDisplay *) 0xfe0220 #35 0x000000000040d750 in eventLoop () at display.c:1503 event = {type = 16, xany = {type = 16, serial = 10885, send_event = 0, display = 0x6481b0, window = 421}, xkey = {type = 16, serial = 10885, send_event = 0, display = 0x6481b0, window = 421, root = 20989986, subwindow = 1318554960192, time = 1756641624704, x = 0...