Commit Graph

5 Commits

Author SHA1 Message Date
Armando Montanez
5f10ff81c5 pw_thread: Add log level configs
Adds log level configs to all pw_thread modules.

Change-Id: Ifb9468e4a8a0593c8fcafd770bc23be82f14bb2b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/57162
Commit-Queue: Armando Montanez <amontanez@google.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
2021-08-14 00:00:53 +00:00
Armando Montanez
5d08f06d39 pw_thread_threadx: Keep walking tasks on error
Changes behavior of the thread iterator to continue iteration over all
threads when an error is encountered.

Change-Id: I6ef8a0565165c0720f2c47d6982ff0031e33757f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/53661
Commit-Queue: Armando Montanez <amontanez@google.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
2021-07-22 17:32:05 +00:00
Armando Montanez
fec572b92d pw_thread_threadx: Add basic thread snapshotting
Adds an optional library for capturing ThreadX thread state in
proto snapshots.

Change-Id: I47dbc5a57faf3d4411255ea83f04f17bf0a4dc46
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/51405
Commit-Queue: Rob Mohr <mohrr@google.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
2021-06-30 22:59:41 +00:00
Ewout van Bekkum
f4da489b23 pw_thread_threadx: Enable pw:🧵:Thread for ThreadX
Change-Id: Ied43a085786a60d7b1a0681ab51c8d00a0eb0319
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40381
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-04-13 00:00:30 +00:00
Ewout van Bekkum
fe5b4a7522 pw_thread_threadx: adds yield, id, and sleep backends
Adds the ThreadX backend for pw_thread's yield, sleep, and id.

Change-Id: I3aba539632b9d4dbc90b2d1498365213dd44e7cf
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/31541
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-02-03 10:01:59 +00:00