| Age | Commit message (Collapse) | Author |
|
|
|
time/date from a struct tm.
|
|
|
|
Changed API in c11/print.h (not officially part of STC as it is C11).
|
|
|
|
Reverted to just use Sleep on win32 - same effect.
|
|
|
|
Fixed cco_stop() when in state 0.
Renamed cco_timer_with(msec) => cco_timer_from(msec)
Renamed cco_sem_with(val) => cco_sem_from(val)
|
|
|
|
cco_yield_coro().
|
|
|
|
Removed i_expandby in cmap. Always expand by 2 i.e 2^n buckets..
|
|
|
|
|
|
|
|
- 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.
|
|
add `cco` macro, block style coroutine definition
|
|
|
|
|
|
|
|
i_implement or i_extern (includes utf8code.c) to implement non-inline functions (or link with libstc).
|
|
|
|
|
|
the full match group (0).
|
|
|
|
|
|
|
|
|
|
c_getcon(self) => c_extend(self).
|
|
cdeq.
|
|
harmonized. Docs update/improved.
|
|
&& cco_end()
|
|
stc/algo/raii.h and included by stc/calgo.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no cleanup is needed.
|
|
|
|
|
|
|
|
|
|
|
|
cco_await_while(cond).
|
|
|
|
|
|
|