similar to: wait vs waitpid

Displaying 20 results from an estimated 7000 matches similar to: "wait vs waitpid"

2004 Feb 15
1
Win32::Process fork fragility
Park, I was just playing around with the Process.fork/wait that you committed. I discovered that it''s rather easy to break with this: require "win32/process" include Win32 Dir.chdir ".." # This causes the problem pid = Win32::Process.fork if pid == 0 puts "In the child" exit else puts "In the parent" end Win32::Process.wait(pid) I think
2004 Feb 16
1
Binary logistic model using lrm function
Hello all, Could someone tell me what I am doing wrong here? I am trying to fit a binary logistic model using the lrm function in Design. The dataset I am using has a dichotomous response variable, 'covered' (1-yes, 0-no) with explanatory variables, 'nepall', 'title', 'abstract', 'series', and 'author1.' I am running the following script and
2004 Nov 18
0
FW: problem with win32 waitpid
Forward from Laurent Julliiard. Any suggestions anyone? Dan >From: Laurent Julliard <Laurent.Julliard@xrce.xerox.com> >Reply-To: laurent@moldus.org >To: djberg96@hotmail.com >Subject: problem with win32 waitpid >Date: Thu, 18 Nov 2004 08:49:51 +0100 > >Dan, > >I am one of the developer of the FreeRIDE project (the Ruby
2008 Feb 27
0
Process.waitpid blocking in win32-process
Hi all, Anyone have any ideas on this one? http://rubyforge.org/forum/forum.php?thread_id=13417&forum_id=320 Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the
2016 Apr 14
0
[PATCH] Add safe wrapper around waitpid which deals with EINTR correctly.
Thanks: Eric Blake. --- src/Makefile.am | 1 + src/command.c | 7 ++---- src/guestfs-internal.h | 4 +++ src/launch-direct.c | 11 +++------ src/launch-uml.c | 11 +++------ src/umask.c | 10 ++------ src/wait.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 84 insertions(+), 27 deletions(-) create mode 100644
2001 Mar 25
2
Bug in bsd-waitpid.c and bsd-nextstep.c
Hi! The handling of the "status" information in bsd-waitpid.c and bsd-nextstep.c seems to be bit odd. Patch attached. Best regards, Lutz -- Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129 Universitaetsplatz
2004 Mar 07
1
win32-mmap problem
Hi all, Ruby 1.8.1 (hand built, not the installer) Windows 2000 I was just playing with win32-mmap. I tried running the test_server.rb and test_client.rb. I started the server, which seems to be fine, but when I run the client I get this: C:\eclipse\workspace\win32-mmap-0.1.0\test>ruby test_client.rb C:/ruby/lib/ruby/1.8/ftools.rb:23:in `initialize'': Permission denied -
2016 Apr 14
2
[PATCH] Add safe wrapper around waitpid which deals with EINTR correctly.
As Eric Blake noted in: https://www.redhat.com/archives/libguestfs/2016-April/msg00154.html libguestfs doesn't correctly handle the case where waitpid receives a SIGCHLD signal and the main program has registered a non-restartable signal handler. In this case waitpid would return -EINTR and we would print an error, but actually we should retry this case. This adds two new internal functions,
2004 Nov 18
1
Forward from Laurent Julliard
Let''s try that again, without Hotmail''s crappy formatting. Dan, I am one of the developer of the FreeRIDE project (the Ruby IDE) and I''m in charge of the FreeRIDE debugger with which we have had a number of problems on Windows now mostly due to the clunky implementation of IO/Process/Signal stuff on Win32. I recently came across your Win32 utils package and
2009 Aug 22
1
[PATCH] Add waitpid along guestfs_close path (RHBZ#518747)
Not quite sure what happened to the waitpid()s which were along that path, but at some point they seem to have got deleted. This is a fix for: https://bugzilla.redhat.com/show_bug.cgi?id=518747 I haven't been able to run the tests yet however, because currently Rawhide is broken (ntfsprogs has missing dependencies). Rich. -- Richard Jones, Emerging Technologies, Red Hat
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85 Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error while trying to update my gem collection Initial Comment: C:\ruby>gem update Updating
2004 Feb 15
0
Return values from Process.fork
Park, Right now it looks like Process.fork is return 0 to the parent and a pid to the child. Shouldn''t it be a pid to the parent and nil to the child? Or is that just how it has to work for Win32? Dan _________________________________________________________________ Keep up with high-tech trends here at "Hook''d on Technology."
2004 Feb 24
2
win32-etc cvs
Hi all, I''ve got the beginning of win32-etc 0.2.0 checked into cvs. This includes a new sub-module called Admin that includes the add_user, delete_user, and change_password methods. I eventually will add a config_user method as well, plus whatever else I feel like tossing in. :) One issue I''m having is with the change_password - no matter what I try, I always get
2004 May 01
1
win32-mutex
I''ve committed documentation and a test suite for win32-mutex. Once again, I''m looking for a good sample program that we can use for the test.rb file that really demonstrates what you can accomplish with it. I scoured the web but didn''t find anything good. On another note, I came across another implementation called "fmutex" that I thought might be worth
2004 Apr 24
5
win32-taskscheduler alpha
Well, I''m going to release the first version of win32-taskscheduler today. For now, I''ve kept the API about the same as it originally was because I was spending way too much time futzing around and I wanted to get something out the door. For now, I''m calling this a BETA release, with the API subject to change. See the ''Future Plans'' section of
2004 Mar 09
6
win32-mmap test suite
I just tried running tc_mmap.rb and noticed that something rather curious seems to happen. The call to Mmap.new in setup seems to cause the test suite to just exit without ever actually running the tests. I reduced the test suite to just this bit of code. This works, although the final test (TypeError) does not pass - no exception in thrown. This is 1.8.1 on Win2k. Any ideas? Dan PS - I
2008 Oct 14
1
Starting Server gives an error
Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initialized constant OPTIONS E:/demo/vendor/rails/activesupport/lib/active_suppo rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2003 Jul 23
1
SIGCHLD SIG_IGN, then wait - warning messages
Rsync maintainers please review rsync bug https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=98740 The code in question is in socket.c in start_accept_loop. The user is getting these warning messages:
2020 Feb 27
0
[PATCH nbdkit] server: When using --run, wait for captive nbdkit to exit.
In tests/test-eval.sh we have a test which looks something like this: nbdkit eval close='echo closed > file' --run 'qemu-img info $nbd' if ! grep 'closed' file; then fail; fi However there was a race condition here. nbdkit exits when the --run command exits without waiting for the captive nbdkit subprocess. Thus we couldn't be sure that the final
2007 Dec 27
0
[ win32utils-Patches-16627 ] Replace inefficient busy wait loop with UDP/IP loopback socket.
Patches item #16627, was opened at 2007-12-26 21:13 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=16627&group_id=85 Category: win32-service Group: Code Cleanup Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Replace inefficient busy wait loop with UDP/IP loopback socket. Initial Comment: