llpumpio.cpp File Reference

Implementation of the i/o pump and related functions. More...

#include "linden_common.h"
#include "llpumpio.h"
#include <map>
#include <set>
#include "apr-1/apr_poll.h"
#include "llapr.h"
#include "llmemtype.h"
#include "llstl.h"

Include dependency graph for llpumpio.cpp:

Go to the source code of this file.

Classes

class  LLChainSleeper
struct  ll_delete_apr_pollset_fd_client_data
 This is a simple helper class to clean up our client data. More...

Functions

void ll_debug_poll_fd (const char *msg, const apr_pollfd_t *poll)
static std::string events_2_string (apr_int16_t events)

Variables

static const S32 DEFAULT_POLL_TIMEOUT = 0
const F32 DEFAULT_CHAIN_EXPIRY_SECS = 30.0f
const F32 SHORT_CHAIN_EXPIRY_SECS = 1.0f
const F32 NEVER_CHAIN_EXPIRY_SECS = 0.0f


Detailed Description

Implementation of the i/o pump and related functions.

Author:
Phoenix
Date:
2004-11-21
LicenseInfo
firstyear=2004&license=viewergpl

Copyright (c) 2004-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llpumpio.cpp.


Function Documentation

static std::string events_2_string ( apr_int16_t  events  )  [static]

Definition at line 272 of file llpumpio.cpp.

References chop_tail_copy().

Referenced by LLPumpIO::pump(), and LLPumpIO::setConditional().

Here is the call graph for this function:

Here is the caller graph for this function:

void ll_debug_poll_fd ( const char *  msg,
const apr_pollfd_t *  poll 
)

Definition at line 85 of file llpumpio.cpp.

References lldebugs, and llendl.

Referenced by LLPumpIO::pump(), and LLPumpIO::setConditional().

Here is the caller graph for this function:


Variable Documentation

const S32 DEFAULT_POLL_TIMEOUT = 0 [static]

Definition at line 65 of file llpumpio.cpp.

Referenced by LLPumpIO::pump().


Generated on Fri May 16 08:35:26 2008 for SecondLife by  doxygen 1.5.5