summaryrefslogtreecommitdiffhomepage
path: root/docs/ccommon_api.md
AgeCommit message (Collapse)Author
2023-07-23Updated docs.tylov
2023-07-21Renamed crange_make(...) => crange_init(...), deprecated crange_make().tylov
2023-07-21Removed c_foreach_rv() - only worked for cvec, so not general.tylov
2023-07-21NB! Changed some coroutine API for consistency/simplicity: Added full task ↵tylov
support.
2023-07-21Renamed badly abbreviated names in crand.h.tylov
Moved coroutine.h from algo subfolder to stc. Updated coroutine.h and docs.
2023-07-20Added Task-object to coroutines and true stackless execution.tylov
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-07-13Moved c_defer() macro from raii.h to ccommon.h. Some changes in cspan.tylov
2023-07-12Changed docs and examples to use i_key* template parameters instead of ↵tylov
i_val* for all non-maps. Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert().
2023-07-10Renamed input enum flags for cregex functions.tylov
2023-07-10Reverted from crange_init() to crange_make() again. Added to changelog for v4.3tylov
2023-07-04Removed cco_switch; won't work without state.Tyge Løvset
2023-07-02Update in coroutine API. cco_yield, cco_await, cco_await_on, cco_block_on ↵Tyge Løvset
has changed. cco_final: renamed => cco_cleanup: Reverted i_retain template param back to => i_more.
2023-06-20Renamed `i_more` => `i_retain` (avoids undef of template parameters on next ↵Tyge Løvset
STC container inclusion).
2023-06-13Added cco_closue(Ret, Closure) to define coroutine closure.Tyge Løvset
Added back cco_await_on(child) calls.
2023-06-11Added priv/linkage.h and renamed priv/template2.h => priv/template_undef.h.Tyge Løvset
Make all examples c++ compatible, except those using cspan.h Removed: crange_obj() Renamed: crange_make() => crange_init() Renamed: cspan_make() => cspan_init() Renamed: cstr_NULL => cstr_null Renamed: csview_NULL => csview_null
2023-06-08More small adjustments.Tyge Lovset
2023-06-07cco: Minor internal cleanup + added cco_timer_elapsed().Tyge Løvset
2023-06-06Fixed some logic in coroutines.Tyge Løvset
Changed API in c11/print.h (not officially part of STC as it is C11).
2023-06-06Warning fixes and docs update.Tyge Løvset
2023-06-06Switched to double for times in cco_timer and cco_time, etc.Tyge Løvset
Reverted to just use Sleep on win32 - same effect.
2023-06-05Updated timers and time functions to microseconds (from milli).Tyge Løvset
2023-06-01Changed API for cco_timer and cco_sem.Tyge Løvset
2023-05-31Simplified coroutine API. Removed unneeded cco_await_coro() and ↵Tyge Løvset
cco_yield_coro().
2023-05-24coroutine.h:Tyge Løvset
- Renamed Liigo's coroutine macro cco(x) => cco_routine(x). - Removed cco_begin(x), cco_end() macros. Replaced by cco_routine(x). - Replaced csleep_ms() with csleep_us(), using select() which is portable. - Updated all coroutine examples.
2023-05-23Some house holding cleanup.Tyge Løvset
2023-05-23Updated docs to reflect changes in cstr linking shared.Tyge Lovset
2023-05-20Rename c_make() macro to c_init(). c_make still available, but deprecated.Tyge Løvset
2023-05-19Added container equality function to docs _eq(c1, c2).Tyge Lovset
2023-05-18Huge update: cqueue and cdeq completely rewritten. cvec and cdeq API ↵Tyge Lovset
harmonized. Docs update/improved.
2023-05-09Renaming.Tyge Lovset
2023-05-09reverted cco_await_done => cco_await_at.Tyge Lovset
2023-05-08coroutine cco_await_* and cco_yield_* changes.Tyge Løvset
2023-05-08Final coroutine API updates.Tyge Løvset
2023-05-08More coroutine updates.Tyge Løvset
2023-05-08Updated API for timer and semaphores in coroutine.h (ctimer, csem)Tyge Løvset
2023-05-04Updates in coroutines.h: No longer *required* with cco_final:, but only when ↵Tyge Løvset
no cleanup is needed.
2023-05-02Changed cco_with_..() API again, final.Tyge Løvset
2023-05-02Add cco_await_void().Tyge Løvset
2023-05-02Removed cco_alive(), was same as !cco_done()Tyge Løvset
2023-05-02Improved coroutine.h, added new coro examples.Tyge Løvset
2023-05-01Replaced cco_yield(corocall, ctx, retval) with cco_await(cond) and ↵Tyge Løvset
cco_await_while(cond).
2023-04-09Added some online examples.Tyge Lovset
2023-04-09Update ccommon_api.mdTyge Løvset
2023-04-09Fixed coroutine docs.Tyge Lovset
2023-04-09Final commit before 4.2 release?Tyge Lovset
2023-04-08More docs updates, and a change in stc/extend.h.Tyge Lovset
2023-04-07More docs updating.Tyge Lovset
2023-04-07Massive documentation update/improvements.Tyge Lovset
Reduced benchmarks/plotbench repetition/sizes.
2023-04-03Renamed c_flt_n() => c_flt_getcount(), and c_flt_count() => c_flt_counter().Tyge Lovset