Skip to content

Commit

Permalink
vici: Refactor socket to clean up locking
Browse files Browse the repository at this point in the history
Uses separate locks for socket read and write operations. While holding the
socket reader lock, a different thread can still claim the socket write lock.
This allows to asynchronously send event messages while holding the read
lock.
  • Loading branch information
martinwilli committed May 7, 2014
1 parent 9bfa397 commit e567675
Showing 1 changed file with 233 additions and 87 deletions.

0 comments on commit e567675

Please sign in to comment.