0.6
: Selecting on connection
#65
-
I'm porting my use case to Specifically, I am using Currently, I kick the VCPU out of With the new state machine, I was thinking about having one thread block on the connection and kicking the VCPU out of Having had a look at the example, I am not sure how to do this, though. Whenever calling What is the way to go here? Should I implement |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Apologies for lack of documentation in For context, the 0.6 state machine implementation was developed in response to the various needs + challenges discussed in #56. There's been a lot of churn in the API throughout development, and as such, I avoided writing documentation until the final API began to crystalize. The current API is pretty much what I expect the final 0.6 API to look like, modulo some minor tweaks I've got staged locally. Honestly, I've just been dragging my feet on sitting down and polishing things up - sorry 😅 Until those docs are written, the best way to understand how to use the state machine API would be by reading through #56, and then taking a look at https://github.com/betrusted-io/xous-core/blob/main/kernel/src/debug/gdb_server.rs, which shows off how to use the state machine API at the bare metal, with a custom Oh, and of course, make sure to look at the in-tree https://github.com/daniel5151/gdbstub/blob/dev/0.6/examples/armv4t/main.rs As for the specifics of your particular Connection implementation + integration, I'm not sure how much help I can be, as it'll entirely depend on the kind of project architecture you're working in. The idea behind the state machine API is that
I know that this has all been a bit "handwavey", and if it's not enough to go on, I might actually recommend holding off on upgrading to Best of luck, and let me know if you have any more questions / API suggestions! |
Beta Was this translation helpful? Give feedback.
Apologies for lack of documentation in
dev/0.6
!For context, the 0.6 state machine implementation was developed in response to the various needs + challenges discussed in #56. There's been a lot of churn in the API throughout development, and as such, I avoided writing documentation until the final API began to crystalize. The current API is pretty much what I expect the final 0.6 API to look like, modulo some minor tweaks I've got staged locally. Honestly, I've just been dragging my feet on sitting down and polishing things up - sorry 😅
Until those docs are written, the best way to understand how to use the state machine API would be by reading through #56, and then taking a look at http…