mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Fix util.h exports for cgsem_mswait
This commit is contained in:
parent
c75ce853a9
commit
51f8107b32
3
util.h
3
util.h
@ -124,12 +124,13 @@ void RenameThread(const char* name);
|
|||||||
void _cgsem_init(cgsem_t *cgsem, const char *file, const char *func, const int line);
|
void _cgsem_init(cgsem_t *cgsem, const char *file, const char *func, const int line);
|
||||||
void _cgsem_post(cgsem_t *cgsem, const char *file, const char *func, const int line);
|
void _cgsem_post(cgsem_t *cgsem, const char *file, const char *func, const int line);
|
||||||
void _cgsem_wait(cgsem_t *cgsem, const char *file, const char *func, const int line);
|
void _cgsem_wait(cgsem_t *cgsem, const char *file, const char *func, const int line);
|
||||||
|
int _cgsem_mswait(cgsem_t *cgsem, int ms, const char *file, const char *func, const int line);
|
||||||
void _cgsem_destroy(cgsem_t *cgsem);
|
void _cgsem_destroy(cgsem_t *cgsem);
|
||||||
|
|
||||||
#define cgsem_init(_sem) _cgsem_init(_sem, __FILE__, __func__, __LINE__)
|
#define cgsem_init(_sem) _cgsem_init(_sem, __FILE__, __func__, __LINE__)
|
||||||
#define cgsem_post(_sem) _cgsem_post(_sem, __FILE__, __func__, __LINE__)
|
#define cgsem_post(_sem) _cgsem_post(_sem, __FILE__, __func__, __LINE__)
|
||||||
#define cgsem_wait(_sem) _cgsem_wait(_sem, __FILE__, __func__, __LINE__)
|
#define cgsem_wait(_sem) _cgsem_wait(_sem, __FILE__, __func__, __LINE__)
|
||||||
#define cgmsem_mswait(_sem, _timeout) _cgsem_mswait(_sem, _timeout, __FILE__, __func__, __LINE__)
|
#define cgsem_mswait(_sem, _timeout) _cgsem_mswait(_sem, _timeout, __FILE__, __func__, __LINE__)
|
||||||
#define cgsem_destroy(_sem) _cgsem_destroy(_sem)
|
#define cgsem_destroy(_sem) _cgsem_destroy(_sem)
|
||||||
|
|
||||||
/* Align a size_t to 4 byte boundaries for fussy arches */
|
/* Align a size_t to 4 byte boundaries for fussy arches */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user