[Gtkradiant] [Bug 522] check q3map threading on Linux

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Tue, 14 May 2002 15:54:52 -0500


ttimo@idsoftware.com changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From ttimo@idsoftware.com  2002-05-14 15:54 -------
works for me!


All of the threading changes that I commited to cvs were done in trunk.
the changes are only in: tools/quake3/common/threads.c so apply to both
q3map series (1 & 2).

The patch that TTimo posted to the list would work, but it does a whole
lot of  unnecessary things, like jumping through a bunch of rings to
get around a 2mb stack limit in the pthread lib, which I never found to
be an issue anyway. 

The only fundamental difference between the linux pthread implementation
I added, and the other implementations that were already there was that I 
added recursive mutex locks, so a single thread can hold more than one 
mutex lock, which is really only a safety net.

Gef :]

------- You are receiving this mail because: -------
Whoops!  I have no idea!