added sv_threaded cvar, the server can now be moved to another thread
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 17 Oct 2011 17:02:52 +0000 (17:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 17 Oct 2011 17:02:52 +0000 (17:02 +0000)
commit27b75893ba46058b5ca680f3c2aaae7233fe4270
tree75ab766d851b0b6879ebbd04768e1bd854e22ee2
parentab9e8a37699390a5dc199e4def9cdbaaa59d82cf
added sv_threaded cvar, the server can now be moved to another thread
and execute in parallel with the client code
THIS IS EXPERIMENTAL AND MAY CRASH IF USED
this required adding mutex's to many subsystems...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11437 d7cf8633-e32d-0410-b094-e92efae38249
17 files changed:
cl_demo.c
cl_parse.c
cmd.c
cmd.h
console.c
csprogs.c
fs.c
host.c
keys.c
netconn.c
prvm_cmds.c
server.h
sv_main.c
sv_user.c
svvm_cmds.c
vid_wgl.c
zone.c