Merged changes from svn repository trunk.
[debian/gnuradio] / gnuradio-core / src / lib / runtime / gr_block_detail.h
index 9d63586024fd57030557951a2286476b4c1a2687..c5787a5ad0fd56c72656be3ed69c5406369df227 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2009 Free Software Foundation, Inc.
  *
  * This file is part of GNU Radio
  *
@@ -73,19 +73,23 @@ class gr_block_detail {
    */
   void consume_each (int how_many_items);
 
+  /*!
+   * \brief Tell the scheduler \p how_many_items were produced on output stream \p which_output.
+   */
+  void produce (int which_output, int how_many_items);
+
   /*!
    * \brief Tell the scheduler \p how_many_items were produced on each output stream.
    */
   void produce_each (int how_many_items);
 
-
   /*!
    * Accept msg, place in queue, arrange for thread to be awakened if it's not already.
    */
   void _post(pmt::pmt_t msg);
 
-
   gr_tpb_detail                             d_tpb;     // used by thread-per-block scheduler
+  int                               d_produce_or;
 
   // ----------------------------------------------------------------------------