Commit 902ad2dd authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

[t:3219] Add a #define to indicate that we have...

[t:3219] Add a #define to indicate that we have {{{toku_cachetable_get_and_pin_nonblocking}}}.  Refs #3219.

git-svn-id: file:///svn/toku/tokudb@27599 c7de825b-a66e-492c-adef-691d508d4ae1
parent cf2ad36a
...@@ -171,6 +171,8 @@ int toku_cachetable_get_and_pin(CACHEFILE, CACHEKEY, u_int32_t /*fullhash*/, ...@@ -171,6 +171,8 @@ int toku_cachetable_get_and_pin(CACHEFILE, CACHEKEY, u_int32_t /*fullhash*/,
int toku_cachetable_get_and_pin_nonblocking (CACHEFILE cachefile, CACHEKEY key, u_int32_t fullhash, void**value, long *sizep, int toku_cachetable_get_and_pin_nonblocking (CACHEFILE cachefile, CACHEKEY key, u_int32_t fullhash, void**value, long *sizep,
CACHETABLE_FLUSH_CALLBACK flush_callback, CACHETABLE_FLUSH_CALLBACK flush_callback,
CACHETABLE_FETCH_CALLBACK fetch_callback, void *extraargs); CACHETABLE_FETCH_CALLBACK fetch_callback, void *extraargs);
#define CAN_RELEASE_LOCK_DURING_IO
// Maybe get and pin a memory object. // Maybe get and pin a memory object.
// Effects: This function is identical to the get_and_pin function except that it // Effects: This function is identical to the get_and_pin function except that it
// will not attempt to fetch a memory object that is not in the cachetable. // will not attempt to fetch a memory object that is not in the cachetable.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment