~mm-yuhu/gearmand/server-funcs

« back to all changes in this revision

Viewing changes to libgearman-server/gearmand.h

  • Committer: Brian Aker
  • Date: 2010-02-11 00:09:22 UTC
  • mfrom: (319.1.2 gearmand-newtrunk)
  • Revision ID: brian@gaz-20100211000922-o1f10hm9zf57leeg
Merging

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
GEARMAN_API
176
176
void gearmand_wakeup(gearmand_st *gearmand, gearmand_wakeup_t wakeup);
177
177
 
 
178
/**
 
179
 * Sets the round-robin mode on the server object. RR will distribute work
 
180
 * fairly among every function assigned to a worker, instead of draining
 
181
 * each function before moving on to the next.
 
182
 * @param gearmand Server instance previously initialized
 
183
 * @param bool true=round robin is used, false=round robin is not used
 
184
 */
 
185
GEARMAN_API
 
186
void gearmand_set_round_robin(gearmand_st *gearmand, bool round_robin);
 
187
 
178
188
/** @} */
179
189
 
180
190
#ifdef __cplusplus