Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.17.16 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.

Signature. 

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
Sign Up Login You must be logged in to post a comment.