[Chapel Merge] [GSOC] Qthread Select

Branch: refs/heads/main
Revision: 1861b11
Author: mppf
Log Message:

Merge pull request #18019 from king-11/qt_sys_calls

[GSOC] Qthread Select

[PR by @king-11 - reviewed by @krishnadey30 and @mppf; tested,merged by @mppf]

conditional compilation of qt_select for providing in a method to keep original task unblocked when observing for IO.

Prior to qt_select call select and block for 64ms which allows instantaneous connections to be established
without timing out.

Signed-off-by: Lakshya Singh lakshay.singh1108@gmail.com

Modified Files:
M runtime/src/qio/sys.c

Compare: https://github.com/chapel-lang/chapel/compare/2bf652fc09a4...1861b11a7d24