Branch: Tag:

2004-09-27

2004-09-27 15:12:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed race condition.

Rev: src/program.c:1.565

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.564 2004/08/13 13:05:48 grubba Exp $ + || $Id: program.c,v 1.565 2004/09/27 15:12:09 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.564 2004/08/13 13:05:48 grubba Exp $"); + RCSID("$Id: program.c,v 1.565 2004/09/27 15:12:09 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
3073:       exit_type_stack();    +  free_all_nodes(); +     CDFPRINTF((stderr,    "th(%ld) %p end_first_pass(%d): "    "threads_disabled:%d, compilation_depth:%d\n",
3083:       exit_threads_disable(NULL);    -  free_all_nodes(); -  +     return prog;   }