17 #include <kernel_types.h>
18 #include <TransporterDefinitions.hpp>
31 extern Uint32 receiverThreadId;
34 void add_thr_map(Uint32
block, Uint32 instance, Uint32 thr_no);
35 void add_main_thr_map();
36 void add_lqh_worker_thr_map(Uint32
block, Uint32 instance);
37 void add_extra_worker_thr_map(Uint32
block, Uint32 instance);
38 void finalize_thr_map();
40 void sendlocal(Uint32
self,
const struct SignalHeader *s,
41 const Uint32 *data,
const Uint32 secPtr[3]);
42 void sendprioa(Uint32
self,
const struct SignalHeader *s,
43 const Uint32 *data,
const Uint32 secPtr[3]);
44 void senddelay(Uint32 thr_no,
const struct SignalHeader*, Uint32 delay);
45 void mt_execSTOP_FOR_CRASH();
47 SendStatus mt_send_remote(Uint32
self,
const SignalHeader *sh, Uint8 prio,
48 const Uint32 *data, NodeId nodeId,
50 SendStatus mt_send_remote(Uint32
self,
const SignalHeader *sh, Uint8 prio,
51 const Uint32 *data, NodeId nodeId,
58 void mt_section_lock();
59 void mt_section_unlock();
64 bool NdbIsMultiThreaded();
74 Uint32 mt_get_thread_references_for_blocks(
const Uint32 blocks[],
76 Uint32 dst[], Uint32 len);