pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
2003-03-17
2003-03-17 09:17:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>
f1ee6425eaca28a1e8358ac568d8a56a09f9058d (
8
lines) (+
5
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Reenabled free_object(thread_obj);
Rev: src/threads.c:1.212
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: threads.c,v 1.
211
2003/03/
14
15
:
50
:
47
grubba Exp $
+
|| $Id: threads.c,v 1.
212
2003/03/
17
09
:
17
:
02
grubba Exp $
*/ #ifndef CONFIGURE_TEST #include "global.h"
-
RCSID("$Id: threads.c,v 1.
211
2003/03/
14
15
:
50
:
47
grubba Exp $");
+
RCSID("$Id: threads.c,v 1.
212
2003/03/
17
09
:
17
:
02
grubba Exp $");
PMOD_EXPORT int num_threads = 1; PMOD_EXPORT int threads_disabled = 0;
822:
/* Free ourselves. * NB: This really ought to run in some other thread... */
-
/*
free_object(thread_obj);
*/
+
+
free_object(thread_obj);
thread_obj = NULL; num_threads--;