aboutsummaryrefslogtreecommitdiffstats
path: root/include/mutex.h
Commit message (Collapse)AuthorAgeFilesLines
* Move what is left of the uncategorized library to 'core'. There is stilllloyd2008-09-291-54/+0
| | | | | a lot of public key stuff in here that needs to be extracted however, and probably 2-3 other modules worth of stuff to split off (engines, etc)
* Remove old decllloyd2008-09-281-9/+0
|
* Move Default_Mutex (now Noop_Mutex) into modulelloyd2008-09-281-9/+15
|
* Add BOTAN_DLL macro in all needed spots for working DLL export. Basedlloyd2008-04-211-4/+4
| | | | | | | | | | | | on a patch from Joel Low for MSVC, modified and tested with GCC using -fvisibility=hidden and the visibility attribute. Getting this working completely requires making the shared object and static lib builds completely distinct (which is also a win since it allows avoiding -fPIC usage, etc in the static lib). Currently too many things are being exported, though it is an improvement as internal-only code like the bigint_* functions are hidden.
* Change the copyrights in all files in the Botan tree to directly reflectlloyd2008-04-101-1/+1
| | | | | | the actual copyright holders. For rationale, see my post to botan-devel on April 9, subject 'Changing license to directly reflect contributors' (http://www.randombit.net/pipermail/botan-devel/2008-April/000527.html)
* Remove the Named_Mutex_Holder and associated code. Convert all uses tolloyd2008-04-021-12/+0
| | | | | | | | | | | | | | instead allocate a reference to a mutex locally and use the more typical Mutex_Holder RAII object. Named_Mutex_Holder (and in particular the string->mutex mappings contained in the global state) have been found to be pretty expensive in at least some situations (see post by Jack Cummings to monotone-devel 2008-03-12), and doesn't really buy us that much in terms of ease of use. Also, it relies on the global state object, which has shown itself to be a rich source of race conditions and locking bugs. The intent is to incrementally remove all of the shared / global state and require applications to maintain that state where necessary.
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Make Mutex_Factory an abstract class, move the creation of the no-oplloyd2006-07-071-1/+10
| | | | Default_Mutex to the new Default_Mutex_Factory
* Support named mutexes outside of the global library state.lloyd2006-06-251-4/+16
| | | | | | Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message.
* Initial checkin1.5.6lloyd2006-05-181-0/+48