added thread_entry for backward compatibility

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1677 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2002-10-26 12:58:12 +00:00
parent faef1e5413
commit 1be91d1603

View File

@ -262,7 +262,7 @@ typedef struct {
#define B_SYSTEM_TIMEBASE 0
typedef int32 (*thread_func) (void *);
// the equivalent thread_entry has been removed (deprecated)
#define thread_entry thread_func /* thread_entry is for backward compatibility only! Use thread_func */
extern thread_id spawn_thread(thread_func, const char *name, int32 priority, void *data);
extern status_t kill_thread(thread_id thread);