i just wana ask how you implement messaging in your OS.how you communicate within processes in kernel .what technique you use for interprocess communication in user mode.
Is it ok to use global variables for signalling in kernel.
messaging techniques
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:messaging techniques
I use store and forward message routing in my kernel - well the kernel in itself is the message router. some features don't work yet - like being abl to say: I want a message from process X and from no one else - Have to debug it.
Well - my approach includes lots of allocating and freeing memory in small pieces - therefore I've written two extra functions for it: msg_alloc and msg_dealloc, which serve my needs very well for they manage a dedicated heap - and the messages are attached to the receiving process' message queue and remain there til it fetches them.
HtH
Well - my approach includes lots of allocating and freeing memory in small pieces - therefore I've written two extra functions for it: msg_alloc and msg_dealloc, which serve my needs very well for they manage a dedicated heap - and the messages are attached to the receiving process' message queue and remain there til it fetches them.
HtH
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image