Custom application - Multithreading

Hello,
I was searching for information in Docs, but nothing found.
Whether OpenWrt supports multithreating in custom applications?
Can I listen on specified TCP port and (in parallel) send large amount of data?

Firmware Version OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d
Kernel Version 5.4.154

Thanks!

libpthread is the multithreading library used in C. I assume it's available on all targets: https://downloads.openwrt.org/releases/21.02.1/targets/x86/64/packages/

The C runtime used by OpenWrt (musl libc) implements complete support for POSIX threads.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.