Replies: 3 comments
-
Are you calling |
Beta Was this translation helpful? Give feedback.
-
I'm using src/tools/sample/sample.c |
Beta Was this translation helpful? Give feedback.
-
I have probably figured out what causes it. In datapath_kqueue.c's CxPlatSocketContextUninitialize(),
does not trigger an event in CxPlatDataPathRunEC()'s kevent() with FreeBSD. I instead used pipe() and it seems to be working now but need to carefully check if it doesn't affect others. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to port msquic to FreeBSD and found a weird behavior.
The programs build but ListenerClose() doesn't return and blocks forever for the following reason:
This doesn't basically work and I wonder if it is OK with MacOS.
I could fix this by using pipe() and investigate more but does ListenerClose() really work with MacOS?
Fundamentally, it is better to 'add an event and block' in the same thread but you will need to do something if you want to do in different threads.
See more details about what I want to say here: https://stackoverflow.com/questions/64245246/how-to-add-a-kevent-to-a-kqueuewhile-kevent-is-locked
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions