Apache 1.3 API Documentation

Constant MULTI_ERR

Definition:

#include "multithread.h"
     

Usage example:

static int
map_rv(int rv)
{ 
    switch(rv)
    { 
    case WAIT_OBJECT_0: 
    case WAIT_ABANDONED: 
        return(MULTI_OK); 
    case WAIT_TIMEOUT: 
        return(MULTI_TIMEOUT); 
    case WAIT_FAILED: 
        return(MULTI_ERR); 
    default: 
        assert(0); 
    } 
 
    assert(0); 
    return(0); 
} 
     

Constant used for thread error return value.

See also:
ap_acquire_mutex, MULTI_OK, MULTI_TIMEOUT

Previous: MODULE_MAGIC_NUMBER_MINOR Next: MULTI_OK

Table of Contents (Routines, Structures, Data Cells, Constants)