Merge r11462:11485 from jcorgan/omni into trunk.
[debian/gnuradio] / gnuradio-core / src / lib / io / gr_udp_source.h
index afc41a45a23348a822e57aa0e70de02ff8b8afc6..61d719e4da88e86be806fa98357facace22124ea 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2007,2008 Free Software Foundation, Inc.
+ * Copyright 2007,2008,2009 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -24,7 +24,6 @@
 #define INCLUDED_GR_UDP_SOURCE_H
 
 #include <gr_sync_block.h>
-#include <gnuradio/omnithread.h>
 #if defined(HAVE_SOCKET)
 #include <sys/socket.h>
 #include <arpa/inet.h>
@@ -36,6 +35,8 @@
 #include <netinet/in.h>
 #endif
 
+#include <gruel/thread.h>
+
 class gr_udp_source;
 typedef boost::shared_ptr<gr_udp_source> gr_udp_source_sptr;
 
@@ -63,7 +64,7 @@ class gr_udp_source : public gr_sync_block
  private:
   size_t       d_itemsize;
   bool         d_updated;
-  omni_mutex   d_mutex;
+  gruel::mutex d_mutex;
 
   int            d_payload_size;  // maximum transmission unit (packet length)
   int            d_socket;        // handle to socket