SYMBOL INDEX (239 symbols across 18 files) FILE: co_comm.h function class (line 5) | class clsCoMutex { function class (line 18) | class clsSmartLock { FILE: co_epoll.cpp function co_epoll_wait (line 27) | int co_epoll_wait( int epfd,struct co_epoll_res *events,int maxevents,in... function co_epoll_ctl (line 31) | int co_epoll_ctl( int epfd,int op,int fd,struct epoll_event * ev ) function co_epoll_create (line 35) | int co_epoll_create( int size ) type co_epoll_res (line 40) | struct co_epoll_res type co_epoll_res (line 42) | struct co_epoll_res type co_epoll_res (line 43) | struct co_epoll_res type co_epoll_res (line 43) | struct co_epoll_res type epoll_event (line 46) | struct epoll_event type epoll_event (line 46) | struct epoll_event function co_epoll_res_free (line 51) | void co_epoll_res_free( struct co_epoll_res * ptr ) class clsFdMap (line 59) | class clsFdMap // million of fd , 1024 * 1024 method clsFdMap (line 67) | clsFdMap() method clear (line 82) | inline int clear( int fd ) method set (line 87) | inline int set( int fd,const void * ptr ) function clsFdMap (line 118) | static inline clsFdMap *get_fd_map() method clsFdMap (line 67) | clsFdMap() method clear (line 82) | inline int clear( int fd ) method set (line 87) | inline int set( int fd,const void * ptr ) type kevent_pair_t (line 127) | struct kevent_pair_t function co_epoll_create (line 133) | int co_epoll_create( int size ) function co_epoll_wait (line 137) | int co_epoll_wait( int epfd,struct co_epoll_res *events,int maxevents,in... function co_epoll_del (line 180) | int co_epoll_del( int epfd,int fd ) function co_epoll_ctl (line 206) | int co_epoll_ctl( int epfd,int op,int fd,struct epoll_event * ev ) type co_epoll_res (line 296) | struct co_epoll_res type co_epoll_res (line 298) | struct co_epoll_res type co_epoll_res (line 299) | struct co_epoll_res type co_epoll_res (line 299) | struct co_epoll_res type epoll_event (line 302) | struct epoll_event type epoll_event (line 302) | struct epoll_event type kevent (line 303) | struct kevent type kevent (line 303) | struct kevent function co_epoll_res_free (line 308) | void co_epoll_res_free( struct co_epoll_res * ptr ) FILE: co_epoll.h type co_epoll_res (line 33) | struct co_epoll_res type co_epoll_res (line 39) | struct co_epoll_res type epoll_event (line 40) | struct epoll_event type co_epoll_res (line 42) | struct co_epoll_res type co_epoll_res (line 43) | struct co_epoll_res type EPOLL_EVENTS (line 48) | enum EPOLL_EVENTS type epoll_data_t (line 63) | typedef union epoll_data type epoll_event (line 72) | struct epoll_event type co_epoll_res (line 78) | struct co_epoll_res type co_epoll_res (line 84) | struct co_epoll_res type epoll_event (line 85) | struct epoll_event type co_epoll_res (line 87) | struct co_epoll_res type co_epoll_res (line 88) | struct co_epoll_res FILE: co_hook_sys_call.cpp type rpchook_t (line 52) | struct rpchook_t type sockaddr_in (line 55) | struct sockaddr_in type timeval (line 58) | struct timeval type timeval (line 59) | struct timeval function pid_t (line 61) | static inline pid_t GetPid() type sockaddr (line 69) | struct sockaddr type sockaddr (line 76) | struct sockaddr type sockaddr (line 80) | struct sockaddr type pollfd (line 86) | struct pollfd type tm (line 91) | struct tm type tm (line 91) | struct tm type pollfd (line 101) | struct pollfd type hostent (line 102) | struct hostent type hostent (line 102) | struct hostent function get_tick_count (line 153) | static inline unsigned long long get_tick_count() type rpchook_connagent_head_t (line 162) | struct rpchook_connagent_head_t type in_addr (line 165) | struct in_addr function ll64_t (line 176) | static inline ll64_t diff_ms(struct timeval &begin,struct timeval &end) function rpchook_t (line 186) | static inline rpchook_t * get_by_fd( int fd ) type sockaddr_in (line 55) | struct sockaddr_in type timeval (line 58) | struct timeval type timeval (line 59) | struct timeval function rpchook_t (line 194) | static inline rpchook_t * alloc_by_fd( int fd ) type sockaddr_in (line 55) | struct sockaddr_in type timeval (line 58) | struct timeval type timeval (line 59) | struct timeval function free_by_fd (line 206) | static inline void free_by_fd( int fd ) function socket (line 220) | int socket(int domain, int type, int protocol) function co_accept (line 242) | int co_accept( int fd, struct sockaddr *addr, socklen_t *len ) function connect (line 252) | int connect(int fd, const struct sockaddr *address, socklen_t address_len) function close (line 320) | int close(int fd) function read (line 334) | ssize_t read( int fd, void *buf, size_t nbyte ) function write (line 369) | ssize_t write( int fd, const void *buf, size_t nbyte ) function sendto (line 422) | ssize_t sendto(int socket, const void *message, size_t length, function recvfrom (line 463) | ssize_t recvfrom(int socket, void *buffer, size_t length, function send (line 492) | ssize_t send(int socket, const void *buffer, size_t length, int flags) function recv (line 543) | ssize_t recv( int socket, void *buffer, size_t length, int flags ) type pollfd (line 578) | struct pollfd function poll (line 580) | int poll(struct pollfd fds[], nfds_t nfds, int timeout) function setsockopt (line 626) | int setsockopt(int fd, int level, int option_name, function fcntl (line 653) | int fcntl(int fildes, int cmd, ...) type stCoSysEnv_t (line 745) | struct stCoSysEnv_t type stCoSysEnvArr_t (line 750) | struct stCoSysEnvArr_t function stCoSysEnvArr_t (line 755) | static stCoSysEnvArr_t *dup_co_sysenv_arr( stCoSysEnvArr_t * arr ) function co_sysenv_comp (line 767) | static int co_sysenv_comp(const void *a, const void *b) function co_set_env_list (line 775) | void co_set_env_list( const char *name[],size_t cnt) function setenv (line 812) | int setenv(const char *n, const char *value, int overwrite) function unsetenv (line 844) | int unsetenv(const char *n) type hostent (line 902) | struct hostent type hostent (line 904) | struct hostent function co_gethostbyname_r (line 920) | int co_gethostbyname_r(const char* __restrict name, function gethostbyname_r (line 934) | int gethostbyname_r(const char* __restrict name, type res_state_wrap (line 954) | struct res_state_wrap type __res_state (line 956) | struct __res_state function res_state (line 962) | res_state __res_state() function __poll (line 973) | int __poll(struct pollfd fds[], nfds_t nfds, int timeout) type hostbuf_wrap (line 979) | struct hostbuf_wrap type hostent (line 981) | struct hostent type hostent (line 990) | struct hostent type hostent (line 1008) | struct hostent type hostent (line 1009) | struct hostent function co_enable_hook_sys (line 1031) | void co_enable_hook_sys() //这函数必须在这里,否则本文件会被忽略!!! FILE: co_routine.cpp type stCoEpoll_t (line 49) | struct stCoEpoll_t type stTimeout_t (line 317) | struct stTimeout_t type stTimeoutItemLink_t (line 319) | struct stTimeoutItemLink_t type stTimeoutItemLink_t (line 321) | struct stTimeoutItemLink_t type stCoRoutineEnv_t (line 51) | struct stCoRoutineEnv_t function co_log_err (line 62) | void co_log_err( const char *fmt,... ) function counter (line 68) | static unsigned long long counter(void) function getCpuKhz (line 80) | static unsigned long long getCpuKhz() function GetTickMS (line 102) | static unsigned long long GetTickMS() function RemoveFromLink (line 152) | void RemoveFromLink(T *ap) function AddTail (line 192) | void inline AddTail(TLink*apLink,TNode *ap) function PopHead (line 213) | void inline PopHead( TLink*apLink ) function Join (line 239) | void inline Join( TLink*apLink,TLink *apOther ) function stStackMem_t (line 269) | stStackMem_t* co_alloc_stackmem(unsigned int stack_size) function stShareStack_t (line 279) | stShareStack_t* co_alloc_sharestack(int count, int stack_size) function stStackMem_t (line 296) | static stStackMem_t* co_get_stackmem(stShareStack_t* share_stack) type stTimeoutItemLink_t (line 310) | struct stTimeoutItemLink_t type stTimeoutItem_t (line 311) | struct stTimeoutItem_t type stCoEpoll_t (line 312) | struct stCoEpoll_t type stTimeout_t (line 317) | struct stTimeout_t type stTimeoutItemLink_t (line 319) | struct stTimeoutItemLink_t type stTimeoutItemLink_t (line 321) | struct stTimeoutItemLink_t type epoll_event (line 326) | struct epoll_event type stTimeoutItem_t (line 328) | struct stTimeoutItem_t type stTimeoutItemLink_t (line 347) | struct stTimeoutItemLink_t type stTimeout_t (line 353) | struct stTimeout_t function stTimeout_t (line 361) | stTimeout_t *AllocTimeout( int iSize ) function FreeTimeout (line 373) | void FreeTimeout( stTimeout_t *apTimeout ) function AddTimeout (line 378) | int AddTimeout( stTimeout_t *apTimeout,stTimeoutItem_t *apItem ,unsigned... function TakeAllTimeout (line 413) | inline void TakeAllTimeout( stTimeout_t *apTimeout,unsigned long long al... function CoRoutineFunc (line 444) | static int CoRoutineFunc( stCoRoutine_t *co,void * ) type stCoRoutine_t (line 461) | struct stCoRoutine_t function co_create (line 521) | int co_create( stCoRoutine_t **ppco,const stCoRoutineAttr_t *attr,pfn_co... function co_free (line 531) | void co_free( stCoRoutine_t *co ) function co_release (line 551) | void co_release( stCoRoutine_t *co ) function co_resume (line 558) | void co_resume( stCoRoutine_t *co ) function co_reset (line 576) | void co_reset(stCoRoutine_t * co) function co_yield_env (line 597) | void co_yield_env( stCoRoutineEnv_t *env ) function co_yield_ct (line 608) | void co_yield_ct() function co_yield (line 613) | void co_yield( stCoRoutine_t *co ) function save_stack_buffer (line 618) | void save_stack_buffer(stCoRoutine_t* occupy_co) function co_swap (line 635) | void co_swap(stCoRoutine_t* curr, stCoRoutine_t* pending_co) type stPollItem_t (line 685) | struct stPollItem_t type pollfd (line 703) | struct pollfd type epoll_event (line 706) | struct epoll_event type stPoll_t (line 686) | struct stPoll_t : public stTimeoutItem_t type pollfd (line 688) | struct pollfd type stPollItem_t (line 701) | struct stPollItem_t : public stTimeoutItem_t type pollfd (line 703) | struct pollfd type epoll_event (line 706) | struct epoll_event function PollEvent2Epoll (line 717) | static uint32_t PollEvent2Epoll( short events ) function EpollEvent2Poll (line 728) | static short EpollEvent2Poll( uint32_t events ) function co_init_curr_thread_env (line 742) | void co_init_curr_thread_env() function stCoRoutineEnv_t (line 761) | stCoRoutineEnv_t *co_get_curr_thread_env() function OnPollProcessEvent (line 766) | void OnPollProcessEvent( stTimeoutItem_t * ap ) function OnPollPreparePfn (line 772) | void OnPollPreparePfn( stTimeoutItem_t * ap,struct epoll_event &e,stTime... function co_eventloop (line 793) | void co_eventloop( stCoEpoll_t *ctx,pfn_co_eventloop_t pfn,void *arg ) function OnCoroutineEvent (line 870) | void OnCoroutineEvent( stTimeoutItem_t * ap ) function stCoEpoll_t (line 877) | stCoEpoll_t *AllocEpoll() type stTimeout_t (line 317) | struct stTimeout_t type stTimeoutItemLink_t (line 319) | struct stTimeoutItemLink_t type stTimeoutItemLink_t (line 321) | struct stTimeoutItemLink_t function FreeEpoll (line 891) | void FreeEpoll( stCoEpoll_t *ctx ) function stCoRoutine_t (line 903) | stCoRoutine_t *GetCurrCo( stCoRoutineEnv_t *env ) function stCoRoutine_t (line 907) | stCoRoutine_t *GetCurrThreadCo( ) type pollfd (line 916) | struct pollfd function co_poll_inner (line 917) | int co_poll_inner( stCoEpoll_t *ctx,struct pollfd fds[], nfds_t nfds, in... function co_poll (line 1030) | int co_poll( stCoEpoll_t *ctx,struct pollfd fds[], nfds_t nfds, int time... function SetEpoll (line 1035) | void SetEpoll( stCoRoutineEnv_t *env,stCoEpoll_t *ev ) function stCoEpoll_t (line 1039) | stCoEpoll_t *co_get_epoll_ct() type stTimeout_t (line 317) | struct stTimeout_t type stTimeoutItemLink_t (line 319) | struct stTimeoutItemLink_t type stTimeoutItemLink_t (line 321) | struct stTimeoutItemLink_t type stHookPThreadSpec_t (line 1047) | struct stHookPThreadSpec_t function co_setspecific (line 1066) | int co_setspecific(pthread_key_t key, const void *value) function co_disable_hook_sys (line 1079) | void co_disable_hook_sys() function co_is_enable_sys_hook (line 1087) | bool co_is_enable_sys_hook() function stCoRoutine_t (line 1093) | stCoRoutine_t *co_self() type stCoCond_t (line 1099) | struct stCoCond_t type stCoCondItem_t (line 1100) | struct stCoCondItem_t type stCoCond_t (line 1108) | struct stCoCond_t function OnSignalProcessEvent (line 1113) | static void OnSignalProcessEvent( stTimeoutItem_t * ap ) function co_cond_signal (line 1120) | int co_cond_signal( stCoCond_t *si ) function co_cond_broadcast (line 1133) | int co_cond_broadcast( stCoCond_t *si ) function co_cond_timedwait (line 1149) | int co_cond_timedwait( stCoCond_t *link,int ms ) function stCoCond_t (line 1177) | stCoCond_t *co_cond_alloc() function co_cond_free (line 1181) | int co_cond_free( stCoCond_t * cc ) function stCoCondItem_t (line 1188) | stCoCondItem_t *co_cond_pop( stCoCond_t *link ) FILE: co_routine.h type stCoRoutine_t (line 28) | struct stCoRoutine_t type stShareStack_t (line 29) | struct stShareStack_t type stCoEpoll_t (line 42) | struct stCoEpoll_t type pollfd (line 57) | struct pollfd type stCoCond_t (line 76) | struct stCoCond_t FILE: co_routine_inner.h type stCoRoutineEnv_t (line 24) | struct stCoRoutineEnv_t type stCoSpec_t (line 25) | struct stCoSpec_t type stStackMem_t (line 30) | struct stStackMem_t type stShareStack_t (line 39) | struct stShareStack_t type stCoRoutine_t (line 49) | struct stCoRoutine_t type stTimeout_t (line 93) | struct stTimeout_t type stTimeoutItem_t (line 94) | struct stTimeoutItem_t type stCoEpoll_t (line 100) | struct stCoEpoll_t FILE: coctx.cpp function coctx_init (line 89) | int coctx_init(coctx_t* ctx) { function coctx_make (line 93) | int coctx_make(coctx_t* ctx, coctx_pfn_t pfn, const void* s, const void*... function coctx_make (line 110) | int coctx_make(coctx_t* ctx, coctx_pfn_t pfn, const void* s, const void*... function coctx_init (line 127) | int coctx_init(coctx_t* ctx) { FILE: coctx.h type coctx_param_t (line 23) | struct coctx_param_t type coctx_t (line 28) | struct coctx_t FILE: example_closure.cpp function batch_exec (line 33) | static void batch_exec( vector &v ) function main (line 47) | int main( int argc,char *argv[] ) FILE: example_cond.cpp type stTask_t (line 25) | struct stTask_t type stEnv_t (line 29) | struct stEnv_t function main (line 68) | int main() FILE: example_copystack.cpp function main (line 44) | int main() FILE: example_echocli.cpp type stEndPoint (line 39) | struct stEndPoint function SetAddr (line 45) | static void SetAddr(const char *pszIP,const unsigned short shPort,struct... function AddSuccCnt (line 70) | void AddSuccCnt() function AddFailCnt (line 85) | void AddFailCnt() type sockaddr_in (line 116) | struct sockaddr_in type sockaddr (line 118) | struct sockaddr type pollfd (line 122) | struct pollfd function main (line 182) | int main(int argc,char *argv[]) FILE: example_echosvr.cpp type task_t (line 45) | struct task_t function SetNonBlock (line 53) | static int SetNonBlock(int iSock) type pollfd (line 85) | struct pollfd type sockaddr (line 106) | struct sockaddr type pollfd (line 118) | struct pollfd type sockaddr_in (line 125) | struct sockaddr_in type sockaddr (line 129) | struct sockaddr type pollfd (line 132) | struct pollfd function SetAddr (line 152) | static void SetAddr(const char *pszIP,const unsigned short shPort,struct... function CreateTcpSocket (line 173) | static int CreateTcpSocket(const unsigned short shPort /* = 0 */,const c... function main (line 199) | int main(int argc,char *argv[]) FILE: example_poll.cpp type task_t (line 43) | struct task_t type sockaddr_in (line 47) | struct sockaddr_in function SetNonBlock (line 50) | static int SetNonBlock(int iSock) function SetAddr (line 63) | static void SetAddr(const char *pszIP,const unsigned short shPort,struct... function CreateTcpSocket (line 84) | static int CreateTcpSocket(const unsigned short shPort = 0 ,const char ... type sockaddr (line 120) | struct sockaddr type pollfd (line 124) | struct pollfd type pollfd (line 124) | struct pollfd type pollfd (line 124) | struct pollfd function main (line 180) | int main(int argc,char *argv[]) FILE: example_setenv.cpp type stRoutineArgs_t (line 31) | struct stRoutineArgs_t function SetAndGetEnv (line 35) | void SetAndGetEnv(int iRoutineID) function main (line 75) | int main(int argc, char* argv[]) FILE: example_specific.cpp type stRoutineArgs_t (line 26) | struct stRoutineArgs_t type stRoutineSpecificData_t (line 31) | struct stRoutineSpecificData_t function main (line 50) | int main() FILE: example_thread.cpp function loop (line 30) | int loop(void *) function main (line 40) | int main(int argc,char *argv[])