hrmm? A metamod web server? This should be interesting lol -Smurf
----- Original Message ----- From: "dJeyL" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 8:00 AM Subject: Re: [hlcoders] LINUX CPU Threads in the HL Workspace > if you can wait a few days, i'm going to release a metamod plugin that will > include a multi-threaded http (web) server ; it's both linux & win32 > compatible :-) > > (will be open-source, of course) > > cheers, > -- djeyl > > ----- Original Message ----- > From: FragMented <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 11, 2002 10:53 AM > Subject: [hlcoders] LINUX CPU Threads in the HL Workspace > > > > This is a multi-part message in MIME format. > > -- > > [ Picked text/plain from multipart/alternative ] > > Following up from my post ages ago regarding making CPU threads... > > I managed to do it with _createthread, however this only works in win32. > > Is it possible to create a new CPU thread in the server dll under a linux > environment? > > > > I have a mate assisting me with the linux compile: > > > > > > > > Hi, > > > > > > > > I looked for threads in halflife, cause the server crashes when > creating > > > > a > > > > > > > > thread. And I found that: > > > > > nm engine_i386.so |grep -i Thread > > > > > > > > 0008eaa4 T NET_StartThread > > > > 0008eadc T NET_StopThread > > > > 0008e5b8 T NET_ThreadLock > > > > 0008e5c0 T NET_ThreadUnlock > > > > w _pthread_cleanup_pop_restore > > > > w _pthread_cleanup_push_defer > > > > 00395488 B dwNetThreadId > > > > 000b6efc D hNetThread > > > > 000b6d9c d net_thread_initialized > > > > w pthread_mutex_lock > > > > w pthread_mutex_unlock > > > > 000b6d98 D use_thread > > > > > > > > So HL uses threads internally. But they never call pthread_create to > > > > > > create a > > > > > > > thread. Maybe they are using another thread implementation and the two > > > > implementations doesn't like each other. > > > > I'll try to find a solution for that, but I think it will take some > time. > > > > Maybe you have to contact sierra/valve for an answer. > > > > If someone could assist me with this, it would be greatly appreciated. > > > > Cheers guys, > > > > FragMented > > HL Rally PR Manager > > http://hlrally.net > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

