From: John David Duncan Date: October 3 2011 4:23am Subject: bzr push into mysql-5.5-cluster branch (john.duncan:3591 to 3592) List-Archive: http://lists.mysql.com/commits/141267 Message-Id: <201110030423.p934Nesa000894@acsmt356.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3592 John David Duncan 2011-10-02 thread main functions should return, rather than call pthread_exit() modified: storage/ndb/memcache/src/schedulers/S_sched.cc 3591 John David Duncan 2011-10-02 A few more minor fixes for portability & warnings modified: storage/ndb/memcache/include/TabSeparatedValues.h storage/ndb/memcache/src/ndb_configuration.cc storage/ndb/memcache/src/workitem.c === modified file 'storage/ndb/memcache/src/schedulers/S_sched.cc' --- a/storage/ndb/memcache/src/schedulers/S_sched.cc 2011-10-02 02:58:36 +0000 +++ b/storage/ndb/memcache/src/schedulers/S_sched.cc 2011-10-03 04:22:18 +0000 @@ -766,7 +766,7 @@ void * S::Connection::run_ndb_send_threa if(shutting_down) { sentqueue->abort(); pollgroup->wakeup(); - pthread_exit(0); + return 0; } if(timeout_msec < timeout_max) { @@ -871,7 +871,7 @@ void * S::Connection::run_ndb_poll_threa while(1) { if(in_flight == 0 && sentqueue->is_aborted()) { - pthread_exit(0); + return 0; } int n_added = 0; No bundle (reason: useless for push emails).