tclEvent.c File Reference

#include "tclInt.h"

Go to the source code of this file.

Data Structures

struct  BgError
struct  ErrAssocData
struct  ExitHandler
struct  ThreadSpecificData

Functions

void Tcl_BackgroundError (Tcl_Interp *interp)
void TclBackgroundException (Tcl_Interp *interp, int code)
int TclDefaultBgErrorHandlerObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
void TclSetBgErrorHandler (Tcl_Interp *interp, Tcl_Obj *cmdPrefix)
Tcl_ObjTclGetBgErrorHandler (Tcl_Interp *interp)
void Tcl_CreateExitHandler (Tcl_ExitProc *proc, ClientData clientData)
void Tcl_DeleteExitHandler (Tcl_ExitProc *proc, ClientData clientData)
void Tcl_CreateThreadExitHandler (Tcl_ExitProc *proc, ClientData clientData)
void Tcl_DeleteThreadExitHandler (Tcl_ExitProc *proc, ClientData clientData)
Tcl_ExitProc * Tcl_SetExitProc (Tcl_ExitProc *proc)
void Tcl_Exit (int status)
void TclInitSubsystems (void)
void Tcl_Finalize (void)
void Tcl_FinalizeThread (void)
int TclInExit (void)
int TclInThreadExit (void)
int Tcl_VwaitObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int Tcl_UpdateObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int Tcl_CreateThread (Tcl_ThreadId *idPtr, Tcl_ThreadCreateProc proc, ClientData clientData, int stackSize, int flags)


Function Documentation

void Tcl_BackgroundError ( Tcl_Interp interp  ) 

Definition at line 139 of file tclEvent.c.

References TCL_ERROR, and TclBackgroundException().

void Tcl_CreateExitHandler ( Tcl_ExitProc *  proc,
ClientData  clientData 
)

int Tcl_CreateThread ( Tcl_ThreadId idPtr,
Tcl_ThreadCreateProc  proc,
ClientData  clientData,
int  stackSize,
int  flags 
)

Definition at line 1386 of file tclEvent.c.

References ckalloc, TCL_ERROR, and TclpThreadCreate().

void Tcl_CreateThreadExitHandler ( Tcl_ExitProc *  proc,
ClientData  clientData 
)

void Tcl_DeleteExitHandler ( Tcl_ExitProc *  proc,
ClientData  clientData 
)

Definition at line 626 of file tclEvent.c.

References ckfree, ExitHandler::nextPtr, and Tcl_MutexLock.

void Tcl_DeleteThreadExitHandler ( Tcl_ExitProc *  proc,
ClientData  clientData 
)

void Tcl_Exit ( int  status  ) 

Definition at line 778 of file tclEvent.c.

References INT2PTR, Tcl_Finalize(), Tcl_MutexLock, Tcl_MutexUnlock, Tcl_Panic(), and TclpExit.

Referenced by Tcl_ExitObjCmd(), and Tcl_Main().

Tcl_ExitProc* Tcl_SetExitProc ( Tcl_ExitProc *  proc  ) 

Definition at line 743 of file tclEvent.c.

References Tcl_MutexLock, and Tcl_MutexUnlock.

int Tcl_UpdateObjCmd ( ClientData  clientData,
Tcl_Interp interp,
int  objc,
Tcl_Obj *CONST  objv[] 
)

int Tcl_VwaitObjCmd ( ClientData  clientData,
Tcl_Interp interp,
int  objc,
Tcl_Obj *CONST  objv[] 
)

Tcl_Obj* TclGetBgErrorHandler ( Tcl_Interp interp  ) 

int TclInExit ( void   ) 

Definition at line 1148 of file tclEvent.c.

Referenced by InitNotifier(), Tcl_DbDecrRefCount(), Tcl_DbIncrRefCount(), and Tcl_DbIsShared().

int TclInThreadExit ( void   ) 

Definition at line 1170 of file tclEvent.c.

References ThreadSpecificData::inExit, and TclThreadDataKeyGet().



Generated on Wed Mar 12 12:18:30 2008 by  doxygen 1.5.1