PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
Configure (config_net) | |
ConfigureFn (config_net) | |
bool | get_net_error_abort () |
double | get_net_max_block () |
double | get_net_max_poll_cycle () |
int | get_net_max_response_queue () |
int | get_net_max_write_queue () |
void | init_libnet () |
Initializes the library. More... | |
std::string | make_thread_name (const std::string &thread_name, int thread_index) |
NotifyCategoryDef (net, "") | |
Variables | |
ConfigVariableInt | net_max_read_per_epoch ("net-max-read-per-epoch", 1024, PRC_DESC("The maximum number of bytes to read from the net in a single " "thread epoch, when SIMPLE_THREADS is defined. This is designed " "to minimize the impact of the networking layer on the other " "threads.")) |
ConfigVariableInt | net_max_write_per_epoch ("net-max-write-per-epoch", 1024, PRC_DESC("The maximum number of bytes to write to the net in a single " "thread epoch, when SIMPLE_THREADS is defined. This is designed " "to minimize the impact of the networking layer on the other " "threads.")) |
ConfigVariableEnum< ThreadPriority > | net_thread_priority ("net-thread-priority", TP_low, PRC_DESC("The default thread priority when creating threaded readers " "or writers.")) |
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."
Definition in file config_net.cxx.
void init_libnet | ( | ) |
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 157 of file config_net.cxx.
References PandaSystem::add_system(), and PandaSystem::get_global_ptr().