search for: disown

Displaying 20 results from an estimated 44 matches for "disown".

2007 Jul 21
0
[1129] trunk/wxruby2/swig/classes/Window.i: Add DISOWN typemap for ToolTip so it isn''t double-deleted
...px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1129] trunk/wxruby2/swig/classes/Window.i: Add DISOWN typemap for ToolTip so it isn''t double-deleted</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1129</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-07-...
2007 Mar 18
0
[896] branches/wxruby2/wxwidgets_282/swig/classes/Grid.i: Added DISOWN typemap to prevent free_GridCellRenderer crash on GC/exit
...s {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[896] branches/wxruby2/wxwidgets_282/swig/classes/Grid.i: Added DISOWN typemap to prevent free_GridCellRenderer crash on GC/exit</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>896</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-03...
2007 Mar 18
0
[897] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: DISOWN typemap to prevent crash on GC/exit when caret has been set (bug #9093)
...h ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[897] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: DISOWN typemap to prevent crash on GC/exit when caret has been set (bug #9093)</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>897</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> &lt...
2007 Jan 06
0
[837] trunk/wxruby2/swig/classes/Notebook.i: Added DISOWN typemap to avoid segfault on exit on GTK
...0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[837] trunk/wxruby2/swig/classes/Notebook.i: Added DISOWN typemap to avoid segfault on exit on GTK</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>837</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-05 20:19:24 -050...
2007 Jan 05
0
[828] trunk/wxruby2/swig/classes/Sizer.i: Ensure that nested Sizers are disowned and not GC''d (fixes segfault at exit)
...round:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[828] trunk/wxruby2/swig/classes/Sizer.i: Ensure that nested Sizers are disowned and not GC''d (fixes segfault at exit)</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>828</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-05 16:45...
2006 Apr 23
2
Patches for some object tracking
The following two patches (theoretically) tell Ruby that it no longer owns menu items after they have been attached to a frame. We''ll need several more of these DISOWN typemaps as we get further into this. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2019 Jan 30
1
Hook problem
...script for the initial attempt to start B once the background script has been started to implement the DNS check and eventually the delayed start of B. Unfortunately, I cannot find a way to force libvirt to continue until the background script exits. No combination of background execution, nohup, disown, setsid -f, or at seems to detach the process sufficiently to "fool" libvirt into acting on the "exit 1" line in the qemu script and proceed on to start other guests. As a result, the dependency of B on A deadlocks, and neither guest ever starts. Can someone please either find...
2006 Sep 27
1
Menu.i.patch
Patch to disown wxMenuItems after they are attached to a menu. I''ll have a few more like this shortly. I''m using wxPython as a cheat-sheet for parameters that should be ''DISOWN'' Roy _______________________________________________ wxruby-users mailing list wxruby-users@rub...
2006 Aug 26
7
Progress on crashing
...my SpaceMonkeys game as a testbed to try to get rid of crashing problems. Earlier today, it would crash for me almost immediately, every time. Now, I was able to get about 50 turns into the game! I mentioned the first big change in a different email. The new change I just checked in was to add the DISOWN flag to Window#set_sizer. This is the first time (that I know of) that we are really taking advantage of the new SWIG 1.3.29 memory handling features. When a sizer is created in ruby, SWIG assumes that ruby owns it and will eventually delete it. But when you pass it to Window#set_sizer, wx now ass...
2007 Jun 01
0
[1044] trunk/wxruby2: Special memory management for Wx::Grid
...t;lines">@@ -10,6 +10,10 @@ </span><span class="cx"> #include <wx/grid.h> </span><span class="cx"> %} </span><span class="cx"> </span><ins>+ +// Memory management is needed for these classes in addition to *DISOWN +// to prevent premature ruby GC. To save a lot of messy C++ The work is +// done in pure ruby - see lib/wx/classes/grid.rb </ins><span class="cx"> %apply SWIGTYPE *DISOWN { wxGridCellAttr* attr }; </span><span class="cx"> %apply SWIGTYPE *DISOWN { wxGrid...
2017 Nov 10
3
ProxyCommand that creates identity file
...after the file descriptors are passed back to the SSH client. Perhaps I could fetch the identity file, return the fds, and then tunnel the traffic. Unfortunately, it blocks on waitpid(), so this doesn't work either -- I need the process to stay open to tunnel data. I considered trying to fork, disown the child, and run the tunnel inside the child, but unfortunately I am working with Golang, which doesn't allow forking (except to execute another application.) I'm looking for any tips on how I might be able to work around this problem. I'd also be interested in understanding why the...
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be decremented as well. This was noticed by hot-unplugging a virtio console port and then plugging in a new one on the same number (re-using the vqs which were just 'disowned'). qemu reported 'Guest moved used index from 0 to 256' when any IO was attempted on the new port. CC: stable at kernel.org Reported-by: juzhang <juzhang at redhat.com> Signed-off-by: Amit Shah <amit.shah at redhat.com> --- drivers/virtio/virtio_ring.c | 1 + 1...
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be decremented as well. This was noticed by hot-unplugging a virtio console port and then plugging in a new one on the same number (re-using the vqs which were just 'disowned'). qemu reported 'Guest moved used index from 0 to 256' when any IO was attempted on the new port. CC: stable at kernel.org Reported-by: juzhang <juzhang at redhat.com> Signed-off-by: Amit Shah <amit.shah at redhat.com> --- drivers/virtio/virtio_ring.c | 1 + 1...
2016 Oct 23
1
Guest startup process blocks if a hook's child process is still running (i.e : after forking)
...CK_FILE="/tmp/vfio-lock-$OBJECT" if [ "$OPERATION" == "start" ]; then ( touch "$LOCK_FILE"; systemd-inhibit --what="sleep" \ --who="libvirt" \ --mode="block" \ inotifywait -qq -e delete "$LOCK_FILE" ) & disown $! exit fi if [ "$OPERATION" == "shutdown" ]; then rm "$LOCK_FILE" fi Is there some way to make it so libvirt sees the hook script exiting and carries on with the rest of its guest startup process even after a process fork or would that require changes in...
2020 Apr 05
0
Reproducable Crashes in Nouveau with GM204 [GeForce GTX 980]
...ome web, based on webkit): </div> <div> <br> </div> <div> <div> #!/bin/sh </div> <br> <div> time=$(date +%F.%T) </div> <div> stdbuf -oL dmesg --color=always --follow > dmesg.$time.log & disown </div> <div> stdbuf -eL epiphany --private-instance https://webglsamples.org/aquarium/aquarium.html 2>epiphany.$time.log & disown </div> <br> <div> for i in $(seq 1 120); do </div> sleep 1 <br> sync <div>...
2007 Feb 14
0
[872] trunk/wxruby2/swig/classes/Grid.i: Prevent GC prematurely cleaning up Grid-related classes
...:46:20 UTC (rev 872) </span><span class="lines">@@ -9,6 +9,8 @@ </span><span class="cx"> #include <wx/grid.h> </span><span class="cx"> %} </span><span class="cx"> </span><ins>+%apply SWIGTYPE *DISOWN { wxGridCellEditor* editor }; +%apply SWIGTYPE *DISOWN { wxGridCellAttr* attr }; </ins><span class="cx"> </span><span class="cx"> %import "include/wxObject.h" </span><span class="cx"> %import "include/wxEvtHandler.h&q...
2006 Dec 13
1
0.0.38 tag and release
...for 0.0.39 are: - fix the memory crashers with Bitmap and classes that use it (BitmapButton, ImageList, Icon etc). After some work on Weft I''m wondering if these are responsible for a good chunk of problems. Unfortunately I don''t think the solution is as simple as just using DISOWN - but I''d be interested to hear what you think. I''m planning to try and fix this stuff using %markfunc so it works flexibly with ruby''s GC - Add Scintilla for Linux - Roy, sorry, this patch just dropped off my screen. It''s compiling fine but just not appearing...
2007 Feb 14
0
[873] trunk/wxruby2/swig/classes/GridCellAttr.i: Prevent GC prematurely cleaning up GridCellAttr-related classes
...;cx"> #include <wx/grid.h> </span><span class="cx"> %} </span><span class="cx"> </span><del>-#This is to get arround SWIG trying to call a protected destructor -%nodefault wxGridCellAttr; </del><ins>+%apply SWIGTYPE *DISOWN { wxGridCellEditor* editor }; +%apply SWIGTYPE *DISOWN { wxGridCellRenderer* renderer }; </ins><span class="cx"> </span><ins>+// This is to get arround SWIG trying to call a protected destructor +%nodefaultdtor wxGridCellAttr; + </ins><span class="cx...
2007 May 07
0
[1017] trunk/wxruby2/Changelog: Update changelog with 0.0.40 changes
...use of ampersand in Wx::Control labels (AF) +- 2.8 API: Control, ComboBox, Colour (AF) +- Fixes to printing sample for 2.8 API (AF) +- Fix compile error on Mac with wxFontDialog (SL) +- Some tweaks to the grid and wizard smaples (SL) +- Fix Stock Object initialization in App.i for 2.8 (AF) +- Added DISOWN typemap to fix Caret crash on exit (AF) +- Added DISOWN typemap to fix GriDCellRenderer-related crash (AF) +- Fix Window#GetChildren method for 2.8 (AF) +- 2.8 API: Window, BitmapButton, Bitmap, AcceleratorTable +- Fix crash on exit in fixdeleting.rb (Artur Kuptel) +- Prevent SWIG generating wrappe...
2007 May 28
0
[1033] trunk/wxruby2/swig: GC fixes for nested sizers; fix crashes in html.rb demo
...gt;+// shared functions for GC marking +%include "../shared/sizers.i" +%markfunc wxSizer "mark_wxSizer"; </ins><span class="cx"> </span><del>-// Any nested sizers passed to Add() in are owned by C++, not GC''d by Ruby -%apply SWIGTYPE *DISOWN { wxSizer* sizer }; - </del><span class="cx"> %import "include/wxObject.h" </span><span class="cx"> </span><span class="cx"> %include "include/wxSizer.h" </span></span></pre></div> <a i...