1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 16:33:13 +02:00

Updated the win32 thread code (maybe it will work now?)

This commit is contained in:
codemastr
2001-06-07 17:43:32 +00:00
parent d043dc3187
commit e889beec33
3 changed files with 9 additions and 13 deletions
+3 -4
View File
@@ -255,10 +255,9 @@ DLLFUNC int h_scan_connect(aClient *sptr)
{
Hook *hook;
HStruct *h;
vFP *vfp;
vFP *vfp;
THREAD thread;
THREAD_ATTR thread_attr;
THREAD_ID id;
THREAD_ATTR thread_attr;
IRCMutexLock(HSlock);
HS_Cleanup((void *)1);
@@ -276,7 +275,7 @@ DLLFUNC int h_scan_connect(aClient *sptr)
{
h->refcnt++;
/* Create thread for connection */
IRCCreateThread(id, thread, thread_attr, (hook->func.voidfunc), h);
IRCCreateThread(thread, thread_attr, (hook->func.voidfunc), h);
}
IRCMutexUnlock(HSlock);
return 1;