Changeset 903 for trunk/utils.h


Ignore:
Timestamp:
2012-06-11T09:25:22+02:00 (2 years ago)
Author:
moo
Message:

fixed #281: changing zend_error may left unclean set up when timeout occur; zend_error is not thread local

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.h

    r860 r903  
    4040#endif /* XCACHE_DEBUG */ 
    4141#include <assert.h> 
     42 
     43int xc_util_init(int module_number TSRMLS_DC); 
     44void xc_util_destroy(); 
    4245 
    4346typedef struct { 
     
    104107#ifdef XCACHE_ERROR_CACHING 
    105108    int orig_user_error_handler_error_reporting; 
    106     void (*orig_zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args); 
    107109    zend_uint compilererror_cnt; 
    108110    zend_uint compilererror_size; 
Note: See TracChangeset for help on using the changeset viewer.