delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/20/16:02:17

From: miguelb AT omega DOT lncc DOT br (Fabricio Chalub)
Subject: fork()
20 Nov 1996 16:02:17 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3293863B.7023.cygnus.gnu-win32@omega.lncc.br>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (Win95; I)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

This simple program:

main () {
  fork();
  printf("Hi");
}

Prints only the first Hi and then triggers an exception
(STATUS_ACCESS_VIOLATION), but when I run it under gdb it works fine! 
Does this happen to anyone?  (btw, vfork() doesn't work either).

[]s fabricio chalub
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019