Greg Stein <[EMAIL PROTECTED]> writes:
> I'm talking about pure C code. Of course you can do it with VAX architecture
> bit twiddling, or compare-and-swap, or test-and-set, or atomic increments or
> whatever. But those facilities are not available to "plain old C."
It certainly isn't portable, but it can usually be done from C. If
scalability is useful to anybody, forget portability on this... The
only portable notion here is that locks suck. Sure, we have to
provide a generic version with a lock, and perhaps that will be used
on most platforms.
All I'm asking for is that the list operations have semantics such
that people have the ability to write a lock-free platform-specific
version.
Heck, an interface like stack_init(), stack_push(), and stack_pop() as
well as a customizable version of what the stack header looks like
will work fine.
--
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...
- Re: some reasons why Apache 2.0 threaded i... Bill Stoddard
- Re: some reasons why Apache 2.0 threaded is sl... William A. Rowe, Jr.
- Re: some reasons why Apache 2.0 threaded is slower ... Cliff Woolley
- Re: some reasons why Apache 2.0 threaded is sl... Jeff Trawick
- Re: some reasons why Apache 2.0 threaded i... Cliff Woolley
- Re: some reasons why Apache 2.0 thread... Rodent of Unusual Size
- Re: some reasons why Apache 2.0 th... Bill Stoddard
- Re: some reasons why Apache 2.0 th... Greg Stein
- Re: some reasons why Apache 2... Jeff Trawick
- Re: some reasons why Apac... Greg Stein
- Re: some reasons why Apac... Jeff Trawick
- Re: some reasons why Apac... Greg Stein
- Re: some reasons why Apac... David Reid
- Re: some reasons why Apache 2.0 thread... Ben Laurie
- Re: some reasons why Apache 2.0 th... Greg Ames
- Re: some reasons why Apache 2.0 threaded is slower ... Jeff Trawick
- Re: some reasons why Apache 2.0 threaded is slower ... Bill Stoddard
- Re: some reasons why Apache 2.0 threaded is slower ... John Thompson
- Re: some reasons why Apache 2.0 threaded is sl... Forest Come-Peace
