hello,

I am making RDP available on the web using JNI and FreeRDP like the Android 
version.

In Android_client,

If look at the Android_freerdp_run function in Android_freerdp.c,I can see that 
there is an Android_check_handle function in the main loop.

I know the structure and use of it.

However, when I call events such as keyboard and mouse using jni, I call 
something like 'freeerdp_client_send_button_event' directly within the JNI 
function without using a queue.

In short, event calls -> insert into quque -> main loop checks the queue and 
does not go through the logic of event processing.

Is there any problem if I call the event immediately without using the main 
loop?

Because I use JNI, the stability of the freeRDP library is very important (the 
server is forced to shut down in case of a crash).

Can you tell me why use this method?
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to