Stop Realport thread


Is there any possibility to stop Realport.

I start it with:

After a event i like to use the serial port in another thread.
I miss the RealPortStopServer function?

Can i find out the thread_identify from the “Realport thread” for stop/delete it?


The short answer is no.

The long answer is as follows. In RealPortStartServer there are:
mallocs, queues cretaed, mutexes created, 3 threads created and event flags created. So just finding  thread ID and deleted said threads would still leave you a mess. Unfortunately there is documented function for stopping RealPort.