apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject [PATCH] updated code to select default atomic ops
Date Sat, 13 Jul 2002 03:43:05 GMT
This patch is my attempt to simplify the platform-specific
conditional logic in apr_atomic.h.

I need a few volunteers to test it on Win32, FreeBSD, Netware,
and OS/390 before I commit.

With this patch, the overriding of the default atomic ops is
mow more granular: you can add #defines for whatever atomic
ops are available natively on your target platform, and the
ifdefs at the end of apr_atomic.h will pull in default
declarations for the ops that are missing.

I've also added a default implementation for platforms without
threads in apr_atomic.c.

--Brian


Mime
View raw message