]> mj.ucw.cz Git - libucw.git/blobdiff - lib/workqueue.h
Killed struct work.returned, it was a silly interface.
[libucw.git] / lib / workqueue.h
index c16904abc2c694b0d53cb56c408363befc5bbd23..e8c762b21ff0187252a69722f231d6ebde1bf0ed 100644 (file)
@@ -66,7 +66,6 @@ struct work {                                 // A single request
   cnode n;
   struct work_queue *reply_to;                 // Where to queue the request when it's finished
   void (*go)(struct worker_thread *t, struct work *w);         // Called inside the worker thread
-  void (*returned)(struct work_queue *q, struct work *w);      // Called when returned back, NULL if work_wait should return
 };
 
 void worker_pool_init(struct worker_pool *p);