CSP without threading

105 views
Skip to first unread message

ska...@gmail.com

unread,
Jan 11, 2015, 11:31:21 AM1/11/15
to cubesat-spa...@googlegroups.com
Hi! I would like to run CSP on a microcontroller with a simple task scheduler. Would it require extensive changes to CSP to be able to run it without threaded/blocking tasks?

Johan Christiansen

unread,
Jan 11, 2015, 3:41:37 PM1/11/15
to cubesat-spa...@googlegroups.com
No it would be quite simple to run from a main loop. The only task in CSP is the router task. And it could easily be split into two functions a router init and router work function that could be called from a main loop scheduler. 

The queues are however much more important to the csp implementation. 



Den 11/01/2015 kl. 17.31 skrev ska...@gmail.com:

Hi! I would like to run CSP on a microcontroller with a simple task scheduler. Would it require extensive changes to CSP to be able to run it without threaded/blocking tasks?

--
You received this message because you are subscribed to the Google Groups "cubesat-space-protocol" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cubesat-space-pro...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ska...@gmail.com

unread,
Jan 12, 2015, 11:37:32 AM1/12/15
to cubesat-spa...@googlegroups.com
Great, thanks. I'll look into it.
Reply all
Reply to author
Forward
0 new messages