summaryrefslogtreecommitdiff
path: root/source3/lib/g_lock.c
AgeCommit message (Expand)AuthorFilesLines
2024-11-05s3/g_lock: add g_lock_locks() and g_lock_locks_read() varientsRalph Boehme1-1/+24
2024-10-05s3:g_lock: Do not let pointers to point outside the input bufferPavel Filipenský1-4/+5
2024-05-15smbd: Fix a typo in a few placesVolker Lendecke1-3/+3
2024-05-15g_lock: Fix buffer length check in g_lock_parse()Volker Lendecke1-1/+2
2023-07-13s3:lib: Fix code spellingAndreas Schneider1-3/+3
2023-01-10lib: Use tdb_data_dbg() where appropriateVolker Lendecke1-6/+2
2022-12-09g_lock: check for zero timeout in g_lock_lock()Ralph Boehme1-0/+4
2022-09-20s3:g_lock: add callback function to g_lock_lock()Stefan Metzmacher1-3/+13
2022-09-20s3:g_lock: add callback function to g_lock_lock_send()Stefan Metzmacher1-2/+20
2022-09-20s3:g_lock: add callback function to g_lock_lock_simple_fn()Stefan Metzmacher1-8/+36
2022-09-20s3:g_lock: add callback function to g_lock_trylock()Stefan Metzmacher1-13/+99
2022-09-20s3:g_lock: reorder the logic in g_lock_trylock()Stefan Metzmacher1-43/+26
2022-09-20s3:g_lock: remove redundant code in g_lock_trylock()Stefan Metzmacher1-10/+0
2022-09-20s3:g_lock: add g_lock_ctx->busy and assert it to falseStefan Metzmacher1-1/+22
2022-09-20s3:g_lock: add g_lock_lock_cb_state infrastructureStefan Metzmacher1-0/+242
2022-09-20s3:g_lock: reorder the logic in g_lock_lock_simple_fn()Stefan Metzmacher1-18/+19
2022-09-20s3:g_lock: fix error handling in g_lock_watch_data_send()Stefan Metzmacher1-4/+6
2022-08-19s3:g_lock: avoid useless talloc_array(0) in g_lock_dump()Stefan Metzmacher1-6/+8
2022-08-19s3:g_lock: add some const to the shared array passed via g_lock_dump*()Stefan Metzmacher1-3/+3
2022-08-11s3:g_lock: use TDB_VOLATILE to avoid fcntl locksStefan Metzmacher1-1/+1
2022-07-26s3:g_lock: try to keep the watch instance during g_lock_watch_data()Stefan Metzmacher1-2/+29
2022-07-26s3:g_lock: remember an unique_lock_epoch similar to unique_data_epochStefan Metzmacher1-2/+17
2022-07-26s3:g_lock: avoid a lot of unused overhead using the new dbwrap_watch featuresStefan Metzmacher1-2/+128
2022-07-26s3:g_lock: always call g_lock_cleanup_shared() before getting stuck on lck.nu...Stefan Metzmacher1-0/+4
2022-07-26s3:g_lock: avoid calling g_lock_store() from g_lock_cleanup_dead()Stefan Metzmacher1-23/+14
2022-07-26s3:dbwrap_watch: allow callers of dbwrap_watched_watch_send/recv() to manage ...Stefan Metzmacher1-5/+5
2021-11-11lib: Fix a debug typo in g_lock.cVolker Lendecke1-1/+1
2021-03-09g_lock: Add extensive debug informationVolker Lendecke1-5/+28
2021-03-05g_lock: Fix uninitalized variable readsVolker Lendecke1-2/+2
2020-07-08s3:g_lock: avoid very expensive generate_random_buffer() in g_lock_parse()Stefan Metzmacher1-19/+19
2020-05-15lib: Add g_lock_dump_send/recvVolker Lendecke1-0/+65
2020-05-15lib: Add g_lock_set_lock_order()Volker Lendecke1-1/+34
2020-05-15lib: Add g_lock_writev_dataVolker Lendecke1-16/+32
2020-05-15lib: Allow additional dbufs in g_lock_store()Volker Lendecke1-18/+36
2020-05-15lib: Add g_lock_seqnum()Volker Lendecke1-0/+5
2020-05-15lib: Add g_lock_wake_watchers()Volker Lendecke1-0/+35
2020-05-15lib: Add g_lock_watch_data_send/recv()Volker Lendecke1-7/+206
2019-12-22lib: Fix contending with a READ lockVolker Lendecke1-0/+2
2019-11-26g_lock: Speed up sync g_lock_lock()Volker Lendecke1-2/+86
2019-11-26g_lock: Move a variable inside the block were it's usedVolker Lendecke1-2/+1
2019-11-26g_lock: Factor out g_lock_cleanup_shared()Volker Lendecke1-27/+29
2019-11-22lib: Change the g_lock data modelVolker Lendecke1-247/+398
2019-11-22lib: Add g_lock_ctx_init_backend()Volker Lendecke1-19/+32
2019-11-22lib: Make struct g_lock_rec private to g_lock.cVolker Lendecke1-0/+5
2019-11-22g_lock: Change prototype of g_lock_dumpVolker Lendecke1-9/+40
2019-11-22g_lock: Pass "data" down to g_lock_trylock()Volker Lendecke1-8/+8
2019-11-22dbwrap: Pass "value" to dbwrap_do_locked() callbackVolker Lendecke1-11/+12
2019-11-06lib: Avoid includes.h in g_lock.cVolker Lendecke1-1/+5
2019-11-06lib: Remove g_lock_do()Volker Lendecke1-64/+0
2019-11-06g_lock: Avoid sys_random(), use generate_random()Volker Lendecke1-2/+2