discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multithreading in GR blocks


From: Moses Browne Mwakyanjala
Subject: Multithreading in GR blocks
Date: Mon, 13 Apr 2020 18:54:45 +0200

Hello everyone,
I have created a TCP/IP block by adapting the ZMQ message pub block. Both blocks make use of boost multithreading. The TCP/IP block is used by a standalone C++ program. To run the gnuradio topblock, the C++ program calls tb->start() function. To stop the topblock, the functions tb->stop() and tb->wait() are called.However, the program "hangs" when tb->stop() is called. This suggests there is something wrong with the way I use boost multithreading. 
All help is appreciated.

Regards,
Moses. 

Attachment: TCPServer.h
Description: Text Data

Attachment: TCPServer.cc
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]