You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
CMakeLists.txt Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
minimal-secure-streams-threads.c Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README.md

lws minimal secure streams threads

This application creates a thread and calls lws_cancel_service() at 10Hz.

It creates a Secure Stream and checks that it is getting the LWSSSCS_EVENT_WAIT_CANCELLED state for each lws_cancel_service().

It also demonstrates how to protect a shared data area between the thread(s) and the lws event loop thread to put data there that describes what the thread wants the service loop to do.

It exits after 3s with a 0 return code if the SS saw the expected amount of messages.

build

 $ cmake . && make

usage

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15