llapp.cpp File Reference

Implementation of the LLApp class. More...

#include "linden_common.h"
#include "llapp.h"
#include "llcommon.h"
#include "llapr.h"
#include "llerrorcontrol.h"
#include "llerrorthread.h"
#include "llframetimer.h"
#include "llmemory.h"
#include "lltimer.h"
#include <unistd.h>

Include dependency graph for llapp.cpp:

Go to the source code of this file.

Functions

void setup_signals ()
void default_unix_signal_handler (int signum, siginfo_t *info, void *)
void clear_signals ()

Variables

const S32 LL_SMACKDOWN_SIGNAL = SIGUSR1


Detailed Description

Implementation of the LLApp class.

LicenseInfo
firstyear=2003&license=viewergpl

Copyright (c) 2003-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llapp.cpp.


Function Documentation

void clear_signals (  ) 

Definition at line 475 of file llapp.cpp.

References LL_SMACKDOWN_SIGNAL, and NULL.

Referenced by default_unix_signal_handler().

void default_unix_signal_handler ( int  signum,
siginfo_t *  info,
void  
)

Definition at line 509 of file llapp.cpp.

References clear_signals(), count, LLApp::incSigChildCount(), LLApp::isError(), LLApp::isQuitting(), LLApp::isStopped(), LLError::LEVEL_NONE, LL_SMACKDOWN_SIGNAL, llendl, llinfos, llwarns, ms_sleep(), LLApp::sChildMap, LLApp::sErrorThreadRunning, LLError::setDefaultLevel(), LLApp::setError(), LLApp::setQuitting(), LLApp::sLogInSignal, and TRUE.

Referenced by setup_signals().

void setup_signals (  ) 

Definition at line 440 of file llapp.cpp.

References default_unix_signal_handler(), LL_SMACKDOWN_SIGNAL, and NULL.

Referenced by LLApp::setupErrorHandling().


Variable Documentation

const S32 LL_SMACKDOWN_SIGNAL = SIGUSR1

Definition at line 54 of file llapp.cpp.

Referenced by clear_signals(), default_unix_signal_handler(), and setup_signals().


Generated on Thu Jul 1 06:10:05 2010 for Second Life Viewer by  doxygen 1.4.7