Just an update.
On a separate branch, after a while, I started playing with Nil again, I think it is pretty interesting.
So far:
- Now Nil is able of full threading: chThdCreate(), chThdExit() and chThdWait().
- It is no more mandatory to declare threads in a table (it is still available as an option).
- Improved events with chEvtWaitAllTimeout().
It could also support:
- Synchronous messages.
- The full events source/listener mechanism (this could allow for an unified HAL OSAL for both RT and NIL).
Code size is the same when new features are not used, overall features are much closer to RT.
Of course RT can do a lot of other things that Nil will never cover, like: dynamic priorities, virtual timers, priority inheritance, real mutexes, condition variables, dynamic threads, advanced debugging, registry, statistics, tracing, high resolution, time measurement etc.
Giovanni
[INFO] Nil growing (not in size)
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
-
- Posts: 77
- Joined: Sat Mar 19, 2016 8:07 pm
- Been thanked: 17 times
Re: [INFO] Nil growing (not in size)
That is good news!
Thanks for working on NIL, as NIL+HAL is what I use most time.
This is something I'd be interested in. The reduced event capabilities of NIL have sometimes limited me and prevented a more clean design.
Will the full events source/listener mechanism be possible with just static memory allocation?
Thanks for working on NIL, as NIL+HAL is what I use most time.
Giovanni wrote:- The full events source/listener mechanism (this could allow for an unified HAL OSAL for both RT and NIL).
This is something I'd be interested in. The reduced event capabilities of NIL have sometimes limited me and prevented a more clean design.
Will the full events source/listener mechanism be possible with just static memory allocation?
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 16 guests