Introducing use counters for port and app. Thread safe port write.
Use counter helps to simplify logic around port and application free. Port 'post' function introduced to simplify post execution of particular function to original port engine's thread. Write message queue is protected by mutex which makes port write operation thread safe.
This commit is contained in:
780
src/nxt_router.c
780
src/nxt_router.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user