2003-11-09
2003-11-09 01:09:22 by Martin Stjernholm <mast@lysator.liu.se>
-
7f851f4a1cc94009316147c252cefb3f78a0f499
(7 lines)
(+5/-2)
[
Show
| Annotate
]
Branch: 7.9
Debug check that the global dynamic buffer isn't in use when switching
threads.
Rev: src/pike_threadlib.h:1.49
Rev: src/threads.c:1.225
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.224 2003/10/19 14:10:05 mast Exp $
+ || $Id: threads.c,v 1.225 2003/11/09 01:09:22 mast Exp $
*/
#ifndef CONFIGURE_TEST
#include "global.h"
- RCSID("$Id: threads.c,v 1.224 2003/10/19 14:10:05 mast Exp $");
+ RCSID("$Id: threads.c,v 1.225 2003/11/09 01:09:22 mast Exp $");
PMOD_EXPORT int num_threads = 1;
PMOD_EXPORT int threads_disabled = 0;
286: Inside #if defined(PIKE_DEBUG)
PMOD_EXPORT const char msg_thr_allow_in_disabled[] =
"Threads allowed from a different thread "
"while threads are disabled.\n";
+ PMOD_EXPORT const char msg_global_dynbuf_in_use[] =
+ "Threads allowed while the global dynamic buffer is in use.\n";
#endif
struct thread_local