Commit Graph

14 Commits

Author SHA1 Message Date
Francis Lalonde 0070f26d6d Applied format 2019-04-09 07:55:15 -04:00
Francis Lalonde 23dc724a4b Ergonomize listeners 2019-04-08 22:49:39 -04:00
Francis Lalonde 5c5ec504f5 New single thread scheduler 2019-04-07 23:42:34 -04:00
Francis Lalonde 7593eea5a0 Merge branch 'feature/observers' of github.com:fralalonde/dipstick into feature/observers 2019-04-04 22:46:51 -04:00
Francis Lalonde 8c764d0d71 WIP - Single thread scheduler 2019-03-17 09:34:42 -04:00
Francis Lalonde 22a7e47c2c Abandon Observer struct 2019-03-11 14:28:55 -04:00
Francis Lalonde 90626748ef Abandon Observer struct 2019-03-11 14:22:55 -04:00
Francis Lalonde bb2780e0ce Added OnFlush & Gauge Observers 2019-03-08 16:59:51 -05:00
Michal Turek 210b37f5fb #42 Minor improvements.
- Use `MetricValue` instead of `isize`.
- Cancel handle in example.
- Configurable thread name.
2019-03-07 15:23:23 -05:00
Francis Lalonde 3dbe61e7fa
Merge pull request #34 from fralalonde/gagaga 2019-01-08 10:25:48 -05:00
Michal Turek e2ed2e6712 Name all threads spawned by dipstick.
- Well behaved code should always name all spawned threads. It's to simplify debugging (`pstree -t PID`), the names are written to logs etc.
- `.unwrap()` may cause panic which is bad, but the same one was already in the original `thread::spawn()`. Fix would require API change which is out of scope of this update.
- Examples weren't touched to make them short and simple.
2019-01-07 07:57:51 +01:00
Francis Lalonde 963dfc0fd2 Level Log Target 2018-12-31 17:03:34 -05:00
Francis Lalonde 969f0ed66c Split Name and Namespace to separate module 2018-10-03 14:01:53 -04:00
Francis Lalonde 35c90336b7 Move to subs, break core 2018-09-19 14:27:55 -04:00