acl/lib_acl/include/init/acl_init.h

43 lines
643 B
C
Raw Normal View History

#ifndef __ACL_INIT_INCLUDE_H__
#define __ACL_INIT_INCLUDE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "stdlib/acl_define.h"
/**
* <EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
*/
ACL_API void acl_init(void);
/**
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
*/
ACL_API void acl_end(void);
/**
* <EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD> poll <EFBFBD><EFBFBD><EFBFBD><EFBFBD> select
* @param yesno {int} <EFBFBD><EFBFBD> 0 ʱ<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD> poll
*/
ACL_API void acl_poll_prefered(int yesno);
/**
* <EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ǰ acl <EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD><EFBFBD>Ϣ
* @return {const char*} <EFBFBD><EFBFBD>ǰ acl <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
*/
ACL_API const char *acl_version(void);
/**
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵߳<EFBFBD><EFBFBD>̺߳<EFBFBD>
* @return {unsigned int}
*/
ACL_API unsigned long acl_main_thread_self(void);
#ifdef __cplusplus
}
#endif
#endif