diff options
author | Aleksandrs Saveljevs <git-no-reply@zabbix.com> | 2010-03-23 14:07:28 +0300 |
---|---|---|
committer | Aleksandrs Saveljevs <git-no-reply@zabbix.com> | 2010-03-23 14:07:28 +0300 |
commit | c7b3343284b5ed83864be0e4f9331fd550270b71 (patch) | |
tree | 8dabff224808627c8f7a51b2b087ba8948ba5d8e /include/threads.h | |
parent | bb8758f0b9ed8761a34d2cc0d90011fe2929101b (diff) |
- fixed typos and removed // comments
[svn merge svn://svn.zabbix.com/branches/1.8 -r 11008:11017]
Diffstat (limited to 'include/threads.h')
-rw-r--r-- | include/threads.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/threads.h b/include/threads.h index d6cec034b13..6c7c7882296 100644 --- a/include/threads.h +++ b/include/threads.h @@ -34,7 +34,7 @@ #define ZBX_THREAD_ENTRY(entry_name, arg_name) \ unsigned __stdcall entry_name (void * arg_name) - #define zbx_tread_exit(status) \ + #define zbx_thread_exit(status) \ _endthreadex((unsigned int)(status)); \ return ((unsigned)(status)) @@ -56,7 +56,7 @@ #define ZBX_THREAD_ENTRY(entry_name, arg_name) \ unsigned entry_name (void * arg_name ) - #define zbx_tread_exit(status) \ + #define zbx_thread_exit(status) \ exit((int)(status)); \ return ((unsigned)(status)) @@ -68,7 +68,7 @@ ZBX_THREAD_HANDLE zbx_thread_start(ZBX_THREAD_ENTRY_POINTER(handler), void *args); int zbx_thread_wait(ZBX_THREAD_HANDLE thread); -/* zbx_tread_exit(status) // declared as define !!! */ +/* zbx_thread_exit(status) -- declared as define !!! */ long int zbx_get_thread_id(void); #endif /* ZABBIX_THREADS_H */ |