httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Tatarinov <tatar...@prairie.NoDak.edu>
Subject Re: Want to add file caching to Apache
Date Thu, 20 Nov 1997 17:15:31 GMT
Charles Randall wrote:
> 
> Would it be prudent to create an abstract Apache-API to shared memory
> and semaphores before starting this work?
> 
> Charles Randall
> crandall@matchlogic.com

Yes, I was going to do that at some point. Unfortunately, this assumes going
down to the assembly language (the compare&swap instruction is not visible
otherwise). I've found that Linux has a macro xchg() that should help on any
486/gcc based system. Not sure about other platforms/compilers; they may not
like assembler stuff at all.

igor

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Igor Tatarinov, graduate student, Computer Science Dept, NDSU
e-mail: tatarino@prairie.nodak.edu   or   itat@acm.org
http://www.cs.ndsu.nodak.edu/~tatarino
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mime
View raw message