17 #ifndef NDB_LS_IMPL_HPP 
   18 #define NDB_LS_IMPL_HPP 
   20 #include "LongSignal.hpp" 
   22 #ifdef NDBD_MULTITHREADED 
   24 #define SPC_ARG SectionSegmentPool::Cache& cache, 
   25 #define SPC_SEIZE_ARG f_section_lock, cache, 
   26 #define SPC_CACHE_ARG cache, 
   28 SectionSegmentPool::LockFun
 
   43 #define relSz(x) ((x == 0)? 1 : ((x + SectionSegment::DataLength - 1) / SectionSegment::DataLength)) 
   48 bool appendToSection(SPC_ARG Uint32& firstSegmentIVal, 
const Uint32* src, Uint32 len);
 
   50 bool dupSection(SPC_ARG Uint32& copyFirstIVal, Uint32 srcFirstIVal);
 
   52 bool writeToSection(Uint32 firstSegmentIVal, Uint32 
offset, 
const Uint32* src, Uint32 len);
 
   55 void releaseSection(SPC_ARG Uint32 firstSegmentIVal);