Releases: RoseLeBlood/MiniThread
Version 2.25.0
Add classes for network programming see mn::net. (net/mn_socket.hpp) they contains a asy to use network socket wrapper for lwip, IPv4 and IPv6 support. Currently only dgram_socket_ip{4,6} and stream_socket_ip{4,6} support, raw socket are follow in version 2.30, with class for wifi AP and Wifi STA support
Using:
- move miniThread-2.25.0tar.gz to your opt path - for examle '~/.local/opt/miniThread/' or '/opt/miniThread/'
- add "lib_deps = {path-to-opt}/miniThread-2.25.0tar.gz" to your platformio.ini
Example
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = espidf
lib_deps = {path-to-opt}/miniThread-2.25.0.tar.gz
Version 2.0.1 - pre Compiled
This is a pre Compiled version as library
Stable release 1.9.5-1.beta2
Changelog
Version 1.9.5 Oktober 2020: (unstable 2.0beta)
-
update error codes
-
merge config_preview with config and error_preview with error
-
add shared, timed and the ringbuffer to main version
-
remove old system locks and add new lock system - old nclude file
-
add new in code example and update the doxygen bootstra output style (not online)
-
for the future version add prototypes: (Not for produtions use!!)
- free_list_memory pool = basic_free_list_mempool
- Shared Object = basic_shared_object
- Ringbuffer = basic_circular_buffer
- Add timed lock type = basic_timed_lock
-
Add class to extends the basic_convar_task with a message queue support - basic_message_task
- Add new config item, to handle the maximal messages in the message queue (MN_THREAD_CONFIG_MSGTASK_MAX_MESSAGES)
- For message queue support must be conditional variable support marked as enable
-
Add new defines:
- in mn_foreign_task.hpp:
- FT_IDLE_TASK (foreign_task::get_idle_task())
- FT_IDLE_TASK_ON(CPUID foreign_task::get_idle_task(CPUID)
- in mn_config.hpp:
- MN_THREAD_CONFIG_MINIMAL_STACK_SIZE set the default minimal stack size for a task
- in mn_foreign_task.hpp:
-
add in basic_task get_state() to get the current state and static function get_tasks() to get the number of tasks
-
remove create and destroy from all mutex and semaphore objects and add exceptins handling
-
rename create and on_create to start and on_start
-
add to the basic_task: join(), wait() and get_self() functions - basic_task remove abstract
-
remove the m_contextMutext2 LockObject
-
add a eventgroup wrapper
-
rename basic_thread to basic_task and the other threads to task - with error codes and
rename on_thread to on_task -
add in confg:
- MN_THREAD_CONFIG_CORE_MAX (portNUM_PROCESSORS - 1)
- add prority enum to task
-
rename mn_base.hpp to miniThread.hpp
-
remove bugs and errors
-
Strip semaphore classes
-
add task_utils class for notify
-
add single and multi threaded worcking queues (basic_work_queue_single & basic_work_queue_multi)
(TODO Optional add a Workqueues ) and add configand error defines, with doku -
remove bugs and errors
-
This is the preview version of 2.0.0
1.90 (pre 2.0.0beta)
Version 1.9.0 September 2020: (stable 2.0beta)
- add a eventgroup wrapper
- rename basic_thread to basic_task and the other threads to task - with error codes and
rename on_thread to on_task - add in confg:
- MN_THREAD_CONFIG_CORE_MAX (portNUM_PROCESSORS - 1)
- add prority enum to task
- rename mn_base.hpp to miniThread.hpp
- remove bugs and errors
- Strip semaphore classes
- add task_utils class for notify
And more see ChangeLog.md
Version 1.51 stable
update docu