Hi,
I want to make sth. like a demux.
When data comes..i need to connect to the right destination thread, send the data and disconnect again.
otherwise when I wouldnt disconnect...next time the emitting of the data would cause that a wrong destination would receive data.
Is it ok to do this?
connect(.....);
emit senmydata(data);
disconnect(.....);
The receiver of the data is in another thread.
Bookmarks