summaryrefslogtreecommitdiffstats
path: root/src/wrap.c
Commit message (Collapse)AuthorAgeFilesLines
* Remember that locking can failNalin Dahyabhai2013-08-071-9/+12
| | | | | The SLAPI and pthread rwlock functions, unlike the NSPR versions, return result codes which can indicate failure. So don't throw them away.
* drop support for directory server transactionsNalin Dahyabhai2012-06-131-13/+0
| | | | | | | Transaction support the way we added it is an all-or-nothing proposition for a server installation, which turned out to be problematic, so 389 is going to pursue another strategy for that. The new way requires that we not register as a betxn plugin, ever.
* - set the TXN correctly, and don't bother with the internal helper that ↵Nalin Dahyabhai2012-01-161-8/+2
| | | | doesn't know how to use transactions
* - copy PARENT_TXN, tooNalin Dahyabhai2012-01-161-0/+4
|
* - DS doesn't do nested transactions (yet?), so copy the transaction ID verbatimNalin Dahyabhai2012-01-161-1/+1
|
* - expect a parent pblock when we're pulling up a single entryNalin Dahyabhai2012-01-131-3/+4
|
* - always use TXN IDs, if they exist, even if we don't really careNalin Dahyabhai2012-01-131-2/+2
|
* - have slapi_search_internal_get_entry() always set its result to NULL on ↵Nalin Dahyabhai2012-01-111-1/+2
| | | | failure
* - carry the parent TXN ID downNalin Dahyabhai2012-01-101-1/+13
|
* - start with a generic sub-pblock functionNalin Dahyabhai2012-01-101-0/+6
|
* - when building for 389-ds, use Slapi_RWLocks if they appear to be available ↵Nalin Dahyabhai2011-08-161-1/+22
| | | | (the rest of #730394/#730403)
* - separate which thread creation/manipulation/destruction API we useNalin Dahyabhai2011-08-121-14/+18
| | | | from which rwlock creation/manipulation/destruction API we use
* - teach wrap_search_internal_get_entry to take an optional filterNalin Dahyabhai2010-11-221-10/+10
| | | | | - where we were applying a filter test after retrieving an entry, just let the retrieval function do it
* - use a counter to make sure we don't recurse inside the same thread,Nalin Dahyabhai2008-12-021-0/+17
| | | | | which might cause us to try to take a read lock when we're holding the write lock, or vice-versa
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - add a wrapper for the slapi_search_internal_get_entry() functionNalin Dahyabhai2008-07-221-0/+40
|
* - remove unused variablesNalin Dahyabhai2008-06-301-1/+0
| | | | - add a backend_data item to map entries
* - sort out threading startup/shutdown and rwlocking for both NSPR and pthreadsNalin Dahyabhai2008-05-301-0/+235