Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Ndb_cluster_connection::set_num_recv_threads()

Description.  Set the number of receiver threads bound to the CPU (or CPUs) determined using set_recv_thread_cpu() and with the threshold set by set_recv_thread_activation_threshold().

This method should be invoked before trying to connect to any other nodes.


int set_num_recv_threads
      Uint32 num_recv_threads

Parameters.  The number of receive threads. The only supported value is 1.

Return value.  -1 indicates an error; any other value indicates success.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.