Skip to content
Commit c626e3b9 authored by eta's avatar eta
Browse files

Add binary protocol deserialization code; make stuff more thread-safe

- We can now deserialize binary protocol messages! Yay!
  - However, we still need to get some protobuf stuff going to decode the actual
    user messages, because of course we do.
  - Also our dependencies increased, although probably not because the extra
    stuff might have been in our dependency tree anyways.
- You could try and do connection stuff on the main thread and data-race with
  the websocket handling thread. Now, that's somewhat less likely.
  - We actually take a lock when doing things.
  - The hope is that user code will either use our lock-taking functions, or
    take the lock themselves.
    - We probably need to write user-facing accessors that check the lock has
      been taken before doing their thing.
parent 4b8d8833
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment