~yeban/libmemcached/todo-hosts.c-2

« back to all changes in this revision

Viewing changes to clients/ms_thread.c

  • Committer: Brian Aker
  • Date: 2011-03-17 21:45:08 UTC
  • Revision ID: brian@tangent.org-20110317214508-ogufz6pusakvcch0
Merge in updates to make sure exit/return is done properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
 *
147
147
 * @param cpu, cpu index
148
148
 *
149
 
 * @return if success, return 0, else return -1
 
149
 * @return if success, return EXIT_SUCCESS, else return -1
150
150
 */
151
151
static uint32_t ms_set_thread_cpu_affinity(uint32_t cpu)
152
152
{
175
175
 *
176
176
 * @param thread_ctx, pointer of the thread context structure
177
177
 *
178
 
 * @return if success, return 0, else return -1
 
178
 * @return if success, return EXIT_SUCCESS, else return -1
179
179
 */
180
180
static int ms_setup_thread(ms_thread_ctx_t *thread_ctx)
181
181
{
231
231
    }
232
232
  }
233
233
 
234
 
  return 0;
 
234
  return EXIT_SUCCESS;
235
235
} /* ms_setup_thread */
236
236
 
237
237