Panda3D
Functions | Variables
config_pipeline.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "config_pipeline.h"
#include "cycleData.h"
#include "mainThread.h"
#include "externalThread.h"
#include "genericThread.h"
#include "thread.h"
#include "pandaSystem.h"
#include "dconfig.h"

Go to the source code of this file.

Functions

 ConfigureDef (config_pipeline)
 
 ConfigureFn (config_pipeline)
 
void init_libpipeline ()
 Initializes the library. More...
 
 NotifyCategoryDef (pipeline, "")
 
 NotifyCategoryDef (thread, "")
 

Variables

ConfigVariableBool name_deleted_mutexes ("name-deleted-mutexes", false, PRC_DESC("Set this true to allocate a name to each Mutex object that " "destructs, so if the Mutex is locked after destruction, we can " "print out its name to aid debugging. This is only available " "when compiled with DEBUG_THREADS. Enabling this variable will " "cause a memory leak, so you should only enable it when you are " "specifically tracking down an operation on a deleted Mutex. " "It is not guaranteed to work, of course, because the memory " "for a deleted Mutex may become reused for some other purpose."))
 
ConfigVariableBool support_threads ("support-threads", true, PRC_DESC("Set this false to disallow the creation of threads using Panda's " "Thread interface, even if threading support is compiled in. This " "does not affect the operation of mutexes and other synchronization " "primitives, just the creation of threads."))
 
ConfigVariableInt thread_stack_size ("thread-stack-size", 4194304, PRC_DESC("Specifies the minimum size, in bytes, of the stack that will be " "created for each newly-created thread. Not all thread " "implementations respect this value."))
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2006-03-28

Definition in file config_pipeline.cxx.

Function Documentation

◆ init_libpipeline()

void init_libpipeline ( )

Initializes the library.

This must be called at least once before any of the functions or classes in this library can be used. Normally it will be called by the static initializers and need not be called explicitly, but special cases exist.

Definition at line 67 of file config_pipeline.cxx.

References PandaSystem::add_system(), and PandaSystem::get_global_ptr().